Fix cbrtl for ldbl-96
[platform/upstream/glibc.git] / ChangeLog
1 2013-08-13  Andreas Schwab  <schwab@suse.de>
2
3         [BZ #15749]
4         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5         of fabs.
6         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7         LDBL_MAX_EXP >= 16384]: Add tests for it.
8
9 2013-08-12  David S. Miller  <davem@davemloft.net>
10
11         * version.h (RELEASE): Set to "development".
12         (VERSION): Set to "2.18.90".
13         * NEWS: Add 2.19 section.
14
15 2013-08-03  David S. Miller  <davem@davemloft.net>
16
17         * po/ko.po: Update Korean translation from translation project.
18
19 2013-08-01  David S. Miller  <davem@davemloft.net>
20
21         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
22         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23         Bilka.
24
25 2013-07-30  David S. Miller  <davem@davemloft.net>
26
27         * po/fr.po: Update French translation from translation project.
28
29 2013-07-28  David S. Miller  <davem@davemloft.net>
30
31         * po/cs.po: Update Czech translation from translation project.
32
33         * po/sv.po: Update Swedish translation from translation project.
34
35 2013-07-27  David S. Miller  <davem@davemloft.net>
36
37         * po/eo.po: Update Esperanto translation from translation project.
38
39         * po/vi.po: Update Vietnamese translation from translation project.
40
41         * po/de.po: Update German translation from translation project.
42
43 2013-07-26  David S. Miller  <davem@davemloft.net>
44
45         * po/bg.po: Update Bulgarian translation from translation project.
46
47         * po/nl.po: Update Dutch translation from translation project.
48         * po/pl.po: Update Polish translation from translation project.
49         * po/ru.po: Update Russian translation from translation project.
50
51 2013-07-24  David S. Miller  <davem@davemloft.net>
52
53         * po/libc.pot: Update.
54
55 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56
57         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
58         variable page size.
59         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
60         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
61         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
62
63 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64
65         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
66
67 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
68             Andreas Schwab  <schwab@suse.de>
69             Roland McGrath  <roland@hack.frob.com>
70             Joseph Myers  <joseph@codesourcery.com>
71             Carlos O'Donell  <carlos@redhat.com>
72
73         [BZ #15755]
74         * config.h.in: Define HAVE_PT_CHOWN.
75         * config.make.in (build-pt-chown): New variable.
76         * configure.in (--enable-pt_chown): New configure option.
77         * configure: Regenerate.
78         * login/Makefile: Include Makeconfig.  Build pt_chown only if
79         build-pt-chown is enabled.
80         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
81         pt_chown to fix pty ownership.
82         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
83         CLOSE_ALL_FDS.
84         * manual/install.texi (Configuring and compiling): Mention
85         --enable-pt_chown. Add @findex for grantpt.
86         * INSTALL: Regenerate.
87
88 2013-07-20  David S. Miller  <davem@davemloft.net>
89
90         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
91         difference between 32-bit and 64-bit.
92
93 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
94
95         [BZ #15711]
96         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
97         Avoid system header dependency with -ffreestanding.
98         ($(objpfx)bits/syscall%d): Likewise.
99
100 2013-07-13  David S. Miller  <davem@davemloft.net>
101
102         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
103         underflows from atanl/atan2l due to bug 15319.
104         (casinh_test_data): Likewise.
105
106 2013-07-07  David S. Miller  <davem@davemloft.net>
107
108         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
109
110 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
111
112         * sysdeps/i386/fpu/libm-test-ulps: Update.
113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
114
115 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
116
117         * configure.in (--enable-lock-elision): Fix message text.
118         * INSTALL: Regenerate.
119         * configure: Regenerate.
120
121 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
122
123         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
124
125 2013-07-03  Andreas Jaeger  <aj@suse.de>
126
127         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
128         define.
129         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
130         (ptrace_peeksiginfo_args): Add.
131         (__ptrace_peeksiginfo_flags): Add.
132         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
133         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
134         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
135
136 2013-07-03  Allan McRae  <allan@archlinux.org>
137
138         * sysdeps/i386/fpu/libm-test-ulps: Update.
139
140 2013-07-02  David S. Miller  <davem@davemloft.net>
141
142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
143
144 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
145
146         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
147
148 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
149
150         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
152
153 2013-07-02  Andi Kleen <ak@linux.intel.com>
154
155         * config.h.in (ENABLE_LOCK_ELISION): Add.
156         * configure.in (--enable-lock-elision): Add option.
157         * manual/install.texi: Document --enable lock elision.
158         * configure: Regenerate
159         * INSTALL: Regenerate.
160
161 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
162
163         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
164         SSE4.2 strcasecmp for libc.a.
165         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
166
167 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
168
169         [BZ #13304]
170         * soft-fp/op-common.h (_FP_FMA): New macro.
171         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
172         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
173         (_FP_MUL_MEAT_1_imm): ... here.
174         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
175         (_FP_MUL_MEAT_1_wide): ... here.
176         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
177         (_FP_MUL_MEAT_1_hard): ... here.
178         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
179         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
180         (_FP_MUL_MEAT_2_wide): ... here.
181         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
182         (_FP_MUL_MEAT_2_wide_3mul): ... here.
183         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
184         (_FP_MUL_MEAT_2_gmp): ... here.
185         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
186         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
187         (_FP_MUL_MEAT_4_wide): ... here.
188         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
189         (_FP_MUL_MEAT_4_gmp): ... here.
190         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
191         (_FP_WFRACBITS_DW_S): Likewise.
192         (_FP_WFRACXBITS_DW_S): Likewise.
193         (_FP_HIGHBIT_DW_S): Likewise.
194         (FP_FMA_S): Likewise.
195         (_FP_FRAC_HIGH_DW_S): Likewise.
196         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
197         (_FP_WFRACBITS_DW_D): Likewise.
198         (_FP_WFRACXBITS_DW_D): Likewise.
199         (_FP_HIGHBIT_DW_D): Likewise.
200         (FP_FMA_D): Likewise.
201         (_FP_FRAC_HIGH_DW_D): Likewise.
202         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
203         (_FP_WFRACBITS_DW_E): Likewise.
204         (_FP_WFRACXBITS_DW_E): Likewise.
205         (_FP_HIGHBIT_DW_E): Likewise.
206         (FP_FMA_E): Likewise.
207         (_FP_FRAC_HIGH_DW_E): Likewise.
208         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
209         (_FP_WFRACBITS_DW_Q): Likewise.
210         (_FP_WFRACXBITS_DW_Q): Likewise.
211         (_FP_HIGHBIT_DW_Q): Likewise.
212         (FP_FMA_Q): Likewise.
213         (_FP_FRAC_HIGH_DW_Q): Likewise.
214         * soft-fp/fmasf4.c: New file.
215         * soft-fp/fmadf4.c: Likewise.
216         * soft-fp/fmatf4.c: Likewise.
217
218 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
219
220         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
221         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
222         Silvermont.
223         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
224         macro.
225         (index_Slow_SSE4_2): Likewise.
226         (index_Prefer_PMINUB_for_stringop): Likewise.
227         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
228         bit_Slow_SSE4_2 is set.
229         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
230         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
231
232 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
233
234         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
235         rtld_global._dl_hwcap2.
236         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
237         POWER8.
238         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
239         POWER8 feature descriptions defined in _dl_hwcap2.
240         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
241         string handling for POWER8 feature bits.
242         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
243         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
244         _dl_powerpc_cap_flags.
245         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
246         * sysdeps/powerpc/rtld-global-offsets.sym
247         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
248         _dl_hwcap2 in the rtld_global_ro structure.
249
250 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
251
252         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
253         hardware capabilities in support of AT_HWCAP2.
254         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
255         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
256         GLRO(dl_hwcap2).
257         (_dl_show_auxv): Add support for calling _dl_procinfo to display
258         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
259         explicitly the unknown a_type display mechanism is used.
260         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
261         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
262         struct member.
263         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
264         to macro prototype for AT_HWCAP2 support.
265         * sysdeps/i386/dl-procinfo.h: Likewise.
266         * sysdeps/s390/dl-procinfo.h: Likewise.
267         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
268         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
269         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
270         return -1 for unknown a_type display fallback.
271         * sysdeps/sparc/dl-procinfo.h: Likewise.
272         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
273         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
274
275 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
276
277         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
278         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
279
280 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
281
282         [BZ #12492]
283         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
284         mprotect making __stack_prot writable.
285
286 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
287             Joseph Myers  <joseph@codesourcery.com>
288
289         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
290         as being properly aligned.
291
292 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
293
294         * dlfcn/modstatic5.c: New file.
295         * dlfcn/tststatic5.c: New file.
296         * dlfcn/Makefile (tests): Add tststatic5.
297         (tests-static): Likewise.
298         (modules-names): Add modstatic5.
299         (tststatic5-ENV): New variable.
300         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
301
302         [BZ #15022]
303         * elf/dl-support.c (_dl_main_map): New variable.
304         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
305         (_dl_nns, _dl_load_adds): Set to 1.
306         (_dl_initial_searchlist): Refer to _dl_main_map.
307         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
308         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
309         call to _dl_get_origin.
310         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
311         around call_map.
312         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
313         * dlfcn/modstatic3.c: New file.
314         * dlfcn/tststatic3.c: New file.
315         * dlfcn/tststatic4.c: New file.
316         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
317         (tests-static): Likewise.
318         (modules-names): Add modstatic3.
319         (tststatic3-ENV, tststatic4-ENV): New variables.
320         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
321         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
322
323 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
324
325         * configure.in (CC): Require GCC version 4.4 or later.
326         * configure: Regenerated.
327         * manual/install.texi (Tools for Compilation): Update GCC version
328         requirement.
329         * INSTALL: Regenerated.
330
331 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
332
333         [BZ #15674]
334         * string/test-memcmp.c (check2): New.
335         (main): Call check2.
336
337         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
338
339 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
340
341         [BZ #15022]
342         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
343         over to...
344         (dl_open_worker) [!SHARED]: ... here.
345
346 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
347
348         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
349
350 2013-06-25  Richard Henderson  <rth@redhat.com>
351
352         * locale/programs/locarchive.c: Include <libc-internal.h>
353
354 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
355
356         * manual/texinfo.tex: Update to version 2013-06-21.17, with
357         trailing whitespace removed.
358
359 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
360
361         [BZ #10283]
362         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
363         * locale/programs/locarchive.c: Include libc-mmap.h.
364         (prepare_address_space): Take two new outputs (the mmap base and len).
365         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
366         values.
367         (create_archive): Declare new mmap base and len values for
368         prepare_address_space, and store the result in ah.
369         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
370         (enlarge_archive): If ah->mmap_base is not NULL, use that and
371         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
372         Declare new mmap base and len values for
373         prepare_address_space, and store the result in new_ah.
374         (open_archive): Declare new mmap base and len values for
375         prepare_address_space, and store the result in ah.
376         (close_archive): If ah->mmap_base is not NULL, use that and
377         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
378         * sysdeps/generic/libc-mmap.h: New file.
379
380 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
381
382         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
383         (ALIGN_UP): Likewise.
384         (PTR_ALIGN_DOWN): Likewise.
385         (PTR_ALIGN_UP): Likewise.
386
387 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
388
389         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
390         entry mapped to PPC_PLATFORM_POWER8.
391         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
392         POWER8.
393         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
394         (_dl_string_platform): Add case for exporting platform position for
395         POWER8.
396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
397         search path to sysdeps/powerpc/powerpc32/power8 directory.
398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
399         search path to sysdeps/powerpc/powerpc64/power8 directory.
400         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
401         power7 directories.
402         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
403         power7 directories.
404
405 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
406
407         * INSTALL: Regenerate.
408
409         * nscd/connections.c (nscd_init): Fix comment.
410
411 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
412
413         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
414
415         [BZ #15667]
416         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
417         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
418
419 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
420
421         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
422         DL_DST_REQ_STATIC.
423         (DL_DST_REQ_STATIC): Remove macro.
424
425 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
426
427         [BZ #7006]
428         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
429         with a shift of 0 bits.
430
431 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
432
433         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
434         $(tststatic-ENV).
435
436 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
437
438         [BZ #15655]
439         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
440
441 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
442
443         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
444         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
445         accepts -fno-tree-loop-distribute-patterns.
446         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
447         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
448         recursive call.
449         * string/memset.c (memset): Likewise.
450         * string/test-memmove.c (simple_memmove): Disable loop transformation
451         to library calls.
452         * string/test-memset.c (simple_memset): Likewise.
453         * benchtests/bench-memmove.c (simple_memmove): Likewise.
454         * benchtests/bench-memset.c (simple_memset): Likewise.
455         * configure: Regenerated.
456
457 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
458
459         * math/test-misc.c (main): Ignore fesetround failure when failures
460         of subsequent rounding tests would be ignored.
461
462         [BZ #15654]
463         * math/fedisblxcpt.c (fedisableexcept): Return 0.
464         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
465         * math/fegetenv.c (__fegetenv): Return 0.
466         * math/fegetexcept.c (fegetexcept): Return 0.
467         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
468         FE_TONEAREST.
469         * math/feholdexcpt.c (feholdexcept): Return 0.
470         * math/fesetenv.c (__fesetenv): Return 0.
471         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
472         argument FE_TONEAREST.
473         * math/feupdateenv.c (__feupdateenv): Return 0.
474         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
475
476 2013-06-18  Roland McGrath  <roland@hack.frob.com>
477
478         * elf/rtld-Rules (rtld-compile-command.S): New variable.
479         (rtld-compile-command.s, rtld-compile-command.c): New variables.
480         ($(objpfx)rtld-%.os rules): Use them.
481
482 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
483
484         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
485         fields.
486
487 2013-06-17  Roland McGrath  <roland@hack.frob.com>
488
489         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
490         length of target pattern, then descending length of dependency pattern.
491         * configure.in (AWK): Require gawk 3.1.2 or newer.
492         * manual/install.texi (Tools for Compilation): Say that we do.
493         * configure: Regenerated.
494
495         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
496         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
497         * scripts/sysd-rules.awk: ... this new script.
498         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
499         than a glob-style pattern.
500
501 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
502
503         * math/test-misc.c (main): Do not treat incorrectly rounded
504         conversions as failure unless ROUNDING_TESTS passes.
505
506 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
507
508         [BZ #15631]
509         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
510         restore exception state around main square root computation, then
511         check for inexactness explicitly.
512
513         * math/libm-test.inc (fma_test_data): Add another test.
514
515 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
516
517         * manual/threads.texi (Non-POSIX Extensions): New document
518         node.  Document pthread_getattr_default_np and
519         pthread_setattr_default_np.
520
521         * Versions.def (libpthread): Add GLIBC_2.18.
522         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
524         Likewise.
525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
526         Likewise.
527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
528         Likewise.
529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
530         Likewise.
531         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
532         Likewise.
533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
534         Likewise.
535         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
536         Likewise.
537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
538         Likewise.
539         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
540         Likewise.
541
542 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
543
544         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
545         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
546
547 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
548             H.J. Lu  <hjl.tools@gmail.com>
549
550         [BZ #15627]
551         * sysdeps/x86_64/rtld-memset.c: Remove file.
552         * sysdeps/x86_64/rtld-memset.S: New file.
553
554 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
555
556         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
557         (test_in_one_mode): Take arguments for whether the rounding mode
558         is supported for each floating-point type.
559         (do_test): Pass new arguments to test_in_one_mode using
560         ROUNDING_TESTS.
561
562 2013-06-13  Roland McGrath  <roland@hack.frob.com>
563
564         * posix/tst-waitid.c (do_test): Distinguish different instances of
565         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
566         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
567         before entering the kernel for waitpid.
568
569 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
570
571         * NEWS: Fix note on clock function precision.  Text by Roland
572         McGrath.
573
574 2013-06-13  Roland McGrath  <roland@hack.frob.com>
575
576         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
577         it into place only when and if the sanity check passes.
578
579 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
580
581         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
582         output for whether conversion result is exact.  Take argument
583         indicating whether type is IBM long double.
584         (round_for_all): Change need_exact field to ibm_ld.
585         * stdlib/tst-strtod-round.c (struct exactness): New type.
586         (struct test): Change bool ld_ok field to struct exactness exact.
587         (TEST): Update all definitions for change to field.
588         (tests): Regenerate array contents.
589         (test_in_one_mode): Take pointer to new field instead of old ld_ok
590         field value.  Check for IBM long double here.
591         (do_test): Update calls to test_in_one_mode.
592
593 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
594
595         [BZ #12515]
596         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
597         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
598
599 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
600
601         [BZ #15605]
602         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
603         generated by the compiler on loop optimizations.
604         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
605         general definitions.
606
607 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
608
609         * math/bug-nextafter.c: Include <math-tests.h>.
610         (main): Only test for exceptions if EXCEPTION_TESTS is true for
611         the relevant type.
612         * math/bug-nexttoward.c: Include <math-tests.h>.
613         (main): Only test for exceptions if EXCEPTION_TESTS is true for
614         the relevant type.
615         * math/test-misc.c: Include <math-tests.h>.
616         (main): Only test for exceptions if EXCEPTION_TESTS is true for
617         the relevant type.
618
619 2013-06-12  Andreas Jaeger  <aj@suse.de>
620
621         * po/ia.po: Update Interlingua translation from translation
622         project.
623
624 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
625
626         * include/fenv.h: Include stdbool.h.
627         (struct rm_ctx): New structure.
628         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
629         Define macro.
630         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
631         (SET_RESTORE_ROUNDF): Likewise.
632         (SET_RESTORE_ROUNDL): Likewise.
633         (SET_RESTORE_ROUND_NOEX): Likewise.
634         (SET_RESTORE_ROUND_NOEXF): Likewise.
635         (SET_RESTORE_ROUND_NOEXL): Likewise.
636         (SET_RESTORE_ROUND_53BIT): Likewise.
637         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
638         (libc_feresetround_noexf_ctx): Likewise.
639         (libc_feresetround_noexl_ctx): Likewise.
640         (libc_feholdsetround_53bit_ctx): Likewise.
641         (libc_feresetround_53bit_ctx): Likewise.
642         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
643         (libc_feholdexcept_setround_sse_ctx): New function.
644         (libc_fesetenv_sse_ctx): Likewise.
645         (libc_feupdateenv_sse_ctx): Likewise.
646         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
647         (libc_feholdexcept_setround_387_ctx): Likewise.
648         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
649         (libc_feholdsetround_387_prec_ctx): Likewise.
650         (libc_feholdsetround_387_ctx): Likewise.
651         (libc_feholdsetround_387_53bit_ctx): Likewise.
652         (libc_feholdsetround_sse_ctx): Likewise.
653         (libc_feresetround_sse_ctx): Likewise.
654         (libc_feresetround_387_ctx): Likewise.
655         (libc_feupdateenv_387_ctx): Likewise.
656         (libc_feholdexcept_setroundf_ctx): Define macro.
657         (libc_fesetenvf_ctx): Likewise.
658         (libc_feupdateenvf_ctx): Likewise.
659         (libc_feholdsetroundf_ctx): Likewise.
660         (libc_feresetroundf_ctx): Likewise.
661         (libc_feholdexcept_setround_ctx): Likewise.
662         (libc_fesetenv_ctx): Likewise.
663         (libc_feupdateenv_ctx): Likewise.
664         (libc_feholdsetround_ctx): Likewise.
665         (libc_feresetround_ctx): Likewise.
666         (libc_feholdexcept_setroundl_ctx): Likewise.
667         (libc_feupdateenvl_ctx): Likewise.
668         (libc_feholdsetroundl_ctx): Likewise.
669         (libc_feresetroundl_ctx): Likewise.
670         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
671         (libc_feresetround_53bit_ctx): Likewise.
672
673 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
674
675         * locale/iso-639.def: Convert to UTF-8.
676
677 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
678
679         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
680         (EXCEPTION_TESTS_double): Likewise.
681         (EXCEPTION_TESTS_long_double): Likewise.
682         (EXCEPTION_TESTS): Likewise.
683         * math/libm-test.inc (test_exceptions): Only test exceptions if
684         EXCEPTION_TESTS (FLOAT).
685
686 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
687
688         * benchtests/Makefile (string-bench): Add strcpy_chk and
689         stpcpy_chk.
690         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
691         * benchtests/bench-stpcpy_chk.c: New file.
692         * benchtests/bench-strcpy_chk-ifunc.c: New file.
693         * benchtests/bench-strcpy_chk.c: New file.
694         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
695         code.
696         (do_test): Likewise.
697
698 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
699
700         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
701         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
702         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
703         with tabs where appropriate.
704         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
705         dl-procinfo.h.
706         [PPC_PLATFORM_PPC440]: Likewise.
707         [PPC_PLATFORM_PPC464]: Likewise.
708         [PPC_PLATFORM_PPC476]: Likewise.
709         (_dl_string_platform): Add support for detecting ppc405, ppc440,
710         ppc464, and ppc476 platform strings merging from ports/
711         dl-procinfo.h.
712
713 2013-06-11  Andreas Schwab  <schwab@suse.de>
714
715         [BZ #14991]
716         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
717         (from_ucs4_idx): Regenerate.
718         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
719         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
720         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
721         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
722         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
723         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
724         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
725         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
726         from FROM_LOOP and TO_LOOP specific macros.
727         (BODY): Handle combining characters.
728         * iconvdata/BIG5HKSCS.irreversible: Update.
729         * iconvdata/BIG5HKSCS.precomposed: New file.
730         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
731         characters.
732         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
733
734 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
735
736         * include/sys/time.h: Fix indentation and add copyright header.
737
738         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
739         (do_test): Likewise.
740         * string/test-memchr.c (do_one_test): Likewise.
741         (do_test): Likewise.
742         * string/test-memcmp.c (do_one_test): Likewise.
743         (do_test): Likewise.
744         * string/test-memcpy.c (do_one_test): Likewise.
745         (do_test): Likewise.
746         * string/test-memmem.c (do_one_test): Likewise.
747         (do_test): Likewise.
748         (do_random_tests): Likewise.
749         * string/test-memmove.c (do_one_test): Likewise.
750         (do_test): Likewise.
751         * string/test-memset.c (do_one_test): Likewise.
752         (do_test): Likewise.
753         * string/test-rawmemchr.c (do_one_test): Likewise.
754         (do_test): Likewise.
755         * string/test-strcasecmp.c (do_one_test): Likewise.
756         (do_test): Likewise.
757         * string/test-strcasestr.c (do_one_test): Likewise.
758         (do_test): Likewise.
759         * string/test-strcat.c (do_one_test): Likewise.
760         (do_test): Likewise.
761         * string/test-strchr.c (do_one_test): Likewise.
762         (do_test): Likewise.
763         * string/test-strcmp.c (do_one_test): Likewise.
764         (do_test): Likewise.
765         * string/test-strcpy.c (do_one_test): Likewise.
766         (do_test): Likewise.
767         * string/test-string.h: Likewise.
768         (test_init): Likewise.
769         * string/test-strlen.c (do_one_test): Likewise.
770         (do_test): Likewise.
771         * string/test-strncasecmp.c (do_one_test): Likewise.
772         (do_test): Likewise.
773         * string/test-strncat.c (do_one_test): Likewise.
774         (do_test): Likewise.
775         * string/test-strncmp.c (do_one_test): Likewise.
776         (do_test_limit): Likewise.
777         (do_test): Likewise.
778         * string/test-strncpy.c (do_one_test): Likewise.
779         (do_test): Likewise.
780         * string/test-strnlen.c (do_one_test): Likewise.
781         (do_test): Likewise.
782         * string/test-strpbrk.c (do_one_test): Likewise.
783         (do_test): Likewise.
784         * string/test-strrchr.c (do_one_test): Likewise.
785         (do_test): Likewise.
786         * string/test-strspn.c (do_one_test): Likewise.
787         (do_test): Likewise.
788         * string/test-strstr.c (do_one_test): Likewise.
789         (do_test): Likewise.
790
791         * benchtests/Makefile (string-bench): Add string benchmarks.
792         * benchtests/bench-bcopy-ifunc.c: New file.
793         * benchtests/bench-bcopy.c: New file.
794         * benchtests/bench-bzero-ifunc.c: New file.
795         * benchtests/bench-bzero.c: New file.
796         * benchtests/bench-memccpy-ifunc.c: New file.
797         * benchtests/bench-memccpy.c: New file.
798         * benchtests/bench-memchr-ifunc.c: New file.
799         * benchtests/bench-memchr.c: New file.
800         * benchtests/bench-memcmp-ifunc.c: New file.
801         * benchtests/bench-memcmp.c: New file.
802         * benchtests/bench-memmem-ifunc.c: New file.
803         * benchtests/bench-memmem.c: New file.
804         * benchtests/bench-memmove-ifunc.c: New file.
805         * benchtests/bench-memmove.c: New file.
806         * benchtests/bench-mempcpy-ifunc.c: New file.
807         * benchtests/bench-mempcpy.c: New file.
808         * benchtests/bench-memset-ifunc.c: New file.
809         * benchtests/bench-memset.c: New file.
810         * benchtests/bench-rawmemchr-ifunc.c: New file.
811         * benchtests/bench-rawmemchr.c: New file.
812         * benchtests/bench-stpcpy-ifunc.c: New file.
813         * benchtests/bench-stpcpy.c: New file.
814         * benchtests/bench-stpncpy-ifunc.c: New file.
815         * benchtests/bench-stpncpy.c: New file.
816         * benchtests/bench-strcasecmp-ifunc.c: New file.
817         * benchtests/bench-strcasecmp.c: New file.
818         * benchtests/bench-strcasestr-ifunc.c: New file.
819         * benchtests/bench-strcasestr.c: New file.
820         * benchtests/bench-strcat-ifunc.c: New file.
821         * benchtests/bench-strcat.c: New file.
822         * benchtests/bench-strchr-ifunc.c: New file.
823         * benchtests/bench-strchr.c: New file.
824         * benchtests/bench-strchrnul-ifunc.c: New file.
825         * benchtests/bench-strchrnul.c: New file.
826         * benchtests/bench-strcmp-ifunc.c: New file.
827         * benchtests/bench-strcmp.c: New file.
828         * benchtests/bench-strcpy-ifunc.c: New file.
829         * benchtests/bench-strcpy.c: New file.
830         * benchtests/bench-strcspn-ifunc.c: New file.
831         * benchtests/bench-strcspn.c: New file.
832         * benchtests/bench-strlen-ifunc.c: New file.
833         * benchtests/bench-strlen.c: New file.
834         * benchtests/bench-strncasecmp-ifunc.c: New file.
835         * benchtests/bench-strncasecmp.c: New file.
836         * benchtests/bench-strncat-ifunc.c: New file.
837         * benchtests/bench-strncat.c: New file.
838         * benchtests/bench-strncmp-ifunc.c: New file.
839         * benchtests/bench-strncmp.c: New file.
840         * benchtests/bench-strncpy-ifunc.c: New file.
841         * benchtests/bench-strncpy.c: New file.
842         * benchtests/bench-strnlen-ifunc.c: New file.
843         * benchtests/bench-strnlen.c: New file.
844         * benchtests/bench-strpbrk-ifunc.c: New file.
845         * benchtests/bench-strpbrk.c: New file.
846         * benchtests/bench-strrchr-ifunc.c: New file.
847         * benchtests/bench-strrchr.c: New file.
848         * benchtests/bench-strspn-ifunc.c: New file.
849         * benchtests/bench-strspn.c: New file.
850         * benchtests/bench-strstr-ifunc.c: New file.
851         * benchtests/bench-strstr.c: New file.
852
853         * benchtests/Makefile: Disable parallel execution of targets.
854         (string-bench): Add memcpy.
855         (benchset): New variable to store a list of benchmark sets.
856         (bench-func): Renamed from bench.
857         (bench-set): New target.
858         (bench): Depend on bench-func and bench-set.
859         * benchtests/README: Add section on benchmark sets.
860         * benchtests/bench-memcpy-ifunc.c: New file.
861         * benchtests/bench-memcpy.c: New file.
862         * benchtests/bench-string.h: New file.
863
864 2013-06-11  Andreas Schwab  <schwab@suse.de>
865
866         [BZ #15577]
867         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
868         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
869         values in the triple.
870         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
871         terminator in the group key.
872
873 2013-06-11  Andreas Jaeger  <aj@suse.de>
874
875         * po/zh_TW.po: Update Chinese (traditional) translation from
876         translation project.
877
878 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
879
880         * include/time.h (__clock_gettime): Add libc_hidden_proto.
881         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
882         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
883         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
884         (clock_getcpuclockid): Likewise.
885         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
886         Add weak_alias and libc_hidden_def.
887         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
888         * rt/clock_gettime.c (clock_gettime): Rename to
889         __clock_gettime.  Add weak_alias and libc_hidden_def.
890         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
891         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
892         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
893         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
894         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
895         Likewise.
896         * rt/clock_settime.c (clock_settime): Rename to
897         __clock_settime.  Add weak_alias and libc_hidden_def.
898         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
899
900 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
901
902         * mach/err_boot.sub: Remove trailing whitespace.
903         * mach/err_ipc.sub: Likewise.
904         * mach/err_mach.sub: Likewise.
905
906         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
907         (ROUNDING_TESTS_double): Likewise.
908         (ROUNDING_TESTS_long_double): Likewise.
909         (ROUNDING_TESTS): Likewise.
910         * math/libm-test.inc: Include <math-tests.h>.
911         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
912         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
913         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
914         (IF_ROUND_INIT_FE_UPWARD): Likewise.
915
916 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
917
918         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
919         of assigning.
920
921 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
922
923         * sysdeps/gnu/errlist.awk: Do not generate space at end of
924         otherwise empty TRANS lines.
925         * sysdeps/gnu/errlist.c: Regenerated.
926
927         * catgets/gencat.c (error_print): Use (void) in function
928         definition.
929         * crypt/crypt_util.c (__init_des): Likewise.
930         * crypt/speeds.c (Stop): Likewise.
931         (main): Likewise.
932         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
933         * inet/ruserpass.c (token): Likewise.
934         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
935         * intl/localealias.c (extend_alias_table): Likewise.
936         * intl/plural-exp.c (init_germanic_plural): Likewise.
937         * libio/fcloseall.c (__fcloseall): Likewise.
938         * libio/genops.c (_IO_flush_all): Likewise.
939         (_IO_flush_all_linebuffered): Likewise.
940         (_IO_cleanup): Likewise.
941         (_IO_iter_begin): Likewise.
942         (_IO_iter_end): Likewise.
943         (_IO_list_lock): Likewise.
944         (_IO_list_unlock): Likewise.
945         (_IO_list_resetlock): Likewise.
946         * libio/getchar.c (getchar): Likewise.
947         * libio/getchar_u.c (getchar_unlocked): Likewise.
948         * libio/getwchar.c (getwchar): Likewise.
949         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
950         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
951         * login/getpt.c (__getpt): Likewise.
952         * login/tst-utmp.c (main): Likewise.
953         * malloc/hooks.c (__malloc_check_init): Likewise.
954         * malloc/malloc.c (__malloc_stats): Likewise.
955         * malloc/mtrace.c (tr_break): Likewise.
956         (mtrace): Likewise.
957         (muntrace): Likewise.
958         * misc/fstab.c (endfsent): Likewise.
959         * misc/getclktck.c (__getclktck): Likewise.
960         * misc/getdtsz.c (__getdtablesize): Likewise.
961         * misc/gethostid.c (gethostid): Likewise.
962         * misc/getpagesize.c (__getpagesize): Likewise.
963         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
964         (__get_nprocs): Likewise.
965         (__get_phys_pages): Likewise.
966         (__get_avphys_pages): Likewise.
967         * misc/getttyent.c (getttyent): Likewise.
968         (setttyent): Likewise.
969         (endttyent): Likewise.
970         * misc/getusershell.c (getusershell): Likewise.
971         (endusershell): Likewise.
972         (setusershell): Likewise.
973         (initshells): Likewise.
974         * misc/hsearch.c (__hdestroy): Likewise.
975         * misc/sync.c (sync): Likewise.
976         * misc/syslog.c (closelog_internal): Likewise.
977         (closelog): Likewise.
978         * misc/ttyslot.c (ttyslot): Likewise.
979         * misc/vhangup.c (vhangup): Likewise.
980         * posix/fork.c (__fork): Likewise.
981         * posix/getegid.c (__getegid): Likewise.
982         * posix/geteuid.c (__geteuid): Likewise.
983         * posix/getgid.c (__getgid): Likewise.
984         * posix/getpid.c (__getpid): Likewise.
985         * posix/getppid.c (__getppid): Likewise.
986         * posix/getuid.c (__getuid): Likewise.
987         * posix/pause.c (pause): Likewise.
988         * posix/setpgrp.c (setpgrp): Likewise.
989         * posix/setsid.c (__setsid): Likewise.
990         * posix/test-vfork.c (noop): Likewise.
991         * resolv/gethnamaddr.c (_endhtent): Likewise.
992         (_gethtent): Likewise.
993         (ht_endhostent): Likewise.
994         (gethostent): Likewise.
995         (dns_service): Likewise.
996         * stdlib/drand48.c (drand48): Likewise.
997         * stdlib/lrand48.c (lrand48): Likewise.
998         * stdlib/mrand48.c (mrand48): Likewise.
999         * stdlib/rand.c (rand): Likewise.
1000         * stdlib/random.c (__random): Likewise.
1001         * stdlib/setenv.c (clearenv): Likewise.
1002         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1003         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1004         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1005         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1006         (__get_nprocs): Likewise.
1007         (__get_phys_pages): Likewise.
1008         (__get_avphys_pages): Likewise.
1009         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1010         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1011         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1012         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1013         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1014         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1015         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1016         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1017         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1018         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1019         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1020         * sysdeps/mach/hurd/sync.c (sync): Likewise.
1021         * sysdeps/posix/clock.c (clock): Likewise.
1022         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1023         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1024         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1025         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1026         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1027         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1028         (__get_nprocs_conf): Likewise.
1029         (__get_phys_pages): Likewise.
1030         (__get_avphys_pages): Likewise.
1031         * time/clock.c (clock): Likewise.
1032         * time/tzset.c (__tzname_max): Likewise.
1033
1034 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
1035
1036         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1037         (__bswap_32): Do not use "register".
1038         * crypt/crypt.c (_ufc_doit_r): Likewise.
1039         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1040         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1041         * gmon/gmon.c (__monstartup): Likewise.
1042         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1043         * hurd/hurdmalloc.c (more_memory): Likewise.
1044         (malloc): Likewise.
1045         (free): Likewise.
1046         (realloc): Likewise.
1047         (malloc_fork_prepare): Likewise.
1048         (malloc_fork_parent): Likewise.
1049         (malloc_fork_child): Likewise.
1050         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1051         (_svcauth_des): Likewise.
1052         * inet/inet_lnaof.c (inet_lnaof): Likewise.
1053         * inet/inet_net.c (inet_network): Likewise.
1054         * inet/inet_netof.c (inet_netof): Likewise.
1055         * inet/rcmd.c (__validuser2_sa): Likewise.
1056         * io/fts.c (fts_open): Likewise.
1057         (fts_load): Likewise.
1058         (fts_close): Likewise.
1059         (fts_read): Likewise.
1060         (fts_children): Likewise.
1061         (fts_build): Likewise.
1062         (fts_stat): Likewise.
1063         (fts_sort): Likewise.
1064         (fts_alloc): Likewise.
1065         (fts_lfree): Likewise.
1066         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1067         (_IO_file_xsgetn): Likewise.
1068         (_IO_file_xsgetn_mmap): Likewise.
1069         * libio/iofopncook.c (_IO_cookie_read): Likewise.
1070         (_IO_cookie_write): Likewise.
1071         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1072         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1073         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1074         * malloc/obstack.c (_obstack_begin): Likewise.
1075         (_obstack_begin_1): Likewise.
1076         (_obstack_newchunk): Likewise.
1077         (_obstack_allocated_p): Likewise.
1078         (obstack_free): Likewise.
1079         (_obstack_memory_used): Likewise.
1080         * misc/getttyent.c (getttynam): Likewise.
1081         (getttyent): Likewise.
1082         (skip): Likewise.
1083         (value): Likewise.
1084         * misc/getusershell.c (initshells): Likewise.
1085         * misc/syslog.c (__vsyslog_chk): Likewise.
1086         * misc/ttyslot.c (ttyslot): Likewise.
1087         * nis/nis_hash.c (__nis_hash): Likewise.
1088         * posix/fnmatch_loop.c (FCT): Likewise.
1089         * posix/getconf.c (print_all): Likewise.
1090         (main): Likewise.
1091         * posix/getopt.c (exchange): Likewise.
1092         * posix/glob.c (globfree): Likewise.
1093         (prefix_array): Likewise.
1094         (__glob_pattern_type): Likewise.
1095         * resolv/arpa/nameser.h (NS_GET16): Likewise.
1096         (NS_GET32): Likewise.
1097         (NS_PUT16): Likewise.
1098         (NS_PUT32): Likewise.
1099         * resolv/gethnamaddr.c (getanswer): Likewise.
1100         (gethostbyname2): Likewise.
1101         (gethostbyaddr): Likewise.
1102         (_gethtent): Likewise.
1103         (_gethtbyname2): Likewise.
1104         (_gethtbyaddr): Likewise.
1105         * resolv/ns_print.c (dst_s_get_int16): Likewise.
1106         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1107         * resolv/res_init.c (__res_vinit): Likewise.
1108         (net_mask): Likewise.
1109         * resolv/res_mkquery.c (outchar): Likewise.
1110         (PRINT): Likewise.
1111         * stdio-common/printf_fp.c (outchar): Likewise.
1112         (PRINT): Likewise.
1113         * stdio-common/printf_fphex.c (outchar): Likewise.
1114         (PRINT): Likewise.
1115         * stdio-common/printf_size.c (outchar): Likewise.
1116         (PRINT): Likewise.
1117         * stdio-common/test_rdwr.c (main): Likewise.
1118         * stdio-common/tfformat.c (matches): Likewise.
1119         * stdio-common/vfprintf.c (outchar): Likewise.
1120         (printf_unknown): Likewise.
1121         (buffered_vfprintf): Likewise.
1122         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1123         * stdio-common/xbug.c (AppendToBuffer): Likewise.
1124         (ReadFile): Likewise.
1125         * stdlib/qsort.c (SWAP): Likewise.
1126         (_quicksort): Likewise.
1127         * stdlib/setenv.c (__add_to_environ): Likewise.
1128         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1129         * stdlib/strtol_l.c (__strtol_l): Likewise.
1130         * stdlib/tst-strtod.c (main): Likewise.
1131         * stdlib/tst-strtol.c (main): Likewise.
1132         * stdlib/tst-strtoll.c (main): Likewise.
1133         * string/bits/string2.h (__strcmp_cc): Likewise.
1134         (__strcmp_cg): Likewise.
1135         (__strcspn_c1): Likewise.
1136         (__strcspn_c2): Likewise.
1137         (__strcspn_c3): Likewise.
1138         (__strspn_c1): Likewise.
1139         (__strspn_c2): Likewise.
1140         (__strspn_c3): Likewise.
1141         (__strsep_1c): Likewise.
1142         (__strsep_2c): Likewise.
1143         (__strsep_3c): Likewise.
1144         * string/memccpy.c (__memccpy): Likewise.
1145         * string/stpcpy.c (__stpcpy): Likewise.
1146         * string/strcmp.c (strcmp): Likewise.
1147         * string/strrchr.c (strrchr): Likewise.
1148         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1149         Likewise.
1150         * sysdeps/mach/hurd/getcwd.c
1151         (_hurd_canonicalize_directory_name_internal): Likewise.
1152         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1153         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1154         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1155         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1156         Likewise, in both definitions.
1157         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1158         definitions.
1159         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1160         64] (__bswap_64): Likewise.
1161         * time/test_time.c (main): Likewise.
1162         * time/tzfile.c (__tzfile_read): Likewise.
1163         (__tzfile_compute): Likewise.
1164         * time/tzset.c (__tzset_parse_tz): Likewise.
1165         (tzset_internal): Likewise.
1166         (compute_change): Likewise.
1167         * wcsmbs/wcscat.c (__wcscat): Likewise.
1168         * wcsmbs/wcschr.c (wcschr): Likewise.
1169         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1170         * wcsmbs/wcscspn.c (wcscspn): Likewise.
1171         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1172         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1173         * wcsmbs/wcsspn.c (wcsspn): Likewise.
1174         * wcsmbs/wcsstr.c (wcsstr): Likewise.
1175         * wcsmbs/wmemchr.c (wmemchr): Likewise.
1176         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1177         * wcsmbs/wmemset.c (wmemset): Likewise.
1178
1179 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
1180
1181         * scripts/config.guess: Update to version 2013-05-16.
1182         * scripts/config.sub: Update to version 2013-04-24.
1183         * scripts/install-sh: Update to version 2011-11-20.07.
1184         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1185         * scripts/move-if-change: Update to version 2012-01-06 07:23.
1186
1187 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
1188
1189         * debug/fgetws_u_chk.c: Fix leading whitespaces.
1190         * elf/sln.c: Likewise.
1191         * hurd/hurd/ioctl.h: Likewise.
1192         * hurd/hurdmalloc.c: Likewise.
1193         * hurd/xattr.c: Likewise.
1194         * include/shlib-compat.h: Likewise.
1195         * inet/ruserpass.c: Likewise.
1196         * libio/iofgets_u.c: Likewise.
1197         * libio/iofgetws_u.c: Likewise.
1198         * locale/programs/ld-identification.c: Likewise.
1199         * locale/programs/ld-time.c: Likewise.
1200         * mach/msg-destroy.c: Likewise.
1201         * nss/nss_files/files-netgrp.c: Likewise.
1202         * resolv/res_data.c: Likewise.
1203         * soft-fp/op-1.h: Likewise.
1204         * soft-fp/op-2.h: Likewise.
1205         * soft-fp/op-4.h: Likewise.
1206         * soft-fp/op-common.h: Likewise.
1207         * stdio-common/printf_fphex.c: Likewise.
1208         * stdlib/strtod_l.c: Likewise.
1209         * sunrpc/rpc/clnt.h: Likewise.
1210         * sysdeps/generic/framestate.c: Likewise.
1211         * sysdeps/i386/bsd-_setjmp.S: Likewise.
1212         * sysdeps/i386/bsd-setjmp.S: Likewise.
1213         * sysdeps/i386/__longjmp.S: Likewise.
1214         * sysdeps/i386/setjmp.S: Likewise.
1215         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1216         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1217         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1218         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1219         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1220         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1221         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1222         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1223         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1224         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1225         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1226         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1227         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1228         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1229         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1230         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1231         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1232         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1233         * sysdeps/ieee754/support.c: Likewise.
1234         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1235         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1236         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1237         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1238         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1239         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1240         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1241         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1242         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1243         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1244         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1245         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1246         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1247         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1248         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1249         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1250         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1252
1253 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
1254
1255         * posix/transbug.c: Remove executable mode.
1256
1257 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
1258
1259         * crypt/speeds.c: Remove trailing whitespace.
1260         * dlfcn/default.c: Likewise.
1261         * elf/ifuncdep2.c: Likewise.
1262         * elf/ifuncmain1.c: Likewise.
1263         * elf/ifuncmain1vis.c: Likewise.
1264         * elf/testobj.h: Likewise.
1265         * elf/tst-stackguard1.c: Likewise.
1266         * gmon/sys/gmon.h: Likewise.
1267         * hurd/hurdmsg.c: Likewise.
1268         * hurd/new-fd.c: Likewise.
1269         * hurd/ports-get.c: Likewise.
1270         * iconvdata/ibm1008_420.c: Likewise.
1271         * inet/tst-getni1.c: Likewise.
1272         * inet/tst-getni2.c: Likewise.
1273         * libio/ioungetc.c: Likewise.
1274         * libio/wfiledoalloc.c: Likewise.
1275         * manual/libm-err-tab.pl: Likewise.
1276         * math/w_dremf.c: Likewise.
1277         * misc/ftruncate.c: Likewise.
1278         * posix/bug-glob2.c: Likewise.
1279         * posix/tst-pcre.c: Likewise.
1280         * posix/wait4.c: Likewise.
1281         * resolv/README: Likewise.
1282         * resolv/res_debug.h: Likewise.
1283         * resolv/tst-inet_ntop.c: Likewise.
1284         * setjmp/bug269-setjmp.c: Likewise.
1285         * soft-fp/extended.h: Likewise.
1286         * soft-fp/op-1.h: Likewise.
1287         * soft-fp/op-2.h: Likewise.
1288         * soft-fp/op-4.h: Likewise.
1289         * soft-fp/op-8.h: Likewise.
1290         * soft-fp/testit.c: Likewise.
1291         * stdio-common/bug16.c: Likewise.
1292         * stdlib/random.c: Likewise.
1293         * sunrpc/rpcsvc/rquota.x: Likewise.
1294         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1295         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1296         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1297         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1298         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1299         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1300         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1301         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1302         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1303         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1304         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1305         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1306         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1307         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1308         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1309         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1310         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1311         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1312         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1313         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1314         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1315         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1316         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1317         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1318         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1319         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1320         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1321         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1322         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1323         * sysdeps/ieee754/s_lib_version.c: Likewise.
1324         * sysdeps/mach/hurd/check_fds.c: Likewise.
1325         * sysdeps/mach/hurd/getsockname.c: Likewise.
1326         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1327         * sysdeps/mach/hurd/recvfrom.c: Likewise.
1328         * sysdeps/powerpc/bits/link.h: Likewise.
1329         * sysdeps/powerpc/dl-procinfo.c: Likewise.
1330         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1331         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1332         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1333         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1334         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1335         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1336         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1337         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1338         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1339         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1340         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1341         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1342         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1343         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1344         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1345         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1346         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1347         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1348         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1349         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1350         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1351         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1352         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1353         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1354         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1355         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1356         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1357         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1358         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1359         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1360         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1361         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1362         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1363         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1364         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1365         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1366         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1367         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1368         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1369         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1370         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1371         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1372         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1373         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1374         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1375         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1376         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1377         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1378         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1379         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1380         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1381         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1382         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1383         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1384         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1385         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1386         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1387         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1388         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1389         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1390         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1391         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1392         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1393         * sysdeps/powerpc/sysdep.h: Likewise.
1394         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1395         * sysdeps/s390/s390-64/sub_n.S: Likewise.
1396         * sysdeps/sh/dl-trampoline.S: Likewise.
1397         * sysdeps/sh/memset.S: Likewise.
1398         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1399         * sysdeps/sh/strlen.S: Likewise.
1400         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1401         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1402         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1403         * sysdeps/sparc/sparc32/rem.S: Likewise.
1404         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1405         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1406         * sysdeps/sparc/sparc32/strchr.S: Likewise.
1407         * sysdeps/sparc/sparc32/udiv.S: Likewise.
1408         * sysdeps/sparc/sparc32/urem.S: Likewise.
1409         * sysdeps/sparc/sparc64/add_n.S: Likewise.
1410         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1411         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1412         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1413         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1414         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1415         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1416         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1417         * sysdeps/unix/bsd/times.c: Likewise.
1418         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1419         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1423         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1424         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1425         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1426         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1427         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1428         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1429         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1430         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1431         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1432         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1433         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1434         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1435         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1436         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1437         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1438         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1439         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1440         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1441         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1442         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1443         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1444         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1445         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1446         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1447         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1448         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1449         * sysdeps/x86_64/strcspn.S: Likewise.
1450
1451 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1452
1453         * locale/C-translit.h: Revert #include <stdint.h> because this is a
1454         generated file.  Regenerate properly from gen-translit.pl.
1455         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
1456         locale/C-translit.h.
1457
1458 2013-06-05  Andreas Schwab  <schwab@suse.de>
1459
1460         [BZ #15100]
1461         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1462         week as 6 instead of -1.
1463         * time/tst-strptime.c (day_tests): Add test case.
1464
1465 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1466
1467         * sysdeps/generic/math_private.h
1468         (libc_feholdexcept_setround_53bit): Replace with
1469         libc_feholdsetround_53bit.
1470         (libc_feupdateenv_53bit): Replace with
1471         libc_feresetround_53bit.
1472         (SET_RESTORE_ROUND_53BIT): Adjust.
1473
1474 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1475
1476         * string/test-strchrnul.c: Add copyright header.
1477
1478         * posix/tst-getaddrinfo4.c: Increase test timeout.
1479
1480 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
1481
1482         [BZ #15536]
1483         * math/libm-test.inc (MAX_EXP): Remove
1484         (MIN_EXP): Define.
1485         (ulp): Use MIN_EXP - MANT_DIG.
1486         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1487
1488 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
1489
1490         * po/be.po: Revert last change.
1491         * po/zh_CN.po: Likewise.
1492         * po/header.pot: Likewise.
1493
1494 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
1495
1496         * Makefile ($(common-objpfx)linkobj/libc.so): Define
1497         link-libc-deps to empty as target-specific variable.
1498         * Makerules (link-libc-args): New variable.
1499         (libc-for-link): Likewise.
1500         (link-libc-deps): Likewise.
1501         (lib%.so): Depend on $(link-libc-deps).  Link with
1502         $(link-libc-args).
1503         (build-module): Link with $(link-libc-args).
1504         (build-module-asneeded): Likewise.
1505         (build-module-helper-objlist): Filter out $(link-libc-deps) from
1506         list of objects.
1507         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1508         target-specific variable.
1509         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1510         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1511         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1512         libc.
1513         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1514         libc and ld.so.
1515         ($(objpfx)libpcprofile.so): Likewise.
1516         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1517         libc_nonshared.a.
1518         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1519         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1520         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1521         $(link-libc-deps).
1522         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1523         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1524         * login/Makefile ($(objpfx)libutil.so): Likewise.
1525         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1526         * math/Makefile ($(objpfx)libm.so): Likewise.
1527         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1528         $(objpfx)libnsl.so): Define libc-for-link as target-specific
1529         variable instead of depending directly on libc.
1530         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1531         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1532         $(link-libc-deps).
1533         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1534         libc.
1535         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1536         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1537         ($(objpfx)libanl.so): Likewise.
1538         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1539         ld.so.
1540         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1541         $(link-libc-deps).
1542         * sysdeps/i386/fpu/Makefile: Remove file.
1543         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1544         ($(objpfx)libm.so): Remove dependency on ld.so.
1545
1546 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
1547
1548         [BZ # 15553]
1549         * nis/yp_xdr.c (XDRMAXNAME): Define.
1550         (XDRMAXRECORD): Define.
1551         (xdr_domainname): Use XDRMAXNAME.
1552         (xdr_mapname): Likewise.
1553         (xdr_peername): Likewise.
1554         (xdr_keydat): Use XDRMAXRECORD.
1555         (xdr_valdat): Likewise.
1556
1557 2013-05-30  Jeff Law  <law@redhat.com>
1558
1559         [BZ #14256]
1560         * manual/errno.texi (ESTALE): Update to account for more than
1561         just NFS file systems.
1562         * sysdeps/gnu/errlist.c: Regenerated.
1563
1564 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1565
1566         [BZ #15465]
1567         * elf/Makefile (tests): Add tst-null-argv.
1568         (modules-names):  Add tst-null-argv-lib.
1569         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1570         (tst-null-argv-ENV): Set environment for tst-null-argv.
1571         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1572         (RTLD_PROGNAME): New macro.
1573         * elf/tst-null-argv.c: New test case.
1574         * elf/tst-null-argv-lib.c: Library for test case.
1575         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1576         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1577         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1578         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1579         * elf/dl-init.c (call_init): Likewise.
1580         (_dl_init): Likewise.
1581         * elf/dl-load.c (print_search_path): Likewise.
1582         (_dl_map_object): Likewise.
1583         * elf/dl-lookup.c (do_lookup_x): Likewise.
1584         (add_dependency): Likewise.
1585         (_dl_lookup_symbol_x): Likewise.
1586         (_dl_debug_bindings): Likewise.
1587         * elf/dl-open.c (_dl_show_scope): Likewise.
1588         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1589         * elf/dl-version.c (match_symbol): Likewise.
1590         (_dl_check_map_versions): Likewise.
1591         * elf/rtld.c (dl_main): Likewise.
1592         (print_unresolved): Use RTLD_PROGNAME.
1593         (print_missing_version): Likewise.
1594         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1595         (elf_machine_rela): Likewise.
1596         * sysdeps/powerpc/powerpc32/dl-machine.c
1597         (__process_machine_rela): Likewise.
1598         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1599         Likewise.
1600         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1601         Likewise.
1602         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1603         Likewise.
1604         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1605         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1606         Likewise.
1607         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1608         Likewise.
1609         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1610
1611 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
1612
1613         * po/be.po: Add descriptive title.
1614         * po/zh_CN.po: Likewise.
1615         * po/header.pot: Likewise.
1616
1617 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
1618
1619         * locale/programs/locarchive.c (create_archive): Inlucde fname in
1620         error message.
1621         (enlarge_archive): Likewise.
1622
1623 2013-05-28  Ben North  <ben@redfrontdoor.org>
1624
1625         * manual/arith.texi (frexp): It is the magnitude of the return
1626         value which lies in [0.5, 1), not the return value itself.
1627
1628 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1629
1630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1631
1632 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
1633
1634         * stdio-common/bug26.c (main): Correct fscanf template.
1635
1636         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1637         declare _dl_skip_args.
1638
1639         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1640         Don't declare.
1641
1642         * manual/platform.texi: Add missing @end deftypefun.
1643
1644 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
1645
1646         [BZ #15529]
1647         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1648         bit of mantissa of 2^16382.
1649         * math/libm-test.inc (hypot_test_data): Add more tests.
1650
1651         * math/libm-test.inc: Add drem and pow10 to list of tested
1652         functions.
1653         (pow10_test): New function.
1654         (drem_test): Likewise.
1655         (drem_test_tonearest): Likewise.
1656         (drem_test_towardzero): Likewise.
1657         (drem_test_downward): Likewise.
1658         (drem_test_upward): Likewise.
1659         (main): Call the new functions.
1660
1661         * math/libm-test.inc (finite_test_data): Remove.
1662         (finite_test): Run tests from isfinite_test_data.
1663         (gamma_test_data): Remove.
1664         (gamma_test): Run tests from lgamma_test_data.
1665         * sysdeps/i386/fpu/libm-test-ulps: Update.
1666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1667
1668 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1669
1670         * manual/platform.texi: Add PowerPC PPR function set documentation.
1671         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1672         implementation.
1673
1674 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
1675
1676         * math/libm-test.inc (MAX_EXP): Define.
1677         (ULPDIFF): Define.
1678         (ulp): New function.
1679         (check_float_internal): Use ULPDIFF.
1680         (cpow_test): Disable failing test.
1681         (check_ulp): Test ulp() implemetnation.
1682         (main): Call check_ulp before starting tests.
1683
1684 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
1685
1686         * math/gen-libm-test.pl (generate_testfile): Do not handle
1687         START_DATA and END_DATA.
1688         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1689         END_DATA.
1690         (acos_tonearest_test_data): Likewise.
1691         (acos_towardzero_test_data): Likewise.
1692         (acos_downward_test_data): Likewise.
1693         (acos_upward_test_data): Likewise.
1694         (acosh_test_data): Likewise.
1695         (asin_test_data): Likewise.
1696         (asin_tonearest_test_data): Likewise.
1697         (asin_towardzero_test_data): Likewise.
1698         (asin_downward_test_data): Likewise.
1699         (asin_upward_test_data): Likewise.
1700         (asinh_test_data): Likewise.
1701         (atan_test_data): Likewise.
1702         (atanh_test_data): Likewise.
1703         (atan2_test_data): Likewise.
1704         (cabs_test_data): Likewise.
1705         (cacos_test_data): Likewise.
1706         (cacosh_test_data): Likewise.
1707         (carg_test_data): Likewise.
1708         (casin_test_data): Likewise.
1709         (casinh_test_data): Likewise.
1710         (catan_test_data): Likewise.
1711         (catanh_test_data): Likewise.
1712         (cbrt_test_data): Likewise.
1713         (ccos_test_data): Likewise.
1714         (ccosh_test_data): Likewise.
1715         (ceil_test_data): Likewise.
1716         (cexp_test_data): Likewise.
1717         (cimag_test_data): Likewise.
1718         (clog_test_data): Likewise.
1719         (clog10_test_data): Likewise.
1720         (conj_test_data): Likewise.
1721         (copysign_test_data): Likewise.
1722         (cos_test_data): Likewise.
1723         (cos_tonearest_test_data): Likewise.
1724         (cos_towardzero_test_data): Likewise.
1725         (cos_downward_test_data): Likewise.
1726         (cos_upward_test_data): Likewise.
1727         (cosh_test_data): Likewise.
1728         (cosh_tonearest_test_data): Likewise.
1729         (cosh_towardzero_test_data): Likewise.
1730         (cosh_downward_test_data): Likewise.
1731         (cosh_upward_test_data): Likewise.
1732         (cpow_test_data): Likewise.
1733         (cproj_test_data): Likewise.
1734         (creal_test_data): Likewise.
1735         (csin_test_data): Likewise.
1736         (csinh_test_data): Likewise.
1737         (csqrt_test_data): Likewise.
1738         (ctan_test_data): Likewise.
1739         (ctan_tonearest_test_data): Likewise.
1740         (ctan_towardzero_test_data): Likewise.
1741         (ctan_downward_test_data): Likewise.
1742         (ctan_upward_test_data): Likewise.
1743         (ctanh_test_data): Likewise.
1744         (ctanh_tonearest_test_data): Likewise.
1745         (ctanh_towardzero_test_data): Likewise.
1746         (ctanh_downward_test_data): Likewise.
1747         (ctanh_upward_test_data): Likewise.
1748         (erf_test_data): Likewise.
1749         (erfc_test_data): Likewise.
1750         (exp_test_data): Likewise.
1751         (exp_tonearest_test_data): Likewise.
1752         (exp_towardzero_test_data): Likewise.
1753         (exp_downward_test_data): Likewise.
1754         (exp_upward_test_data): Likewise.
1755         (exp10_test_data): Likewise.
1756         (exp2_test_data): Likewise.
1757         (expm1_test_data): Likewise.
1758         (fabs_test_data): Likewise.
1759         (fdim_test_data): Likewise.
1760         (finite_test_data): Likewise.
1761         (floor_test_data): Likewise.
1762         (fma_test_data): Likewise.
1763         (fma_towardzero_test_data): Likewise.
1764         (fma_downward_test_data): Likewise.
1765         (fma_upward_test_data): Likewise.
1766         (fmax_test_data): Likewise.
1767         (fmin_test_data): Likewise.
1768         (fmod_test_data): Likewise.
1769         (fpclassify_test_data): Likewise.
1770         (frexp_test_data): Likewise.
1771         (gamma_test_data): Likewise.
1772         (hypot_test_data): Likewise.
1773         (ilogb_test_data): Likewise.
1774         (isfinite_test_data): Likewise.
1775         (isgreater_test_data): Likewise.
1776         (isgreaterequal_test_data): Likewise.
1777         (isinf_test_data): Likewise.
1778         (isless_test_data): Likewise.
1779         (islessequal_test_data): Likewise.
1780         (islessgreater_test_data): Likewise.
1781         (isnan_test_data): Likewise.
1782         (isnormal_test_data): Likewise.
1783         (issignaling_test_data): Likewise.
1784         (isunordered_test_data): Likewise.
1785         (j0_test_data): Likewise.
1786         (j1_test_data): Likewise.
1787         (jn_test_data): Likewise.
1788         (ldexp_test_data): Likewise.
1789         (lgamma_test_data): Likewise.
1790         (lrint_test_data): Likewise.
1791         (lrint_tonearest_test_data): Likewise.
1792         (lrint_towardzero_test_data): Likewise.
1793         (lrint_downward_test_data): Likewise.
1794         (lrint_upward_test_data): Likewise.
1795         (llrint_test_data): Likewise.
1796         (llrint_tonearest_test_data): Likewise.
1797         (llrint_towardzero_test_data): Likewise.
1798         (llrint_downward_test_data): Likewise.
1799         (llrint_upward_test_data): Likewise.
1800         (log_test_data): Likewise.
1801         (log10_test_data): Likewise.
1802         (log1p_test_data): Likewise.
1803         (log2_test_data): Likewise.
1804         (logb_test_data): Likewise.
1805         (logb_downward_test_data): Likewise.
1806         (lround_test_data): Likewise.
1807         (llround_test_data): Likewise.
1808         (modf_test_data): Likewise.
1809         (nearbyint_test_data): Likewise.
1810         (nextafter_test_data): Likewise.
1811         (nexttoward_test_data): Likewise.
1812         (pow_test_data): Likewise.
1813         (pow_tonearest_test_data): Likewise.
1814         (pow_towardzero_test_data): Likewise.
1815         (pow_downward_test_data): Likewise.
1816         (pow_upward_test_data): Likewise.
1817         (remainder_test_data): Likewise.
1818         (remainder_tonearest_test_data): Likewise.
1819         (remainder_towardzero_test_data): Likewise.
1820         (remainder_downward_test_data): Likewise.
1821         (remainder_upward_test_data): Likewise.
1822         (remquo_test_data): Likewise.
1823         (rint_test_data): Likewise.
1824         (rint_tonearest_test_data): Likewise.
1825         (rint_towardzero_test_data): Likewise.
1826         (rint_downward_test_data): Likewise.
1827         (rint_upward_test_data): Likewise.
1828         (round_test_data): Likewise.
1829         (scalb_test_data): Likewise.
1830         (scalbn_test_data): Likewise.
1831         (scalbln_test_data): Likewise.
1832         (signbit_test_data): Likewise.
1833         (sin_test_data): Likewise.
1834         (sin_tonearest_test_data): Likewise.
1835         (sin_towardzero_test_data): Likewise.
1836         (sin_downward_test_data): Likewise.
1837         (sin_upward_test_data): Likewise.
1838         (sincos_test_data): Likewise.
1839         (sinh_test_data): Likewise.
1840         (sinh_tonearest_test_data): Likewise.
1841         (sinh_towardzero_test_data): Likewise.
1842         (sinh_downward_test_data): Likewise.
1843         (sinh_upward_test_data): Likewise.
1844         (sqrt_test_data): Likewise.
1845         (tan_test_data): Likewise.
1846         (tan_tonearest_test_data): Likewise.
1847         (tan_towardzero_test_data): Likewise.
1848         (tan_downward_test_data): Likewise.
1849         (tan_upward_test_data): Likewise.
1850         (tanh_test_data): Likewise.
1851         (tgamma_test_data): Likewise.
1852         (trunc_test_data): Likewise.
1853         (y0_test_data): Likewise.
1854         (y1_test_data): Likewise.
1855         (yn_test_data): Likewise.
1856         (significand_test_data): Likewise.
1857
1858         * math/gen-libm-test.pl (@functions): Remove variable.
1859         (generate_testfile): Don't handle START and END lines.
1860         * math/libm-test.inc (START): New macro.
1861         (END): Likewise.
1862         (END_COMPLEX): Likewise.
1863         (acos_test): Use END macro without arguments.
1864         (acos_test_tonearest): Likewise.
1865         (acos_test_towardzero): Likewise.
1866         (acos_test_downward): Likewise.
1867         (acos_test_upward): Likewise.
1868         (acosh_test): Likewise.
1869         (asin_test): Likewise.
1870         (asin_test_tonearest): Likewise.
1871         (asin_test_towardzero): Likewise.
1872         (asin_test_downward): Likewise.
1873         (asin_test_upward): Likewise.
1874         (asinh_test): Likewise.
1875         (atan_test): Likewise.
1876         (atanh_test): Likewise.
1877         (atan2_test): Likewise.
1878         (cabs_test): Likewise.
1879         (cacos_test): Use END_COMPLEX macro without arguments.
1880         (cacosh_test): Likewise.
1881         (carg_test): Use END macro without arguments.
1882         (casin_test): Use END_COMPLEX macro without arguments.
1883         (casinh_test): Likewise.
1884         (catan_test): Likewise.
1885         (catanh_test): Likewise.
1886         (cbrt_test): Use END macro without arguments.
1887         (ccos_test): Use END_COMPLEX macro without arguments.
1888         (ccosh_test): Likewise.
1889         (ceil_test): Use END macro without arguments.
1890         (cexp_test): Use END_COMPLEX macro without arguments.
1891         (cimag_test): Use END macro without arguments.
1892         (clog_test): Use END_COMPLEX macro without arguments.
1893         (clog10_test): Likewise.
1894         (conj_test): Likewise.
1895         (copysign_test): Use END macro without arguments.
1896         (cos_test): Likewise.
1897         (cos_test_tonearest): Likewise.
1898         (cos_test_towardzero): Likewise.
1899         (cos_test_downward): Likewise.
1900         (cos_test_upward): Likewise.
1901         (cosh_test): Likewise.
1902         (cosh_test_tonearest): Likewise.
1903         (cosh_test_towardzero): Likewise.
1904         (cosh_test_downward): Likewise.
1905         (cosh_test_upward): Likewise.
1906         (cpow_test): Use END_COMPLEX macro without arguments.
1907         (cproj_test): Likewise.
1908         (creal_test): Use END macro without arguments.
1909         (csin_test): Use END_COMPLEX macro without arguments.
1910         (csinh_test): Likewise.
1911         (csqrt_test): Likewise.
1912         (ctan_test): Likewise.
1913         (ctan_test_tonearest): Likewise.
1914         (ctan_test_towardzero): Likewise.
1915         (ctan_test_downward): Likewise.
1916         (ctan_test_upward): Likewise.
1917         (ctanh_test): Likewise.
1918         (ctanh_test_tonearest): Likewise.
1919         (ctanh_test_towardzero): Likewise.
1920         (ctanh_test_downward): Likewise.
1921         (ctanh_test_upward): Likewise.
1922         (erf_test): Use END macro without arguments.
1923         (erfc_test): Likewise.
1924         (exp_test): Likewise.
1925         (exp_test_tonearest): Likewise.
1926         (exp_test_towardzero): Likewise.
1927         (exp_test_downward): Likewise.
1928         (exp_test_upward): Likewise.
1929         (exp10_test): Likewise.
1930         (exp2_test): Likewise.
1931         (expm1_test): Likewise.
1932         (fabs_test): Likewise.
1933         (fdim_test): Likewise.
1934         (finite_test): Likewise.
1935         (floor_test): Likewise.
1936         (fma_test): Likewise.
1937         (fma_test_towardzero): Likewise.
1938         (fma_test_downward): Likewise.
1939         (fma_test_upward): Likewise.
1940         (fmax_test): Likewise.
1941         (fmin_test): Likewise.
1942         (fmod_test): Likewise.
1943         (fpclassify_test): Likewise.
1944         (frexp_test): Likewise.
1945         (gamma_test): Likewise.
1946         (hypot_test): Likewise.
1947         (ilogb_test): Likewise.
1948         (isfinite_test): Likewise.
1949         (isgreater_test): Likewise.
1950         (isgreaterequal_test): Likewise.
1951         (isinf_test): Likewise.
1952         (isless_test): Likewise.
1953         (islessequal_test): Likewise.
1954         (islessgreater_test): Likewise.
1955         (isnan_test): Likewise.
1956         (isnormal_test): Likewise.
1957         (issignaling_test): Likewise.
1958         (isunordered_test): Likewise.
1959         (j0_test): Likewise.
1960         (j1_test): Likewise.
1961         (jn_test): Likewise.
1962         (ldexp_test): Likewise.
1963         (lgamma_test): Likewise.
1964         (lrint_test): Likewise.
1965         (lrint_test_tonearest): Likewise.
1966         (lrint_test_towardzero): Likewise.
1967         (lrint_test_downward): Likewise.
1968         (lrint_test_upward): Likewise.
1969         (llrint_test): Likewise.
1970         (llrint_test_tonearest): Likewise.
1971         (llrint_test_towardzero): Likewise.
1972         (llrint_test_downward): Likewise.
1973         (llrint_test_upward): Likewise.
1974         (log_test): Likewise.
1975         (log10_test): Likewise.
1976         (log1p_test): Likewise.
1977         (log2_test): Likewise.
1978         (logb_test): Likewise.
1979         (logb_test_downward): Likewise.
1980         (lround_test): Likewise.
1981         (llround_test): Likewise.
1982         (modf_test): Likewise.
1983         (nearbyint_test): Likewise.
1984         (nextafter_test): Likewise.
1985         (nexttoward_test): Likewise.
1986         (pow_test): Likewise.
1987         (pow_test_tonearest): Likewise.
1988         (pow_test_towardzero): Likewise.
1989         (pow_test_downward): Likewise.
1990         (pow_test_upward): Likewise.
1991         (remainder_test): Likewise.
1992         (remainder_test_tonearest): Likewise.
1993         (remainder_test_towardzero): Likewise.
1994         (remainder_test_downward): Likewise.
1995         (remainder_test_upward): Likewise.
1996         (remquo_test): Likewise.
1997         (rint_test): Likewise.
1998         (rint_test_tonearest): Likewise.
1999         (rint_test_towardzero): Likewise.
2000         (rint_test_downward): Likewise.
2001         (rint_test_upward): Likewise.
2002         (round_test): Likewise.
2003         (scalb_test): Likewise.
2004         (scalbn_test): Likewise.
2005         (scalbln_test): Likewise.
2006         (signbit_test): Likewise.
2007         (sin_test): Likewise.
2008         (sin_test_tonearest): Likewise.
2009         (sin_test_towardzero): Likewise.
2010         (sin_test_downward): Likewise.
2011         (sin_test_upward): Likewise.
2012         (sincos_test): Likewise.
2013         (sinh_test): Likewise.
2014         (sinh_test_tonearest): Likewise.
2015         (sinh_test_towardzero): Likewise.
2016         (sinh_test_downward): Likewise.
2017         (sinh_test_upward): Likewise.
2018         (sqrt_test): Likewise.
2019         (tan_test): Likewise.
2020         (tan_test_tonearest): Likewise.
2021         (tan_test_towardzero): Likewise.
2022         (tan_test_downward): Likewise.
2023         (tan_test_upward): Likewise.
2024         (tanh_test): Likewise.
2025         (tgamma_test): Likewise.
2026         (trunc_test): Likewise.
2027         (y0_test): Likewise.
2028         (y1_test): Likewise.
2029         (yn_test): Likewise.
2030         (significand_test): Likewise.
2031
2032 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
2033
2034         [BZ #15381]
2035         * libio/genops.c (_IO_no_init): Initialize wide struct info.
2036
2037 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2038
2039         [BZ #14894]
2040         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2041         __ppc_mdoio and __ppc_mdoom.
2042         * manual/platform.texi: Document new functions __ppc_yield,
2043         __ppc_mdoio and __ppc_mdoom.
2044
2045 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
2046
2047         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2048         (main): Mention "tls" pseudo-hwcap is legacy.
2049         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2050
2051 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
2052
2053         * math/gen-libm-test.pl (parse_args): Output only string of
2054         arguments as text for test name, not full call or descriptions of
2055         tests for extra outputs.
2056         (generate_testfile): Do not pass function name to parse_args.
2057         Generate this_func variable from START.
2058         * math/libm-test.inc (struct test_f_f_data): Rename test_name
2059         field to arg_str.
2060         (struct test_ff_f_data): Likewise.
2061         (test_ff_f_data_nexttoward): Likewise.
2062         (struct test_fi_f_data): Likewise.
2063         (struct test_fl_f_data): Likewise.
2064         (struct test_if_f_data): Likewise.
2065         (struct test_fff_f_data): Likewise.
2066         (struct test_c_f_data): Likewise.
2067         (struct test_f_f1_data): Likewise.  Remove field extra_name.
2068         (struct test_fF_f1_data): Likewise.
2069         (struct test_ffI_f1_data): Likewise.
2070         (struct test_c_c_data): Rename test_name field to arg_str.
2071         (struct test_cc_c_data): Likewise.
2072         (struct test_f_i_data): Likewise.
2073         (struct test_ff_i_data): Likewise.
2074         (struct test_f_l_data): Likewise.
2075         (struct test_f_L_data): Likewise.
2076         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
2077         and extra2_name.
2078         (COMMON_TEST_SETUP): New macro.
2079         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2080         (COMMON_TEST_CLEANUP): Likewise.
2081         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2082         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
2083         macros.
2084         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2085         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
2086         macros.
2087         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2088         (RUN_TEST_fff_f): Take argument string.  Call new setup and
2089         cleanup macros.
2090         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2091         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
2092         macros.
2093         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2094         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
2095         macros.
2096         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2097         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
2098         cleanup macros.
2099         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2100         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
2101         cleanup macros.
2102         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2103         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
2104         cleanup macros.
2105         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2106         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
2107         macros.
2108         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2109         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
2110         macros.
2111         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2112         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
2113         macros.
2114         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2115         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
2116         cleanup macros.
2117         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2118         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
2119         cleanup macros.
2120         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2121         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
2122         macros.
2123         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2124         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
2125         cleanup macros.
2126         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2127         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
2128         macros.
2129         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2130         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
2131         macros.
2132         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2133         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
2134         cleanup macros.
2135         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2136
2137 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
2138
2139         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2140         to _sifields.sigfault.
2141         (si_addr_lsb): Define new macro.
2142         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2143         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2144         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2145
2146 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
2147
2148         [BZ #15441]
2149         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2150         returns -1.
2151         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2152         null return -1.
2153         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2154         loading the domain.
2155
2156 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
2157
2158         * math/gen-libm-test.pl (parse_args): Do not include expected
2159         result in test name.
2160         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2161         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2162         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2163         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2164         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2166
2167 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2168
2169         * benchtests/Makefile: Sort function entries.
2170
2171         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2172         tanh, asinh, acosh, atanh.
2173         * benchtests/acos-inputs: New file.
2174         * benchtests/acosh-inputs: New file.
2175         * benchtests/asin-inputs: New file.
2176         * benchtests/asinh-inputs: New file.
2177         * benchtests/atanh-inputs: New file.
2178         * benchtests/cosh-inputs: New file.
2179         * benchtests/log-inputs: New file.
2180         * benchtests/sinh-inputs: New file.
2181         * benchtests/tanh-inputs: New file.
2182
2183 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
2184
2185         [BZ #15339]
2186         * posix/tst-getaddrinfo4.c: New test.
2187         * posix/Makefile (tests): Add it.
2188
2189 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2190
2191         [BZ #15339]
2192         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2193         when no services were used.
2194         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2195         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2196
2197 2013-05-21  Andreas Schwab  <schwab@suse.de>
2198
2199         [BZ #15014]
2200         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2201         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2202         successful.
2203         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2204         redundant variable declarations and reallocation of buffer when
2205         parsing as IPv6 address.  Always set NSS status when called from
2206         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
2207         buffer too small.  Correct computation of needed size.
2208         * nss/Makefile (tests): Add test-digits-dots.
2209         * nss/test-digits-dots.c: New test.
2210
2211 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2212
2213         * benchtests/Makefile: Remove instructions for adding
2214         benchmark tests.
2215         * benchtests/README: New file to explain how to execute and
2216         enhance the benchmark tests.
2217
2218 2013-05-21  Andreas Schwab  <schwab@suse.de>
2219
2220         [BZ #15493]
2221         * setjmp/Makefile (tests): Add tst-sigsetjmp.
2222         * setjmp/tst-sigsetjmp.c: New test.
2223
2224 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
2225
2226         * sysdeps/x86_64/memset.S (memset): New implementation.
2227         (__bzero): Likewise.
2228         (__memset_tail): New function.
2229
2230 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
2231
2232         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2233         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2234         __memcpy_sse2_unaligned ifunc selection.
2235         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2236         Add memcpy-sse2-unaligned.S.
2237         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2238         Add: __memcpy_sse2_unaligned.
2239
2240 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
2241
2242         [BZ #15490]
2243         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2244         math_force_eval before restoring floating-point envrionment.
2245         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2246         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2247         Likewise.
2248         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2249         <math_private.h>.
2250         (__nearbyintl): Use math_force_eval before restoring
2251         floating-point environment.
2252         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2253
2254         * math/gen-libm-test.pl (special_functions): Remove.
2255         (parse_args): Don't handle TEST_extra.  Handle functions with no
2256         return value.
2257         * math/libm-test.inc (struct test_sincos_data): Replace with
2258         struct test_fFF_11_data.
2259         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2260         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2261         (sincos_test_data): Change element type to struct
2262         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
2263         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2264         RUN_TEST_LOOP_sincos.
2265         * math/README.libm-test: Don't mention special handling of
2266         individual functions.
2267         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2268         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2269         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2270         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2271         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2273
2274         * math/gen-libm-test.pl (get_variable): Remove function.
2275         (parse_args): Don't show pointer parameters to call in test
2276         names.  Use "extra output N" in test names for extra outputs
2277         rather than naming variables.
2278
2279 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
2280
2281         [BZ #15488]
2282         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2283         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2284         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2285         double tests.
2286         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2287         disable.
2288         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2289         check_long_double.
2290
2291         * math/gen-libm-test.pl (@tests): Remove variable.
2292         ($count): Likewise.
2293         (new_test): Remove function.
2294         (show_exceptions): New function.
2295         (special_functions): Use show_exceptions instead of new_test.
2296         (parse_args): Likewise.
2297         (generate_testfile): Pass only function name in generated call to
2298         print_max_error or print_complex_max_error.
2299         (get_ulps): Do not handle complex tests specially.
2300         (output_test): Rename to ...
2301         (get_all_ulps_for_test): ... this.  Return a string rather than
2302         printing to a file.  Require ulps to be present.
2303         (output_ulps): Generate arrays rather than #defines.
2304         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2305         (struct ulp_data): New type.
2306         (BUILD_COMPLEX_ULP): Remove macro.
2307         (compare_ulp_data): New function.
2308         (find_ulps): Likewise.
2309         (find_test_ulps): Likewise.
2310         (find_function_ulps): Likewise.
2311         (find_complex_function_ulps): Likewise.
2312         (print_max_error): Determine allowed ulps using
2313         find_function_ulps.
2314         (print_complex_max_error): Determine allowed ulps using
2315         find_complex_function_ulps.
2316         (check_float_internal): Determine max ulps using find_test_ulps.
2317         (check_float): Do not take max_ulp parameter.  Update call to
2318         check_float_internal.
2319         (check_complex): Likewise.
2320         (check_int): Do not take max_ulp parameter.
2321         (check_long): Likewise.
2322         (check_bool): Likewise.
2323         (check_longlong): Likewise.
2324         (struct test_f_f_data): Remove max_ulp field.
2325         (struct test_ff_f_data): Likewise.
2326         (struct test_ff_f_data_nexttoward): Likewise.
2327         (struct test_fi_f_data): Likewise.
2328         (struct test_fl_f_data): Likewise.
2329         (struct test_if_f_data): Likewise.
2330         (struct test_fff_f_data): Likewise.
2331         (struct test_c_f_data): Likewise.
2332         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2333         (struct test_fF_f1_data): Likewise.
2334         (struct test_ffI_f1_data): Likewise.
2335         (struct test_c_c_data): Remove max_ulp field.
2336         (struct test_cc_c_data): Likewise.
2337         (struct test_f_i_data): Likewise.
2338         (struct test_ff_i_data): Likewise.
2339         (struct test_f_l_data): Likewise.
2340         (struct test_f_L_data): Likewise.
2341         (struct test_sincos_data): Likewise.
2342         (RUN_TEST_f_f): Do not handle ulps.
2343         (RUN_TEST_LOOP_f_f): Likewise.
2344         (RUN_TEST_2_f): Likewise.
2345         (RUN_TEST_LOOP_2_f): Likewise.
2346         (RUN_TEST_fff_f): Likewise.
2347         (RUN_TEST_LOOP_fff_f): Likewise.
2348         (RUN_TEST_c_f): Likewise.
2349         (RUN_TEST_LOOP_c_f): Likewise.
2350         (RUN_TEST_f_f1): Likewise.
2351         (RUN_TEST_LOOP_f_f1): Likewise.
2352         (RUN_TEST_fF_f1): Likewise.
2353         (RUN_TEST_LOOP_fF_f1): Likewise.
2354         (RUN_TEST_fI_f1): Likewise.
2355         (RUN_TEST_LOOP_fI_f1): Likewise.
2356         (RUN_TEST_ffI_f1): Likewise.
2357         (RUN_TEST_LOOP_ffI_f1): Likewise.
2358         (RUN_TEST_c_c): Likewise.
2359         (RUN_TEST_LOOP_c_c): Likewise.
2360         (RUN_TEST_cc_c): Likewise.
2361         (RUN_TEST_LOOP_cc_c): Likewise.
2362         (RUN_TEST_f_i): Likewise.
2363         (RUN_TEST_LOOP_f_i): Likewise.
2364         (RUN_TEST_f_i_tg): Likewise.
2365         (RUN_TEST_LOOP_f_i_tg): Likewise.
2366         (RUN_TEST_ff_i_tg): Likewise.
2367         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2368         (RUN_TEST_f_b): Likewise.
2369         (RUN_TEST_LOOP_f_b): Likewise.
2370         (RUN_TEST_f_b_tg): Likewise.
2371         (RUN_TEST_LOOP_f_b_tg): Likewise.
2372         (RUN_TEST_f_l): Likewise.
2373         (RUN_TEST_LOOP_f_l): Likewise.
2374         (RUN_TEST_f_L): Likewise.
2375         (RUN_TEST_LOOP_f_L): Likewise.
2376         (RUN_TEST_sincos): Likewise.
2377         (RUN_TEST_LOOP_sincos): Likewise.
2378
2379 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
2380
2381         [BZ #15480]
2382         [BZ #15485]
2383         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2384         main case of finite arguments, set rounding mode to FE_TONEAREST
2385         and discard exceptions.
2386         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2387         exceptions.
2388         (remainder_tonearest_test_data): New variable.
2389         (remainder_test_tonearest): New function.
2390         (remainder_towardzero_test_data): New variable.
2391         (remainder_test_towardzero): New function.
2392         (remainder_downward_test_data): New variable.
2393         (remainder_test_downward): New function.
2394         (remainder_upward_test_data): New variable.
2395         (remainder_test_upward): New function.
2396         (main): Call the new test functions.
2397
2398         * math/libm-test.inc (struct test_f_f1_data): Remove field
2399         extra_init.
2400         (struct test_fF_f1_data): Likewise.
2401         (struct test_ffI_f1_data): Likewise.
2402         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
2403         based on value of EXTRA_EXPECTED.
2404         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2405         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
2406         EXTRA_VAR based on value of EXTRA_EXPECTED.
2407         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2408         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
2409         EXTRA_VAR based on value of EXTRA_EXPECTED.
2410         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2411         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
2412         EXTRA_VAR based on value of EXTRA_EXPECTED.
2413         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2414         * math/gen-libm-test.pl (parse_args): Don't output initializers
2415         for extra output values.
2416
2417         * math/libm-test.inc (check_int): Expect result to be exactly
2418         equal to expected value and do not handle ulps.
2419         (check_long): Likewise.
2420         (check_longlong): Likewise.
2421
2422         * math/libm-test.inc (ceil_test_data): Test for "inexact"
2423         exceptions.
2424         (cimag_test_data): Likewise.
2425         (conj_test_data): Likewise.
2426         (copysign_test_data): Likewise.
2427         (cproj_test_data): Likewise.
2428         (creal_test_data): Likewise.
2429         (fabs_test_data): Likewise.
2430         (fdim_test_data): Likewise.
2431         (finite_test_data): Likewise.
2432         (floor_test_data): Likewise.
2433         (fmax_test_data): Likewise.
2434         (fmin_test_data): Likewise.
2435         (fmod_test_data): Likewise.
2436         (fpclassify_test_data): Likewise.
2437         (frexp_test_data): Likewise.
2438         (ilogb_test_data): Likewise.
2439         (isfinite_test_data): Likewise.
2440         (isgreater_test_data): Likewise.
2441         (isgreaterequal_test_data): Likewise.
2442         (isinf_test_data): Likewise.
2443         (isless_test_data): Likewise.
2444         (islessequal_test_data): Likewise.
2445         (islessgreater_test_data): Likewise.
2446         (isnan_test_data): Likewise.
2447         (isnormal_test_data): Likewise.
2448         (issignaling_test_data): Likewise.
2449         (isunordered_test_data): Likewise.
2450         (ldexp_test_data): Likewise.
2451         (lrint_test_data): Likewise.
2452         (lrint_test_data) [TEST_FLOAT]: Disable one test.
2453         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2454         (lrint_tonearest_test_data): Test for "inexact" exceptions.
2455         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2456         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2457         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2458         test input.
2459         (lrint_towardzero_test_data): Test for "inexact" exceptions.
2460         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2461         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2462         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2463         that test input.
2464         (lrint_downward_test_data): Test for "inexact" exceptions.
2465         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2466         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2467         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2468         test input.
2469         (lrint_upward_test_data): Test for "inexact" exceptions.
2470         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2471         test input.
2472         (llrint_test_data): Test for "inexact" exceptions.
2473         (llrint_test_data) [TEST_FLOAT]: Disable one test.
2474         (llrint_tonearest_test_data): Test for "inexact" exceptions.
2475         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2476         (llrint_towardzero_test_data): Test for "inexact" exceptions.
2477         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2478         (llrint_downward_test_data): Test for "inexact" exceptions.
2479         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2480         (llrint_upward_test_data): Test for "inexact" exceptions.
2481         (logb_test_data): Likewise.
2482         (logb_downward_test_data): Likewise.
2483         (nextafter_test_data): Likewise.
2484         (nexttoward_test_data): Likewise.
2485         (remainder_test_data): Likewise.
2486         (remquo_test_data): Likewise.
2487         (scalbn_test_data): Likewise.
2488         (scalbln_test_data): Likewise.
2489         (signbit_test_data): Likewise.
2490         (sqrt_test_data): Likewise.
2491         (significand_test_data): Likewise.
2492
2493 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2494
2495         [BZ #15424]
2496         * benchtests/bench-modf.c (struct args): Mark arg0 as
2497         volatile.
2498         * scripts/bench.pl: Mark members of struct args as volatile.
2499
2500 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2501
2502         [BZ # 15497]
2503         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2504         negative infinity on POWER6 or lower.
2505         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2506
2507 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
2508
2509         [BZ #15442]
2510         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2511         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2512         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2513         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2514         (_FP_SETQNAN): New macro.
2515         (_FP_SETQNAN_SEMIRAW): Likewise.
2516         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2517         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2518         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2519         (FP_EXTEND): Use _FP_FRAC_SNANP.
2520         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2521         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2522         into account.
2523         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2524         New macro.
2525         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2526         Likewise.
2527
2528 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2529
2530         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2531         with DIVIDE_BY_ZERO_EXCEPTION.
2532         (gamma_test_data): Likewise.
2533         (lgamma_test_data): Likewise.
2534         (log_test_data): Likewise.
2535         (log10_test_data): Likewise.
2536         (log2_test_data): Likewise.
2537         (tgamma_test_data): Likewise.
2538
2539         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2540         (acos_test_tonearest): Likewise.
2541         (acos_test_towardzero): Likewise.
2542         (acos_test_downward): Likewise.
2543         (acos_test_upward): Likewise.
2544         (acosh_test): Likewise.
2545         (asin_test): Likewise.
2546         (asin_test_tonearest): Likewise.
2547         (asin_test_towardzero): Likewise.
2548         (asin_test_downward): Likewise.
2549         (asin_test_upward): Likewise.
2550         (asinh_test): Likewise.
2551         (atan_test): Likewise.
2552         (atanh_test): Likewise.
2553         (atan2_test): Likewise.
2554         (cabs_test): Likewise.
2555         (cacos_test): Likewise.
2556         (cacosh_test): Likewise.
2557         (casin_test): Likewise.
2558         (casinh_test): Likewise.
2559         (catan_test): Likewise.
2560         (catanh_test): Likewise.
2561         (cbrt_test): Likewise.
2562         (ccos_test): Likewise.
2563         (ccosh_test): Likewise.
2564         (cexp_test): Likewise.
2565         (clog_test): Likewise.
2566         (clog10_test): Likewise.
2567         (cos_test): Likewise.
2568         (cos_test_tonearest): Likewise.
2569         (cos_test_towardzero): Likewise.
2570         (cos_test_downward): Likewise.
2571         (cos_test_upward): Likewise.
2572         (cosh_test): Likewise.
2573         (cosh_test_tonearest): Likewise.
2574         (cosh_test_towardzero): Likewise.
2575         (cosh_test_downward): Likewise.
2576         (cosh_test_upward): Likewise.
2577         (cpow_test): Likewise.
2578         (csin_test): Likewise.
2579         (csinh_test): Likewise.
2580         (csqrt_test): Likewise.
2581         (ctan_test): Likewise.
2582         (ctan_test_tonearest): Likewise.
2583         (ctan_test_towardzero): Likewise.
2584         (ctan_test_downward): Likewise.
2585         (ctan_test_upward): Likewise.
2586         (ctanh_test): Likewise.
2587         (ctanh_test_tonearest): Likewise.
2588         (ctanh_test_towardzero): Likewise.
2589         (ctanh_test_downward): Likewise.
2590         (ctanh_test_upward): Likewise.
2591         (erf_test): Likewise.
2592         (erfc_test): Likewise.
2593         (exp_test): Likewise.
2594         (exp_test_tonearest): Likewise.
2595         (exp_test_towardzero): Likewise.
2596         (exp_test_downward): Likewise.
2597         (exp_test_upward): Likewise.
2598         (exp10_test): Likewise.
2599         (exp2_test): Likewise.
2600         (expm1_test): Likewise.
2601         (fmod_test): Likewise.
2602         (gamma_test): Likewise.
2603         (hypot_test): Likewise.
2604         (j0_test): Likewise.
2605         (j1_test): Likewise.
2606         (jn_test): Likewise.
2607         (lgamma_test): Likewise.
2608         (log_test): Likewise.
2609         (log10_test): Likewise.
2610         (log1p_test): Likewise.
2611         (log2_test): Likewise.
2612         (logb_test_downward): Likewise.
2613         (pow_test): Likewise.
2614         (pow_test_tonearest): Likewise.
2615         (pow_test_towardzero): Likewise.
2616         (pow_test_downward): Likewise.
2617         (pow_test_upward): Likewise.
2618         (remainder_test): Likewise.
2619         (remquo_test): Likewise.
2620         (sin_test): Likewise.
2621         (sin_test_tonearest): Likewise.
2622         (sin_test_towardzero): Likewise.
2623         (sin_test_downward): Likewise.
2624         (sin_test_upward): Likewise.
2625         (sincos_test): Likewise.
2626         (sinh_test): Likewise.
2627         (sinh_test_tonearest): Likewise.
2628         (sinh_test_towardzero): Likewise.
2629         (sinh_test_downward): Likewise.
2630         (sinh_test_upward): Likewise.
2631         (sqrt_test): Likewise.
2632         (tan_test): Likewise.
2633         (tan_test_tonearest): Likewise.
2634         (tan_test_towardzero): Likewise.
2635         (tan_test_downward): Likewise.
2636         (tan_test_upward): Likewise.
2637         (tanh_test): Likewise.
2638         (tgamma_test): Likewise.
2639         (y0_test): Likewise.
2640         (y1_test): Likewise.
2641         (yn_test): Likewise.
2642
2643         * math/gen-libm-test.pl (adjust_arg): Remove function.
2644         (special_function): Remove argument $in_func.  Only handle
2645         generating output for tables of tests, not inside functions.
2646         (parse_args): Likewise.
2647         (generate_testfile): Remove variable $in_func.  Update call to
2648         parse_args.
2649         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2650         (MINUS_ZERO_INIT): Rename macro to minus_zero.
2651         (PLUS_INFTY_INIT): Rename macro to plus_infty.
2652         (MINUS_INFTY_INIT): Rename macro to minus_infty.
2653         (QNAN_VALUE_INIT): Rename macro to qnan_value.
2654         (MAX_VALUE_INIT): Rename macro to max_value.
2655         (MIN_VALUE_INIT): Rename macro to min_value.
2656         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2657         (plus_zero): Remove variable.
2658         (minus_zero): Likewise.
2659         (plus_infty): Likewise.
2660         (minus_infty): Likewise.
2661         (qnan_value): Likewise.
2662         (max_value): Likewise.
2663         (min_value): Likewise.
2664         (min_subnorm_value): Likewise.
2665
2666 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2667
2668         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2669         uint64_t or uint32_t usage.
2670         * crypt/sha256-block.c: Likewise.
2671         * crypt/sha256-crypt.c: Likewise.
2672         * crypt/sha256.c: Likewise.
2673         * crypt/sha512-block.c: Likewise.
2674         * crypt/sha512-crypt.c: Likewise.
2675         * crypt/sha512.c: Likewise.
2676         * debug/backtrace-tst.c: Likewise.
2677         * debug/pcprofiledump.c: Likewise.
2678         * elf/cache.c: Likewise.
2679         * elf/dl-cache.c: Likewise.
2680         * elf/dl-misc.c: Likewise.
2681         * elf/dl-profile.c: Likewise.
2682         * elf/dl-support.c: Likewise.
2683         * elf/ldconfig.c: Likewise.
2684         * elf/sprof.c: Likewise.
2685         * iconv/dummy-repertoire.c: Likewise.
2686         * iconv/iconv_charmap.c: Likewise.
2687         * iconv/skeleton.c: Likewise.
2688         * iconvdata/8bit-generic.c: Likewise.
2689         * iconvdata/cp737.h: Likewise.
2690         * iconvdata/cp775.h: Likewise.
2691         * iconvdata/ibm1008.h: Likewise.
2692         * iconvdata/ibm1025.h: Likewise.
2693         * iconvdata/ibm1046.h: Likewise.
2694         * iconvdata/ibm1097.h: Likewise.
2695         * iconvdata/ibm1112.h: Likewise.
2696         * iconvdata/ibm1122.h: Likewise.
2697         * iconvdata/ibm1123.h: Likewise.
2698         * iconvdata/ibm1124.h: Likewise.
2699         * iconvdata/ibm1129.h: Likewise.
2700         * iconvdata/ibm1130.h: Likewise.
2701         * iconvdata/ibm1132.h: Likewise.
2702         * iconvdata/ibm1133.h: Likewise.
2703         * iconvdata/ibm1137.h: Likewise.
2704         * iconvdata/ibm1140.h: Likewise.
2705         * iconvdata/ibm1141.h: Likewise.
2706         * iconvdata/ibm1142.h: Likewise.
2707         * iconvdata/ibm1143.h: Likewise.
2708         * iconvdata/ibm1144.h: Likewise.
2709         * iconvdata/ibm1145.h: Likewise.
2710         * iconvdata/ibm1146.h: Likewise.
2711         * iconvdata/ibm1147.h: Likewise.
2712         * iconvdata/ibm1148.h: Likewise.
2713         * iconvdata/ibm1149.h: Likewise.
2714         * iconvdata/ibm1153.h: Likewise.
2715         * iconvdata/ibm1154.h: Likewise.
2716         * iconvdata/ibm1155.h: Likewise.
2717         * iconvdata/ibm1156.h: Likewise.
2718         * iconvdata/ibm1157.h: Likewise.
2719         * iconvdata/ibm1158.h: Likewise.
2720         * iconvdata/ibm1160.h: Likewise.
2721         * iconvdata/ibm1161.h: Likewise.
2722         * iconvdata/ibm1162.h: Likewise.
2723         * iconvdata/ibm1163.h: Likewise.
2724         * iconvdata/ibm1164.h: Likewise.
2725         * iconvdata/ibm1166.h: Likewise.
2726         * iconvdata/ibm1167.h: Likewise.
2727         * iconvdata/ibm12712.h: Likewise.
2728         * iconvdata/ibm1390.h: Likewise.
2729         * iconvdata/ibm1399.h: Likewise.
2730         * iconvdata/ibm16804.h: Likewise.
2731         * iconvdata/ibm4517.h: Likewise.
2732         * iconvdata/ibm4899.h: Likewise.
2733         * iconvdata/ibm4909.h: Likewise.
2734         * iconvdata/ibm4971.h: Likewise.
2735         * iconvdata/ibm5347.h: Likewise.
2736         * iconvdata/ibm803.h: Likewise.
2737         * iconvdata/ibm856.h: Likewise.
2738         * iconvdata/ibm901.h: Likewise.
2739         * iconvdata/ibm902.h: Likewise.
2740         * iconvdata/ibm9030.h: Likewise.
2741         * iconvdata/ibm9066.h: Likewise.
2742         * iconvdata/ibm921.h: Likewise.
2743         * iconvdata/ibm922.h: Likewise.
2744         * iconvdata/ibm9448.h: Likewise.
2745         * iconvdata/isiri-3342.h: Likewise.
2746         * iconvdata/jis0201.h: Likewise.
2747         * include/link.h: Likewise.
2748         * include/netdb.h: Likewise.
2749         * inet/check_native.c: Likewise.
2750         * inet/check_pf.c: Likewise.
2751         * inet/getipv4sourcefilter.c: Likewise.
2752         * inet/getnameinfo.c: Likewise.
2753         * inet/getsourcefilter.c: Likewise.
2754         * inet/htonl.c: Likewise.
2755         * inet/setipv4sourcefilter.c: Likewise.
2756         * inet/setsourcefilter.c: Likewise.
2757         * inet/test-inet6_opt.c: Likewise.
2758         * inet/tst-network.c: Likewise.
2759         * locale/C-collate.c: Likewise.
2760         * locale/C-ctype.c: Likewise.
2761         * locale/C-time.c: Likewise.
2762         * locale/C-translit.h: Likewise.
2763         * locale/loadarchive.c: Likewise.
2764         * locale/programs/3level.h: Likewise.
2765         * locale/programs/charmap.c: Likewise.
2766         * locale/programs/charmap.h: Likewise.
2767         * locale/programs/ld-address.c: Likewise.
2768         * locale/programs/ld-collate.c: Likewise.
2769         * locale/programs/ld-ctype.c: Likewise.
2770         * locale/programs/ld-identification.c: Likewise.
2771         * locale/programs/ld-measurement.c: Likewise.
2772         * locale/programs/ld-messages.c: Likewise.
2773         * locale/programs/ld-monetary.c: Likewise.
2774         * locale/programs/ld-name.c: Likewise.
2775         * locale/programs/ld-numeric.c: Likewise.
2776         * locale/programs/ld-paper.c: Likewise.
2777         * locale/programs/ld-telephone.c: Likewise.
2778         * locale/programs/ld-time.c: Likewise.
2779         * locale/programs/linereader.c: Likewise.
2780         * locale/programs/locale.c: Likewise.
2781         * locale/programs/locarchive.c: Likewise.
2782         * locale/programs/locfile.h: Likewise.
2783         * locale/programs/repertoire.c: Likewise.
2784         * locale/programs/simple-hash.c: Likewise.
2785         * locale/programs/simple-hash.h: Likewise.
2786         * malloc/memusage.c: Likewise.
2787         * malloc/memusagestat.c: Likewise.
2788         * nis/nis_defaults.c: Likewise.
2789         * nis/nis_hash.c: Likewise.
2790         * nis/nis_print.c: Likewise.
2791         * nis/nis_xdr.c: Likewise.
2792         * nscd/connections.c: Likewise.
2793         * nscd/hstcache.c: Likewise.
2794         * nscd/nscd_gethst_r.c: Likewise.
2795         * nscd/nscd_getserv_r.c: Likewise.
2796         * nscd/nscd_helper.c: Likewise.
2797         * nscd/servicescache.c: Likewise.
2798         * nss/makedb.c: Likewise.
2799         * nss/nss_db/db-XXX.c: Likewise.
2800         * nss/nss_db/db-initgroups.c: Likewise.
2801         * nss/nss_db/db-netgrp.c: Likewise.
2802         * nss/nss_files/files-network.c: Likewise.
2803         * nss/nss_files/files-parse.c: Likewise.
2804         * posix/bug-regex5.c: Likewise.
2805         * posix/fnmatch_loop.c: Likewise.
2806         * posix/regcomp.c: Likewise.
2807         * posix/regexec.c: Likewise.
2808         * posix/tst-rfc3484-2.c: Likewise.
2809         * posix/tst-rfc3484-3.c: Likewise.
2810         * posix/tst-rfc3484.c: Likewise.
2811         * resolv/nss_dns/dns-canon.c: Likewise.
2812         * resolv/nss_dns/dns-network.c: Likewise.
2813         * resolv/res_init.c: Likewise.
2814         * resolv/res_mkquery.c: Likewise.
2815         * resolv/tst-aton.c: Likewise.
2816         * stdlib/cxa_atexit.c: Likewise.
2817         * stdlib/cxa_finalize.c: Likewise.
2818         * stdlib/gen-fpioconst.c: Likewise.
2819         * stdlib/strtol_l.c: Likewise.
2820         * string/tst-endian.c: Likewise.
2821         * sunrpc/auth_des.c: Likewise.
2822         * sunrpc/clnt_udp.c: Likewise.
2823         * sunrpc/rtime.c: Likewise.
2824         * sunrpc/svcauth_des.c: Likewise.
2825         * sunrpc/xdr.c: Likewise.
2826         * sunrpc/xdr_intXX_t.c: Likewise.
2827         * sunrpc/xdr_rec.c: Likewise.
2828         * sysdeps/generic/ldconfig.h: Likewise.
2829         * sysdeps/generic/ldsodefs.h: Likewise.
2830         * sysdeps/generic/memusage.h: Likewise.
2831         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2832         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2833         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2834         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2835         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2836         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2837         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2838         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2839         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2840         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2841         * sysdeps/posix/getaddrinfo.c: Likewise.
2842         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2843         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2844         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2845         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2846         * sysdeps/powerpc/test-gettimebase.c: Likewise.
2847         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2848         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2849         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2850         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2851         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2852         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2853         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2854         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2855         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2856         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2857         * sysdeps/x86_64/dl-tls.h: Likewise.
2858         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2859         * time/alt_digit.c: Likewise.
2860         * time/era.c: Likewise.
2861         * wcsmbs/tst-c16c32-1.c: Likewise.
2862
2863 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2864
2865         * math/libm-test.inc (struct test_sincos_data): New type.
2866         (RUN_TEST_LOOP_sincos): New macro.
2867         (sincos_test_data): New variable.
2868         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2869
2870 2013-05-16  Richard Henderson  <rth@redhat.com>
2871
2872         * math/atest-exp2.c (LIMB64): New macro.
2873         (CONSTSZ): New macro.
2874         (mp_exp1, mp_exp_m1, mp_log2): New variables.
2875         (hexdig): Move ...
2876         (print_mpn_fp): ... to function scope.
2877         (read_mpn_hex): Remove.
2878         (get_log2): Remove.
2879         (exp2_mpn): Use mp_log2.
2880         (main): Use mp_exp1.
2881
2882 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2883
2884         * math/libm-test.inc: Remove comment about not testing "inexact"
2885         exceptions.
2886         (INEXACT_EXCEPTION): New macro.
2887         (NO_INEXACT_EXCEPTION): Likewise.
2888         (INVALID_EXCEPTION_OK): Update value.
2889         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2890         (OVERFLOW_EXCEPTION_OK): Likewise.
2891         (UNDERFLOW_EXCEPTION_OK): Likewise.
2892         (IGNORE_ZERO_INF_SIGN): Likewise.
2893         (ERRNO_UNCHANGED): Likewise.
2894         (ERRNO_EDOM): Likewise.
2895         (ERRNO_ERANGE): Likewise.
2896         (test_exceptions): Handle testing "inexact" exceptions.
2897         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2898         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2899         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2900         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2901         INEXACT_EXCEPTION.
2902         (rint_towardzero_test_data): Likewise.
2903         (rint_downward_test_data): Likewise.
2904         (rint_upward_test_data): Likewise.
2905
2906         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2907         with OVERFLOW_EXCEPTION.
2908         (exp10_test_data): Likewise.
2909         (exp2_test_data): Likewise.
2910         (expm1_test_data): Likewise.
2911         (lgamma_test_data): Likewise.
2912         (pow_test_data): Likewise.
2913         (tgamma_test_data): Likewise.
2914         (yn_test_data): Remove duplicate test of overflow.
2915
2916         * math/libm-test.inc (struct test_cc_c_data): New type.
2917         (RUN_TEST_LOOP_cc_c): New macro.
2918         (cpow_test_data): New variable.
2919         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2920
2921         * math/libm-test.inc (struct test_f_L_data): New type.
2922         (RUN_TEST_LOOP_f_L): New macro.
2923         (llrint_test_data): New variable.
2924         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2925         (llrint_tonearest_test_data): New variable.
2926         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2927         (llrint_towardzero_test_data): New variable.
2928         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2929         (llrint_downward_test_data): New variable.
2930         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2931         (llrint_upward_test_data): New variable.
2932         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2933         (llround_test_data): New variable.
2934         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2935
2936 2013-05-13  Peter Collingbourne  <pcc@google.com>
2937
2938         * math/atest-exp2.c (get_log2): Remove const attribute.
2939
2940 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2941
2942         * math/libm-test.inc (struct test_f_l_data): New type.
2943         (RUN_TEST_LOOP_f_l): New macro.
2944         (lrint_test_data): New variable.
2945         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2946         (lrint_tonearest_test_data): New variable.
2947         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2948         (lrint_towardzero_test_data): New variable.
2949         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2950         (lrint_downward_test_data): New variable.
2951         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2952         (lrint_upward_test_data): New variable.
2953         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2954         (lround_test_data): New variable.
2955         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2956
2957 2013-05-15  Peter Collingbourne  <pcc@google.com>
2958
2959         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2960         (EXTRACT_WORDS64) Use where appropriate.
2961         (INSERT_WORDS64) Likewise.
2962
2963         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2964         constraints with x constraints.
2965         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2966
2967         * malloc/obstack.c (_obstack_compat): Add initializer.
2968
2969 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2970
2971         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2972         si_trapno and add si_addr_lsb to _sifields.sigfault.
2973         (si_trapno): Remove macro.
2974         (si_addr_lsb): Define new macro.
2975         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2976
2977 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2978
2979         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2980         instead of TEST_f_l.
2981         (llrint_test_tonearest): Likewise.
2982         (llrint_test_towardzero): Likewise.
2983         (llrint_test_downward): Likewise.
2984         (llrint_test_upward): Likewise.
2985         (llround_test): Likewise.
2986
2987         * math/libm-test.inc (struct test_f_i_data): Add comment.
2988         (RUN_TEST_LOOP_f_b): New macro.
2989         (RUN_TEST_LOOP_f_b_tg): Likewise.
2990         (finite_test_data): New variable.
2991         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2992         (isfinite_test_data): New variable.
2993         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2994         (isinf_test_data): New variable.
2995         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2996         (isnan_test_data): New variable.
2997         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2998         (isnormal_test_data): New variable.
2999         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3000         (issignaling_test_data): New variable.
3001         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3002         (signbit_test_data): New variable.
3003         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3004
3005         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3006         with INVALID_EXCEPTION.
3007         (acosh_test_data): Likewise.
3008         (asin_test_data): Likewise.
3009         (atanh_test_data): Likewise.
3010         (fmod_test_data): Likewise.
3011         (log_test_data): Likewise.
3012         (log10_test_data): Likewise.
3013         (log2_test_data): Likewise.
3014         (pow_test_data): Likewise.
3015         (sqrt_test_data): Likewise.
3016         (y0_test_data): Likewise.
3017         (y1_test_data): Likewise.
3018         (yn_test_data): Likewise.
3019
3020         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3021         function contents.
3022
3023         * math/libm-test.inc (struct test_ff_i_data): New type.
3024         (RUN_TEST_LOOP_ff_i_tg): New macro.
3025         (isgreater_test_data): New variable.
3026         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3027         (isgreaterequal_test_data): New variable.
3028         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3029         (isless_test_data): New variable.
3030         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3031         (islessequal_test_data): New variable.
3032         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3033         (islessgreater_test_data): New variable.
3034         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3035         (isunordered_test_data): New variable.
3036         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3037
3038 2013-05-14  David S. Miller  <davem@davemloft.net>
3039
3040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3041
3042 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
3043
3044         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3045
3046         * math/libm-test.inc (struct test_fF_f1_data): Change type of
3047         extra_test to int.
3048         (struct test_f_i_data): Change type of max_ulp to int.
3049
3050         * math/libm-test.inc (test_ffI_f1_data): New type.
3051         (RUN_TEST_LOOP_ffI_f1): New macro.
3052         (remquo_test_data): New variable.
3053         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3054
3055         * setjmp/tst-setjmp-fp.c: New file.
3056         * setjmp/Makefile (tests): Add tst-setjmp-fp.
3057         (link-libm): New variable.
3058         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3059
3060         * math/libm-test.inc (struct test_f_i_data): New type.
3061         (RUN_TEST_LOOP_f_i): New macro.
3062         (RUN_TEST_LOOP_f_i_tg): Likewise.
3063         (fpclassify_test_data): New variable.
3064         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3065         (ilogb_test_data): New variable.
3066         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3067
3068         * math/libm-test.inc (scalbln_test): Correct function name in END
3069         call.
3070
3071         * math/libm-test.inc (struct test_f_f1_data): Add comment.
3072         (RUN_TEST_LOOP_fI_f1): New macro.
3073         (frexp_test_data): New variable.
3074         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3075
3076         * math/libm-test.inc (struct test_fF_f1_data): New type.
3077         (RUN_TEST_LOOP_fF_f1): New macro.
3078         (modf_test_data): New variable.
3079         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3080
3081         * math/libm-test.inc (struct test_f_f1_data): New type.
3082         (RUN_TEST_LOOP_f_f1): New macro.
3083         (gamma_test_data): New variable.
3084         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3085         (lgamma_test_data): New variable.
3086         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3087
3088 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
3089
3090         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3091         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3092         (main): Comment "tls" pseudo-hwcap.
3093
3094 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
3095
3096         * math/libm-test.inc (struct test_fl_f_data): New type.
3097         (RUN_TEST_LOOP_fl_f): New variable.
3098         (scalbln_test_data): New variable.
3099         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3100
3101         * math/libm-test.inc (struct test_fi_f_data): New type.
3102         (RUN_TEST_LOOP_fi_f): New macro.
3103         (ldexp_test_data): New variable.
3104         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3105         (scalbn_test_data): New variable.
3106         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3107
3108         * math/libm-test.inc (struct test_c_f_data): New type.
3109         (RUN_TEST_LOOP_c_f): New macro.
3110         (cabs_test_data): New variable.
3111         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3112         (carg_test_data): New variable.
3113         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3114         (cimag_test_data): New variable.
3115         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3116         (creal_test_data): New variable.
3117         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3118
3119         * math/libm-test.inc (struct test_if_f_data): New type.
3120         (RUN_TEST_LOOP_if_f): New macro.
3121         (jn_test_data): New variable.
3122         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3123         (yn_test_data): New variable.
3124         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3125
3126         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3127
3128 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3129
3130         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3131         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3132
3133 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3134
3135         * benchtests/Makefile (CPPFLAGS-nonlib): Add
3136         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3137         (bench-deps): Add bench-timing.h.
3138         * benchtests-bench-skeleton.c: Include bench-timing.h.
3139         (main): Use TIMING_* macros instead of clock_gettime.
3140         * benchtests/bench-timing.h: New file.
3141
3142         [BZ #14582]
3143         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3144         Renamed from _LIB_VERSION.
3145         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3146
3147 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
3148
3149         * math/libm-test.inc (struct test_fff_f_data): New type.
3150         (RUN_TEST_LOOP_fff_f): New macro.
3151         (fma_test_data): New variable.
3152         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3153         (fma_towardzero_test_data): New variable.
3154         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3155         (fma_downward_test_data): New variable.
3156         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3157         (fma_upward_test_data): New variable.
3158         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3159
3160         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3161         (struct test_c_c_data): New type.
3162         (RUN_TEST_LOOP_c_c): New macro.
3163         (cacos_test_data): New variable.
3164         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3165         (cacosh_test_data): New variable.
3166         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3167         (casin_test_data): New variable.
3168         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3169         (casinh_test_data): New variable.
3170         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3171         (catan_test_data): New variable.
3172         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3173         (catanh_test_data): New variable.
3174         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3175         (ccos_test_data): New variable.
3176         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3177         (ccosh_test_data): New variable.
3178         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3179         (cexp_test_data): New variable.
3180         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3181         (clog_test_data): New variable.
3182         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3183         (clog10_test_data): New variable.
3184         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3185         (conj_test_data): New variable.
3186         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3187         (cproj_test_data): New variable.
3188         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3189         (csin_test_data): New variable.
3190         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3191         (csinh_test_data): New variable.
3192         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3193         (csqrt_test_data): New variable.
3194         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3195         (ctan_test_data): New variable.
3196         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3197         (ctan_tonearest_test_data): New variable.
3198         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3199         (ctan_towardzero_test_data): New variable.
3200         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3201         (ctan_downward_test_data): New variable.
3202         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3203         (ctan_upward_test_data): New variable.
3204         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3205         (ctanh_test_data): New variable.
3206         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3207         (ctanh_tonearest_test_data): New variable.
3208         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3209         (ctanh_towardzero_test_data): New variable.
3210         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3211         (ctanh_downward_test_data): New variable.
3212         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3213         (ctanh_upward_test_data): New variable.
3214         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3215         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3216         of BUILD_COMPLEX.
3217
3218         * math/libm-test.inc (struct test_ff_f_data): New type.
3219         (struct test_ff_f_data_nexttoward): Likewise.
3220         (RUN_TEST_LOOP_2_f): New macro.
3221         (RUN_TEST_LOOP_ff_f): Likewise.
3222         (atan2_test_data): New variable.
3223         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3224         (copysign_test_data): New variable.
3225         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3226         (fdim_test_data): New variable.
3227         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3228         (fmax_test_data): New variable.
3229         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3230         (fmin_test_data): New variable.
3231         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3232         (fmod_test_data): New variable.
3233         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3234         (hypot_test_data): New variable.
3235         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3236         (nextafter_test_data): New variable.
3237         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3238         (nexttoward_test_data): New variable.
3239         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3240         (pow_test_data): New variable.
3241         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3242         (pow_tonearest_test_data): New variable.
3243         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3244         (pow_towardzero_test_data): New variable.
3245         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3246         (pow_downward_test_data): New variable.
3247         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3248         (pow_upward_test_data): New variable.
3249         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3250         (remainder_test_data): New variable.
3251         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3252         (scalb_test_data): New variable.
3253         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3254         * sysdeps/i386/fpu/libm-test-ulps: Update.
3255
3256 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
3257
3258         * math/libm-test.inc (fma_test): Use max_value instead of local
3259         variable fltmax.
3260         (nextafter_test): Likewise.
3261
3262         * math/libm-test.inc (acos_towardzero_test_data): New variable.
3263         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3264         (acos_downward_test_data): New variable.
3265         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3266         (acos_upward_test_data): New variable.
3267         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3268         (acosh_test_data): New variable.
3269         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3270         (asin_test_data): New variable.
3271         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3272         (asin_tonearest_test_data): New variable.
3273         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3274         (asin_towardzero_test_data): New variable.
3275         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3276         (asin_downward_test_data): New variable.
3277         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3278         (asin_upward_test_data): New variable.
3279         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3280         (asinh_test_data): New variable.
3281         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3282         (atan_test_data): New variable.
3283         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3284         (atanh_test_data): New variable.
3285         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3286         (cbrt_test_data): New variable.
3287         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3288         (ceil_test_data): New variable.
3289         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3290         (cos_test_data): New variable.
3291         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3292         (cos_tonearest_test_data): New variable.
3293         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3294         (cos_towardzero_test_data): New variable.
3295         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3296         (cos_downward_test_data): New variable.
3297         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3298         (cos_upward_test_data): New variable.
3299         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3300         (cosh_test_data): New variable.
3301         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3302         (cosh_tonearest_test_data): New variable.
3303         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3304         (cosh_towardzero_test_data): New variable.
3305         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3306         (cosh_downward_test_data): New variable.
3307         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3308         (cosh_upward_test_data): New variable.
3309         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3310         (erf_test_data): New variable.
3311         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3312         (erfc_test_data): New variable.
3313         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3314         (exp_test_data): New variable.
3315         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3316         (exp_tonearest_test_data): New variable.
3317         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3318         (exp_towardzero_test_data): New variable.
3319         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3320         (exp_downward_test_data): New variable.
3321         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3322         (exp_upward_test_data): New variable.
3323         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3324         (exp10_test_data): New variable.
3325         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3326         (exp2_test_data): New variable.
3327         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3328         (expm1_test_data): New variable.
3329         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3330         (fabs_test_data): New variable.
3331         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3332         (floor_test_data): New variable.
3333         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3334         (j0_test_data): New variable.
3335         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3336         (j1_test_data): New variable.
3337         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3338         (log_test_data): New variable.
3339         (log_test): Run tests with RUN_TEST_LOOP_f_f.
3340         (log10_test_data): New variable.
3341         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3342         (log1p_test_data): New variable.
3343         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3344         (log2_test_data): New variable.
3345         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3346         (logb_test_data): New variable.
3347         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3348         (logb_downward_test_data): New variable.
3349         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3350         (nearbyint_test_data): New variable.
3351         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3352         (rint_test_data): New variable.
3353         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3354         (rint_tonearest_test_data): New variable.
3355         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3356         (rint_towardzero_test_data): New variable.
3357         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3358         (rint_downward_test_data): New variable.
3359         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3360         (rint_upward_test_data): New variable.
3361         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3362         (round_test_data): New variable.
3363         (round_test): Run tests with RUN_TEST_LOOP_f_f.
3364         (sin_test_data): New variable.
3365         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3366         (sin_tonearest_test_data): New variable.
3367         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3368         (sin_towardzero_test_data): New variable.
3369         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3370         (sin_downward_test_data): New variable.
3371         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3372         (sin_upward_test_data): New variable.
3373         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3374         (sinh_test_data): New variable.
3375         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3376         (sinh_tonearest_test_data): New variable.
3377         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3378         (sinh_towardzero_test_data): New variable.
3379         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3380         (sinh_downward_test_data): New variable.
3381         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3382         (sinh_upward_test_data): New variable.
3383         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3384         (sqrt_test_data): New variable.
3385         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3386         (tan_test_data): New variable.
3387         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3388         (tan_tonearest_test_data): New variable.
3389         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3390         (tan_towardzero_test_data): New variable.
3391         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3392         (tan_downward_test_data): New variable.
3393         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3394         (tan_upward_test_data): New variable.
3395         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3396         (tanh_test_data): New variable.
3397         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3398         (tgamma_test_data): New variable.
3399         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3400         (trunc_test_data): New variable.
3401         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3402         (y0_test_data): New variable.
3403         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3404         (y1_test_data): New variable.
3405         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3406         (significand_test_data): New variable.
3407         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3408
3409 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
3410
3411         [BZ #12387]
3412         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3413
3414 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3415
3416         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3417
3418 2013-05-10  Andreas Jaeger  <aj@suse.de>
3419
3420         [BZ #15448]
3421         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3422         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3423
3424 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
3425
3426         * math/gen-libm-test.pl (adjust_arg): New function.
3427         (special_functions): Handle generating output in both functions
3428         and arrays.
3429         (parse_args): Likewise.
3430         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
3431         $in_func argument to parse_args.
3432         * math/libm-test.inc (struct test_f_f_data): New type.
3433         (IF_ROUND_INIT_): New macro.
3434         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3435         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3436         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3437         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3438         (ROUND_RESTORE_): Likewise.
3439         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3440         (ROUND_RESTORE_FE_TONEAREST): Likewise.
3441         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3442         (ROUND_RESTORE_FE_UPWARD): Likewise.
3443         (RUN_TEST_LOOP_f_f): New macro.
3444         (acos_test_data): New variable.
3445         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3446         (acos_tonearest_test_data): New variable.
3447         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3448
3449 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3450
3451         * benchtests/bench-skeleton.c (startup): Fix coding style.
3452
3453 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
3454
3455         [BZ #6809]
3456         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3457         negative infinity argument.
3458         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3459         negative infinity argument.
3460         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3461         negative infinity argument.
3462         * math/libm-test.inc (tgamma_test): Expect errno to be set for
3463         domain errors.
3464
3465 2013-05-10  Florian Weimer  <fweimer@redhat.com>
3466
3467         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3468         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3469         * iconv/iconv_prog.c (main): Likewise.
3470         * locale/programs/charmap-dir.c (charmap_readdir)
3471         (fopen_uncompressed): Likewise.
3472         * locale/programs/locfile.c (siblings_uncached)
3473         (write_locale_data): Use lstat64 instead of lstat.
3474         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3475         stat.
3476
3477 2013-05-10  Andreas Jaeger  <aj@suse.de>
3478
3479         [BZ #15395]
3480         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3481         localization.
3482         Include <locale.h>.
3483
3484 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
3485
3486         * elf/dl-close.c (_dl_close_worker): Add comments.
3487
3488 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
3489
3490         [BZ #15359]
3491         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3492         high part of pi/2.
3493         (__ieee754_rem_pio2l): Update comments.
3494
3495         [BZ #15429]
3496         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3497         high part of pi/2.
3498         (__ieee754_rem_pio2l): Update comments.
3499
3500         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3501         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3502
3503         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3504         M_PI_4l.
3505
3506         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3507         (M_PI_34_LOG10El): Likewise.
3508         (M_PI2_LOG10El): Likewise.
3509         (M_PI4_LOG10El): Likewise.
3510         (M_PI_LOG10El): Likewise.
3511
3512 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3513
3514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3515
3516 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
3517
3518         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3519         (MINUS_ZERO_INIT): Likewise.
3520         (PLUS_INFTY_INIT): Likewise.
3521         (MINUS_INFTY_INIT): Likewise.
3522         (QNAN_VALUE_INIT): Likewise.
3523         (MAX_VALUE_INIT): Likewise.
3524         (MIN_VALUE_INIT): Likewise.
3525         (MIN_SUBNORM_VALUE_INIT): Likewise.
3526         (plus_zero): Initialize with PLUS_ZERO_INIT.
3527         (minus_zero): Initialize with MINUS_ZERO_INIT.
3528         (plus_infty): Initialize with PLUS_INFTY_INIT.
3529         (minus_infty): Initialize with MINUS_INFTY_INIT.
3530         (qnan_value): Initialize with QNAN_VALUE_INIT.
3531         (max_value): Initialize with MAX_VALUE_INIT.
3532         (min_value): Initialize with MIN_VALUE_INIT.
3533         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3534
3535         * math/libm-test.inc (RUN_TEST_if_f): New macro.
3536         (jn_test): Use TEST_if_f instead of TEST_ff_f.
3537         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3538         (yn_test): Use TEST_if_f instead of TEST_ff_f.
3539
3540         * math/libm-test.inc (RUN_TEST_f_f): New macro.
3541         (RUN_TEST_2_f): Likewise.
3542         (RUN_TEST_ff_f): Likewise.
3543         (RUN_TEST_fi_f): Likewise.
3544         (RUN_TEST_fl_f): Likewise.
3545         (RUN_TEST_fff_f): Likewise.
3546         (RUN_TEST_c_f): Likewise.
3547         (RUN_TEST_f_f1): Likewise.
3548         (RUN_TEST_fF_f1): Likewise.
3549         (RUN_TEST_fI_f1): Likewise.
3550         (RUN_TEST_ffI_f1): Likewise.
3551         (RUN_TEST_c_c): Likewise.
3552         (RUN_TEST_cc_c): Likewise.
3553         (RUN_TEST_f_i): Likewise.
3554         (RUN_TEST_f_i_tg): Likewise.
3555         (RUN_TEST_ff_i_tg): Likewise.
3556         (RUN_TEST_f_b): Likewise.
3557         (RUN_TEST_f_b_tg): Likewise.
3558         (RUN_TEST_f_l): Likewise.
3559         (RUN_TEST_f_L): Likewise.
3560         (RUN_TEST_sincos): Likewise.
3561         * math/gen-libm-test.pl (new_test): Take new argument to indicate
3562         whether to show exceptions.  Do not include ");\n" in return
3563         value.
3564         (special_functions): Output call to RUN_TEST_sincos instead of
3565         check_float calls.  Update calls to new_test.
3566         (parse_args): Output call to single RUN_TEST_* macro instead of
3567         check_* calls and other assignments.  Update calls to new_test.
3568
3569         [BZ #2546]
3570         [BZ #2560]
3571         [BZ #5159]
3572         [BZ #15426]
3573         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3574         input to result for tgamma overflow.
3575         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3576         (gamma_coeff): New variable.
3577         (NCOEFF): New macro.
3578         (gamma_positive): New function.
3579         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3580         underflow here.  Use gamma_positive instead of exp (lgamma) for
3581         other arguments.
3582         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3583         (gamma_coeff): New variable.
3584         (NCOEFF): New macro.
3585         (gammaf_positive): New function.
3586         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3587         underflow here.  Use gamma_positive instead of exp (lgamma) for
3588         other arguments.
3589         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3590         (gamma_coeff): New variable.
3591         (NCOEFF): New macro.
3592         (gammal_positive): New function.
3593         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3594         underflow here.  Use gamma_positive instead of exp (lgamma) for
3595         other arguments.
3596         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3597         (gamma_coeff): New variable.
3598         (NCOEFF): New macro.
3599         (gammal_positive): New function.
3600         (__ieee754_gammal_r): Handle positive infinity, overflow and
3601         underflow here.  Handle NaN the same as positive infinity.  Remove
3602         check x < 0xffffffff for negative integers.  Use gamma_positive
3603         instead of exp (lgamma) for other arguments.
3604         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3605         (gamma_coeff): New variable.
3606         (NCOEFF): New macro.
3607         (gammal_positive): New function.
3608         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3609         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3610         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3611         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3612         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3613         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3614         * sysdeps/generic/math_private.h (__gamma_productf): New
3615         prototype.
3616         (__gamma_product): Likewise.
3617         (__gamma_productl): Likewise.
3618         * math/Makefile (libm-calls): Add gamma_product.
3619         * math/libm-test.inc (tgamma_test): Add more tests.
3620         * sysdeps/i386/fpu/libm-test-ulps: Update.
3621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3622
3623 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
3624
3625         * benchtests/bench-skeleton.c (main): Preheat CPU.
3626
3627 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
3628
3629         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3630
3631 2013-05-07  Roland McGrath  <roland@hack.frob.com>
3632
3633         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3634         and _dl_skip_args_internal.
3635
3636 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
3637
3638         * manual/message.texi (Message Translation): Talk about users.
3639         Message to key mapping impacts design.
3640
3641 2013-05-06  Roland McGrath  <roland@hack.frob.com>
3642
3643         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3644
3645         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3646
3647         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3648         * sysdeps/wordsize-64/glob64.c: ... here.
3649
3650         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3651         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3652         New macros.
3653
3654         * debug/getlogin_r_chk.c: Moved to ...
3655         * login/getlogin_r_chk.c: ... here.
3656         * debug/Makefile (routines): Move getlogin_r_chk to ...
3657         * login/Makefile (routines): ... here.
3658         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3659         * login/Versions (libc: GLIBC_2.4): ... here.
3660
3661         * io/poll.c (__poll): Renamed from poll.
3662         Add libc_hidden_def.
3663         (poll): Define as weak alias.
3664
3665         * debug/ptsname_r_chk.c: Moved to ...
3666         * login/ptsname_r_chk.c: ... here.
3667         * debug/Makefile (routines): Move ptsname_r_chk to ...
3668         * login/Makefile (routines): ... here.
3669         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3670         * login/Versions (libc: GLIBC_2.4): ... here.
3671
3672         * posix/getlogin.c: Moved to ...
3673         * login/getlogin.c: ... here.
3674         * posix/getlogin_r.c: Moved to ...
3675         * login/getlogin_r.c: ... here.
3676         * posix/getlogin_r.c: Moved to ...
3677         * login/getlogin_r.c: ... here.
3678         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3679         * login/Makefile (routines): ... here.
3680         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3681         * login/Versions (libc: GLIBC_2.0): ... here.
3682
3683         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3684         (setrlimit): Define as weak alias.
3685
3686         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3687         Call __ names for open, ftruncate, and close.
3688         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3689         (truncate): Define as weak alias.
3690
3691 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
3692
3693         * math/gen-libm-test.pl (parse_args): Initialize x before each
3694         test of frexp, modf and remquo.
3695
3696         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3697         test signgam value.
3698
3699 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3700
3701         [BZ #15418]
3702         [BZ #15419]
3703         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3704         internal tests.
3705         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3706
3707 2013-05-06  Roland McGrath  <roland@hack.frob.com>
3708
3709         * elf/dl-writev.h: New file.
3710         * elf/dl-misc.c: Include it.
3711         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3712         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3713
3714 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
3715
3716         * math/libm-test.inc (noXFails): Remove variable.
3717         (noXPasses): Likewise.
3718         (BUILD_COMPLEX_INT): Remove macro.
3719         (print_screen): Remove xfail argument.
3720         (print_screen_max_error): Likewise.
3721         (update_stats): Likewise.
3722         (print_max_error): Likewise.  Update calls to other affected
3723         functions.
3724         (print_complex_max_error): Likewise.
3725         (test_single_exception): Update calls to print_screen.
3726         (test_single_errno): Likewise.
3727         (check_float_internal): Remove xfail argument.  Update calls to
3728         other affected functions.
3729         (check_float): Likewise.
3730         (check_complex): Likewise.
3731         (check_int): Likewise.
3732         (check_long): Likewise.
3733         (check_bool): Likewise.
3734         (check_longlong): Likewise.
3735         (main): Don't print noXFails and noXPasses.
3736         * math/gen-libm-test.pl (top level): Don't mention expected
3737         failure handling in comment.
3738         (new_test): Don't handle expected failures.
3739         (parse_args): Don't mention expected failure handling in comment.
3740         (generate_testfile): Don't handle expected failures.
3741         (parse_ulps): Likewise.
3742         (print_ulps_file): Likewise.
3743         (get_failure): Remove function.
3744         (output_test): Don't handle expected failures.
3745         * make/README.libm-test: Don't mention expected failure handling.
3746
3747         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
3748         (minus_zero): Likewise.
3749         (plus_infty): Likewise.
3750         (minus_infty): Likewise.
3751         (qnan_value): Likewise.
3752         (max_value): Likewise.
3753         (min_value): Likewise.
3754         (min_subnorm_value): Likewise.
3755         (initialize): Do not initialize those variables dynamically.
3756
3757 2013-05-03  Roland McGrath  <roland@hack.frob.com>
3758
3759         * io/open.c (__open_2): Moved to ...
3760         * io/open_2.c: ... this new file.
3761         * io/open64.c (__open64_2): Moved to ...
3762         * io/open64_2.c: ... this new file.
3763         * io/openat.c (__openat_2): Moved to ...
3764         * io/openat_2.c: ... this new file.
3765         * io/openat64.c (__openat64_2): Moved to ...
3766         * io/openat64_2.c: ... this new file.
3767         * io/Makefile (routines): Add them.
3768         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3769         * sysdeps/unix/sysv/linux/open_2.c: File removed.
3770         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3771         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3772         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3773         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3774         (__openat64): Add hidden_ver.
3775         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3776         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3777
3778         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3779         Separately conditionalize setting of GLRO(dl_sysinfo) so
3780         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3781         as well, but the actual setting is only under [NEED_DL_SYSINFO].
3782
3783 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3784
3785         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3786         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3787         definition.
3788         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3789         * sysdeps/unix/sysv/linux/powerpc/init-first.c
3790         (_libc_vdso_platform_setup): Add __vdso_time initialization.
3791         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3792         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3793
3794 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
3795
3796         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3797         test signgam value.
3798
3799         * math/libm-test.inc (hypot_test): Do not use
3800         IGNORE_ZERO_INF_SIGN.
3801
3802 2013-05-03  Andreas Jaeger  <aj@suse.de>
3803
3804         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3805         Linux 3.9.
3806         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3807         (PF_MAX): Adjust for VSOCK change.
3808
3809 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3810
3811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3812
3813 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
3814
3815         [BZ #15264]
3816         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3817         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3818         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3819
3820 2013-05-02  David S. Miller  <davem@davemloft.net>
3821
3822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3823
3824 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
3825
3826         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3827
3828 2013-05-01  Roland McGrath  <roland@hack.frob.com>
3829
3830         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3831
3832 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
3833
3834         [BZ #14952]
3835         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3836         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3837         Use __attribute__ ((__gnu_inline__)).
3838         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3839         Don't use __attribute__ ((__gnu_inline__)).
3840
3841 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
3842
3843         [BZ #15423]
3844         * math/s_catan.c (__catan): Handle small real or imaginary part of
3845         input specially to avoid spurious underflow.
3846         * math/s_catanf.c (__catanf): Likewise.
3847         * math/s_catanh.c (__catanh): Likewise.
3848         * math/s_catanhf.c (__catanhf): Likewise.
3849         * math/s_catanhl.c (__catanhl): Likewise.
3850         * math/s_catanl.c (__catanl): Likewise.
3851         * math/libm-test.inc (catan_test): Add more tests.
3852         (catanh_test): Likewise.
3853         * sysdeps/i386/fpu/libm-test-ulps: Update.
3854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3855
3856 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3857
3858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3859
3860 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
3861
3862         [BZ #15416]
3863         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3864         accurately for denominator in atan2.
3865         * math/s_catanf.c (__catanf): Likewise.
3866         * math/s_catanh.c (__catanh): Likewise.
3867         * math/s_catanhf.c (__catanhf): Likewise.
3868         * math/s_catanhl.c (__catanhl): Likewise.
3869         * math/s_catanl.c (__catanl): Likewise.
3870         * math/libm-test.inc (catan_test): Add more tests.
3871         (catanh_test): Likewise.
3872         * sysdeps/i386/fpu/libm-test-ulps: Update.
3873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3874
3875 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3876
3877         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3878
3879         * benchtests/Makefile (bench): Remove slow benchmarks.
3880         * benchtests/atan-inputs: Add slow benchmark inputs.
3881         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3882         (BENCH_FUNC): Accept variant offset.
3883         (VARIANT): Define.
3884         * benchtests/bench-skeleton.c (main): Run benchmark for each
3885         variant.
3886         * benchtests/cos-inputs: Add slow benchmark inputs.
3887         * benchtests/exp-inputs: Likewise.
3888         * benchtests/pow-inputs: Likewise.
3889         * benchtests/sin-inputs: Likewise.
3890         * benchtests/slowatan-inputs: Remove.
3891         * benchtests/slowatan.c: Remove.
3892         * benchtests/slowcos-inputs: Remove.
3893         * benchtests/slowcos.c: Remove.
3894         * benchtests/slowexp-inputs: Remove.
3895         * benchtests/slowexp.c: Remove.
3896         * benchtests/slowpow-inputs: Remove.
3897         * benchtests/slowpow.c: Remove.
3898         * benchtests/slowsin-inputs: Remove.
3899         * benchtests/slowsin.c: Remove.
3900         * benchtests/slowtan-inputs: Remove.
3901         * benchtests/slowtan.c: Remove.
3902         * benchtests/tan-inputs: Add slow benchmark inputs.
3903         * scripts/bench.pl: Parse comments and directives.
3904
3905         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
3906         in CPPFLAGS.
3907         ($(objpfx)bench-%.c): Remove *-ITER.
3908         * benchtests/bench-modf.c: Remove definition of ITER.
3909         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3910         (main): Loop for DURATION seconds instead of fixed number of
3911         iterations.
3912         * scripts/bench.pl: Don't expect iterations in parameters.
3913
3914 2013-04-29  Roland McGrath  <roland@hack.frob.com>
3915
3916         * io/fchdir.c (__fchdir): Renamed from fchdir.
3917         (fchdir): Define as weak alias.
3918
3919 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3920
3921         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3922         (ERRNO_EDOM): Likewise.
3923         (ERRNO_ERANGE): Likewise.
3924         (noErrnoTests): New variable.
3925         (init_max_error): Set errno to 0.
3926         (test_single_errno): New function.
3927         (test_errno): Likewise.
3928         (check_float_internal): Call test_errno.  Set errno to 0.
3929         (check_complex): Refer to errno tests in comment.
3930         (check_int): Call test_errno.  Set errno to 0.
3931         (check_long): Likewise.
3932         (check_bool): Likewise.
3933         (check_longlong): Likewise.
3934         (cos_test): Use ERRNO_* flags for errno tests instead of
3935         check_int.
3936         (expm1_test): Likewise.
3937         (fmod_test): Likewise.
3938         (ilogb_test): Likewise.
3939         (lgamma_test): Likewise.
3940         (pow_test): Likewise.
3941         (remainder_test): Likewise.
3942         (sin_test): Likewise.
3943         (tan_test): Likewise.
3944         (yn_test): Likewise.
3945         (initialize): Set errno to 0.
3946         (main): Print number of errno tests.
3947         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3948
3949 2013-04-29  Andreas Jaeger  <aj@suse.de>
3950
3951         [BZ #15084]
3952         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3953         and RES_USEVC.
3954
3955         [BZ #15085]
3956         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3957         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3958         unimplemented.
3959
3960         [BZ #15380]
3961         * stdlib/random.c (__initstate): Return NULL if
3962         __initstate fails.
3963
3964         [BZ #15086]
3965         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3966         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3967         RES_SNGLKUPREOP.
3968
3969 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3970
3971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3972
3973 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3974
3975         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3976         of individual tests.
3977         (casin_test): Likewise.
3978         (casinh_test): Likewise.
3979
3980 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
3981
3982         [BZ #15409]
3983         * math/s_catan.c (__catan): Handle arguments with large real or
3984         imaginary part separately without squaring.
3985         * math/s_catanf.c (__catanf): Likewise.
3986         * math/s_catanh.c (__catanh): Likewise.
3987         * math/s_catanhf.c (__catanhf): Likewise.
3988         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3989         and redefine.
3990         (__catanhl): Handle arguments with large real or imaginary part
3991         separately without squaring.
3992         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3993         and redefine.
3994         (__catanl): Handle arguments with large real or imaginary part
3995         separately without squaring.
3996         * math/libm-test.inc (catan_test): Add more tests.
3997         (catanh_test): Likewise.
3998         * sysdeps/i386/fpu/libm-test-ulps: Update.
3999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4000
4001 2013-04-27  Andreas Jaeger  <aj@suse.de>
4002
4003         [BZ #15007]
4004         * stdlib/stdlib.h: Update guards for qecvt.
4005         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4006         <stdlib.h>.
4007
4008 2013-04-27  Allan McRae  <allan@archlinux.org>
4009
4010         * sysdeps/i386/fpu/libm-test-ulps: Update.
4011
4012 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
4013
4014         [BZ #15406]
4015         * math/s_catan.c: Include <float.h>.
4016         (__catan): Ensure underflow exception occurs for underflowed
4017         result.
4018         * math/s_catanf.c: Include <float.h>.
4019         (__catanf): Ensure underflow exception occurs for underflowed
4020         result.
4021         * math/s_catanh.c: Include <float.h>.
4022         (__catanh): Ensure underflow exception occurs for underflowed
4023         result.
4024         * math/s_catanhf.c: Include <float.h>.
4025         (__catanhf): Ensure underflow exception occurs for underflowed
4026         result.
4027         * math/s_catanhl.c: Include <float.h>.
4028         (__catanhl): Ensure underflow exception occurs for underflowed
4029         result.
4030         * math/s_catanl.c: Include <float.h>.
4031         (__catanl): Ensure underflow exception occurs for underflowed
4032         result.
4033         * math/libm-test.inc (catan_test): Add more tests.
4034         (catanh_test): Likewise.
4035
4036         [BZ #15405]
4037         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4038         underflowed result.
4039         * math/s_ccoshf.c (__ccoshf): Likewise.
4040         * math/s_ccoshl.c (__ccoshl): Likewise.
4041         * math/s_csin.c (__csin): Likewise.
4042         * math/s_csinf.c (__csinf): Likewise.
4043         * math/s_csinh.c (__csinh): Likewise.
4044         * math/s_csinhf.c (__csinhf): Likewise.
4045         * math/s_csinhl.c (__csinhl): Likewise.
4046         * math/s_csinl.c (__csinl): Likewise.
4047         * math/libm-test.inc (ccos_test): Add more tests.
4048         (ccosh_test): Likewise.
4049         (csin_test): Likewise.
4050         (csinh_test): Likewise.
4051
4052 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4053
4054         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4055         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4056         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4057         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4058         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4059         powerpc/power5+/fpu folders.
4060         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4061
4062
4063 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
4064
4065         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4066
4067 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
4068
4069         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4070         additions to variable.
4071         [$(config-machine) = x86_64] (modules-names): Likewise.
4072         ($(objpfx)tst-audit3): Remove dependency.
4073         ($(objpfx)tst-audit3.out): Likewise.
4074         ($(objpfx)tst-audit4): Likewise.
4075         ($(objpfx)tst-audit4.out): Likewise.
4076         ($(objpfx)tst-audit5): Likewise.
4077         ($(objpfx)tst-audit5.out): Likewise.
4078         ($(objpfx)tst-audit6): Likewise.
4079         ($(objpfx)tst-audit6.out): Likewise.
4080         ($(objpfx)tst-audit7): Likewise.
4081         ($(objpfx)tst-audit7.out): Likewise.
4082         (tst-audit3-ENV): Remove variable.
4083         (tst-audit4-ENV): Likewise.
4084         (tst-audit5-ENV): Likewise.
4085         (tst-audit6-ENV): Likewise.
4086         (tst-audit7-ENV): Likewise.
4087         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4088         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4089         addition to variable.
4090         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4091         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4092         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4093         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4094         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4095         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4096         tst-audit3, tst-audit4 and tst-audit5.
4097         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4098         tst-audit6 and tst-audit7.
4099         [$(subdir) = elf] (modules-names): Add audit modules for those
4100         tests.
4101         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4102         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4103         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4104         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4105         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4106         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4107         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4108         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4109         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4110         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4111         [$(subdir) = elf] (tst-audit3-ENV): New variable.
4112         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4113         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4114         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4115         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4116         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4117         Likewise.
4118         [$(subdir) = elf && $(config-cflags-avx) = yes]
4119         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4120         [$(subdir) = elf && $(config-cflags-avx) = yes]
4121         (CFLAGS-tst-auditmod4a.c): Likewise.
4122         [$(subdir) = elf && $(config-cflags-avx) = yes]
4123         (CFLAGS-tst-auditmod4b.c): Likewise.
4124         [$(subdir) = elf && $(config-cflags-avx) = yes]
4125         (CFLAGS-tst-auditmod6b.c): Likewise.
4126         [$(subdir) = elf && $(config-cflags-avx) = yes]
4127         (CFLAGS-tst-auditmod6c.c): Likewise.
4128         [$(subdir) = elf && $(config-cflags-avx) = yes]
4129         (CFLAGS-tst-auditmod7b.c): Likewise.
4130         * elf/tst-audit3.c: Move to ...
4131         * sysdeps/x86_64/tst-audit3.c: ... here.
4132         * elf/tst-audit4.c: Move to ...
4133         * sysdeps/x86_64/tst-audit4.c: ... here.
4134         * elf/tst-audit5.c: Move to ...
4135         * sysdeps/x86_64/tst-audit5.c: ... here.
4136         * elf/tst-audit6.c: Move to ...
4137         * sysdeps/x86_64/tst-audit6.c: ... here.
4138         * elf/tst-audit7.c: Move to ...
4139         * sysdeps/x86_64/tst-audit7.c: ... here.
4140         * elf/tst-auditmod3a.c: Move to ...
4141         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4142         * elf/tst-auditmod3b.c: Move to ...
4143         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4144         * elf/tst-auditmod4a.c: Move to ...
4145         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4146         * elf/tst-auditmod4b.c: Move to ...
4147         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4148         * elf/tst-auditmod5a.c: Move to ...
4149         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4150         * elf/tst-auditmod5b.c: Move to ...
4151         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4152         * elf/tst-auditmod6a.c: Move to ...
4153         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4154         * elf/tst-auditmod6b.c: Move to ...
4155         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4156         * elf/tst-auditmod6c.c: Move to ...
4157         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4158         * elf/tst-auditmod7a.c: Move to ...
4159         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4160         * elf/tst-auditmod7b.c: Move to ...
4161         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4162
4163 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
4164
4165         [BZ #15366]
4166         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4167         define unconditionally.
4168         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4169         define unconditionally.
4170         (INT8_C, INT16_C, etc.): Likewise.
4171
4172 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
4173
4174         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4175         __ehdr_start with hidden visibility.
4176
4177         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4178
4179 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
4180
4181         * math/libm-test.inc (cos_test): Use accurate hex constants.
4182         (sincost_test): Likewise.
4183
4184 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
4185
4186         * math/libm-test.inc (catan_test): Add more tests.
4187         (catanh_test): Likewise.
4188
4189         * math/s_catanf.c (__catanf): Use suffixed floating-point
4190         constants.
4191         * math/s_catanhf.c (__catanhf): Likewise.
4192         * math/s_catanhl.c (__catanhl): Likewise.
4193         * math/s_catanl.c (__catanl): Likewise.
4194
4195         [BZ #15394]
4196         * math/s_catan.c (__catan): Calculate imaginary part of result
4197         with log1p not log unless computing log of number close to 0.
4198         * math/s_catanf.c (__catanf): Likewise.
4199         * math/s_catanl.c (__catanl): Likewise.
4200         * math/s_catanh.c (__catanh): Calculate real part of result with
4201         log1p not log unless computing log of number close to 0.
4202         * math/s_catanhf.c (__catanhf): Likewise.
4203         * math/s_catanhl.c (__catanhl): Likewise.
4204         * math/libm-test.inc (catan_test): Add more tests.
4205         (catanh_test): Likewise.
4206         * sysdeps/i386/fpu/libm-test-ulps: Update.
4207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4208
4209 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4210
4211         * benchtests/Makefile: Mention files in which fast and slow
4212         paths of math functions are implemented.
4213
4214 2013-04-23  Roland McGrath  <roland@hack.frob.com>
4215
4216         * sysdeps/posix/timespec_get.c: New file.
4217
4218 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4219
4220         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4221         POWER.
4222         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4223         for POWER.
4224         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4225         powerpc/power5/fpu folders.
4226         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4227         * benchtests/Makefile: Add modf testcase.
4228         * benchtests/bench-modf.c: New file: Benchmark test for mo
4229
4230 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4231
4232         [BZ #14888]
4233         * time/Makefile (tests): Add tst-strptime-whitespace.
4234         * time/strptime_l.c (get_number): Use ISSPACE.
4235         (__strptime_internal): Likewise.
4236         * time/tst-strptime-whitespace.c: New test case.
4237
4238 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
4239
4240         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4241         member.
4242         (_nss_files_init): Set it here.
4243
4244 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
4245
4246         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4247         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4248         unsigned.
4249
4250 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
4251
4252         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4253
4254 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4255
4256         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4257         size just once.
4258
4259 2013-04-21  David S. Miller  <davem@davemloft.net>
4260
4261         * po/ru.po: Update Russion translation from translation project.
4262
4263 2013-04-17  Adam Conrad  <adconrad@0c3.net>
4264
4265         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4266         and setfsgid.
4267
4268 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
4269
4270         * configure.in: Remove i386 configure warning. Remove i386 case.
4271         * configure: Regenerate.
4272         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
4273         Add example to error message.
4274         * sysdeps/i386/configure: Regenerate.
4275
4276 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4277
4278         * benchtests/Makefile (bench): Add cos, tan, slowcos and
4279         slowtan.
4280         * benchtests/cos-inputs: New file.
4281         * benchtests/slowcos-inputs: New file.
4282         * benchtests/slowcos.c: New file.
4283         * benchtests/slowtan-inputs: New file.
4284         * benchtests/slowtan.c: New file.
4285         * benchtests/tan-inputs: New file.
4286
4287 2013-04-16  Roland McGrath  <roland@hack.frob.com>
4288
4289         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4290         considered kosher.
4291
4292 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4293
4294         * benchtests/Makefile: Include cppflags-iterator.mk to add
4295         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4296
4297         * Makefile.in (bench-clean): New target.
4298         * benchtests/Makefile (bench-clean): Likewise.
4299
4300 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
4301
4302         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4303
4304 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
4305
4306         * stdio-common/tstdiomisc.c: Fix coding-style violation.
4307
4308 2013-04-15  Andreas Schwab  <schwab@suse.de>
4309
4310         * nscd/grpcache.c (cache_addgr): Properly check for short write.
4311         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4312         * nscd/pwdcache.c (cache_addpw): Likewise.
4313         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
4314         more than recsize.
4315
4316 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4317
4318         * benchtests/Makefile (bench): Write all output to
4319         bench-out.tmp together.
4320
4321 2013-04-15  Andreas Schwab  <schwab@suse.de>
4322
4323         * nscd/nscd.c (main): Don't fork again after closing files.
4324
4325 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4326
4327         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4328
4329         * benchtests/Rules (bench-deps): Collect dependencies into a
4330         single variable.  Add Makefile to dependencies.
4331         ($(objpfx)bench-%.c): Depend on bench-deps.
4332
4333 2013-04-12  Roland McGrath  <roland@hack.frob.com>
4334             Xavier Roche  <roche+kml2@exalead.com>
4335
4336         [BZ #15361]
4337         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4338         just that it's a file descriptor.
4339         * manual/llio.texi (Synchronizing AIO Operations): Update description
4340         for EBADF error from aio_fsync.
4341
4342 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4343
4344         * Rules (bench): Move target definition...
4345         * benchtests/Makefile: ... here.
4346
4347 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
4348
4349         * math/libm-test.inc (cos_test): Fix PI/2 test.
4350         (sincos_test): Likewise.
4351         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4352         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4353
4354 2013-04-11  Andreas Schwab  <schwab@suse.de>
4355
4356         [BZ #13988]
4357         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4358         accept exponent character only when digits were seen.
4359         * stdio-common/Makefile (tests): Add bug26.
4360         * stdio-common/bug26.c: New file.
4361
4362         [BZ #14293]
4363         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4364         non-freeable.
4365
4366 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4367
4368         * Makeconfig (rtld-prefix): Define built linker prefix.
4369         * Rules (run-bench): Use it.
4370         * math/Makefile (run-regen-ulps): Likewise.
4371
4372         * Rules (bench): Remove eval.
4373
4374 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4375             Roland McGrath  <roland@hack.frob.com>
4376             Ondrej Bilka  <neleai@seznam.cz>
4377
4378         [BZ #15346]
4379         * time/getdate.c: Include ctype.h and alloca.h.
4380         (__getdate_r): Trim leading and trailing spaces of input.
4381         * time/tst-getdate.c (tests): Add tests with leading and
4382         trailing spaces.
4383
4384 2013-04-08  Roland McGrath  <roland@hack.frob.com>
4385
4386         [BZ #14280]
4387         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4388         when computing value.
4389
4390 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4391
4392         * math/README.libm-test (How can I generate "libm-test-ulps"?):
4393         Use testrun.sh to run libm tests.
4394
4395         [BZ #15309]
4396         * elf/dl-open.c (dl_open_worker): memset all of seen array.
4397
4398 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
4399
4400         [BZ #15264]
4401         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4402
4403 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4404
4405         * Makefile.in (regen-ulps): New target.
4406         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4407         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4408         [ifneq (no,$(PERL)] (regen-ulps): New target.
4409         [ifeq (no,$(PERL)] (regen-ulps): New target.
4410         * math/libm-test.inc (ulps_file_name): Define.
4411         (output_dir): New variable.
4412         (options): Add "output-dir" option.
4413         (parse_opt): Handle 'o' case.
4414         (main): If output_dir is non-NULL use it as a prefix
4415         otherwise use "".
4416         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4417
4418 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4419
4420         [BZ #10060, #10062]
4421         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4422         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4423         fail configure if __sync_val_compare_and_swap is not inlined.
4424         * sysdeps/i386/configure: Regenerate.
4425         * configure.in: Build for i686 when configured for i386.
4426         * configure: Regenerate.
4427         * README: Remove i386 reference.
4428
4429 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4430
4431         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4432         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4433
4434 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
4435
4436         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4437         (lmsnanval): New variables.
4438         (F): Add conversion tests.
4439         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4440         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4441
4442         * stdio-common/tstdiomisc.c (F): Properly collect individual
4443         tests' results.
4444
4445         [BZ #14686, #15336]
4446         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4447         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4448         Instead, use input NaN values or generate a qNaN by arithmetic
4449         operation.  Also fix bugs to comply with the standard.
4450         * math/libm-test.inc (remainder_test): Add more tests.
4451
4452         [BZ #15335, #15342]
4453         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4454         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4455         input NaN values or generate a qNaN by arithmetic operation.
4456
4457         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4458         unreachable code.
4459
4460         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4461         definitions.
4462
4463 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
4464
4465         [BZ #14478]
4466         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4467         underflowed result.
4468         * math/s_cexpf.c (__cexpf): Likewise.
4469         * math/s_cexpl.c (__cexpl): Likewise.
4470         * math/libm-test.inc (cexp_test): Add more tests.
4471
4472 2013-04-03  Andreas Schwab  <schwab@suse.de>
4473
4474         [BZ #15330]
4475         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4476         order arrays from heap if bigger than alloca cutoff.
4477
4478 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
4479
4480         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4481         (SNAN_TESTS_double): Refer to GCC PR56831.
4482         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4483         GCC PR56828.
4484
4485 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4486
4487         * Rules (bench): Move bench.out after the run is complete.
4488
4489         * Rules (bench): Echo currently running benchmark.
4490
4491         * benchtests/Makefile (bench): Add atan and slowatan.
4492         * benchtests/atan-inputs: New file.
4493         * benchtests/slowatan-inputs: New file.
4494         * benchtests/slowatan.c: New file.
4495
4496         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4497         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4498         its value.
4499
4500         [BZ #15305]
4501         * sysdeps/unix/sysv/linux/kernel-features.h
4502         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4503         __ASSUME_XFS_RESTRICTED_CHOWN.
4504         * sysdeps/unix/sysv/linux/pathconf.c
4505         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4506         Save and restore errno.
4507
4508 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
4509
4510         [BZ #15327]
4511         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4512         arguments using __kernel_casinh.
4513         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4514         arguments using __kernel_casinhf.
4515         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4516         arguments using __kernel_casinhl.
4517         * math/libm-test.inc (cacosh_test): Add more tests.
4518         * sysdeps/i386/fpu/libm-test-ulps: Update.
4519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4520
4521 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4522
4523         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4524         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4525
4526         * bench/Makefile (bench): Add sin and slowsin.
4527         * benchtests/sin-inputs: New file.
4528         * benchtests/slowsin-inputs: New file.
4529         * benchtests/slowsin.c: New file.
4530
4531         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4532         (bench): Add slowexp and slowpow.
4533         (exp-ITER): Increase iterations.
4534         (pow-ITER): Likewise.
4535         * benchtests/exp-inputs: Change input.
4536         * benchtests/pow-inputs: Likewise.
4537         * benchtests/slowexp-inputs: New file.
4538         * benchtests/slowexp.c: New file.
4539         * benchtests/slowpow-inputs: New file.
4540         * benchtests/slowpow.c: New file.
4541
4542 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4543
4544         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4545         instructions.
4546         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4547         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4548         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4549         * benchtests/Makefile: Add rint benchtest.
4550         * benchtests/rint-inputs: Input for rint benchtest.
4551
4552 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
4553
4554         * Versions.def (libm): Add GLIBC_2.18.
4555         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4556         hidden libm prototypes.
4557         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4558         * math/Makefile (libm-calls): Add s_issignaling.
4559         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4560         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
4561         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4562         declaration.
4563         * math/math.h [__USE_GNU] (issignaling): New macro.
4564         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4565         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4566         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4567         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4568         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4569         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4570         * manual/arith.texi (issignaling): New section.
4571         * manual/libm-err-tab.pl (@all_functions): Update comment.
4572         * math/gen-libm-test.pl (parse_args): Apply special handling for
4573         issignaling.
4574         * math/libm-test.inc (print_float, issignaling_test): New
4575         functions.
4576         (check_float_internal): Add issignaling checks.
4577         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4578         default definition.
4579         * sysdeps/powerpc/math-tests.h: New file.
4580         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4581         tests.
4582         * math/test-snan.c (TEST_FUNC): Likewise.
4583
4584 2013-03-30  David S. Miller  <davem@davemloft.net>
4585
4586         * po/de.po: Update from translation team.
4587
4588 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
4589
4590         [BZ #10357]
4591         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4592         imaginary part less than 1.0 and real part less than 0.5
4593         specially.
4594         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4595         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4596         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4597         (cacos_test): Add more tests.
4598         (casin_test): Likewise.
4599         (casinh_test): Likewise.
4600         * sysdeps/i386/fpu/libm-test-ulps: Update.
4601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4602
4603 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4604
4605         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4606         ONE with its value.
4607
4608         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4609         (__pow_mp): Replace ONE and MONE with their values.
4610         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4611         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4612         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4613         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4614         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4615         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4616
4617         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4618
4619         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4620         (__pow_mp): Replace ZERO and MZERO with their values.
4621         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4622         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4623         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4624         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4625         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4626         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4627         (__sqr): Likewise.
4628
4629         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4630
4631         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4632
4633 2013-03-28  Roland McGrath  <roland@hack.frob.com>
4634
4635         * include/stdlib.h [!SHARED] (__call_tls_dtors):
4636         Declare with __attribute__ ((weak)).
4637         * stdlib/exit.c (__libc_atexit) [!SHARED]:
4638         Call __call_tls_dtors only if it's not NULL.
4639
4640 2013-03-28  Roland McGrath  <roland@hack.frob.com>
4641
4642         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4643         didn't do it already, then set _dl_phdr and _dl_phnum based on the
4644         magic __ehdr_start linker symbol if it's defined.
4645         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4646         them up here if it was already done.
4647
4648         * elf/dl-support.c (_dl_phdr): Make pointer to const.
4649         (_dl_aux_init): Use const in cast when setting it.
4650         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4651         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4652         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4653
4654         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4655         Declare them here.
4656         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4657         * csu/libc-tls.c: Nor here.
4658         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4659
4660         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4661         (__libc_message): Never call vsyslog.
4662
4663 2013-03-28  Alan Modra  <amodra@gmail.com>
4664
4665         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4666         Define as empty.
4667         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4668         Likewise.
4669
4670 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4671
4672         [BZ #15214]
4673         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4674         underflow.
4675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4676
4677 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4678
4679         [BZ #15304]
4680         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4681         Don't add gid passed as argument.
4682
4683         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4684
4685 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
4686
4687         [BZ #15307]
4688         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4689         imaginary part between 1.0 and 1.5 and real part less than 0.5
4690         specially.
4691         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4692         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4693         * math/libm-test.inc (cacos_test): Add more tests.
4694         (casin_test): Likewise.
4695         (casinh_test): Likewise.
4696         * sysdeps/i386/fpu/libm-test-ulps: Update.
4697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4698
4699 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4700
4701         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4702         constants.
4703         (norm): Likewise.
4704         (denorm): Likewise.
4705         (__dbl_mp): Likewise.
4706         (add_magnitudes): Likewise.
4707         (sub_magnitudes): Likewise.
4708         (__add): Likewise.
4709         (__sub): Likewise.
4710         (__mul): Likewise.
4711         (__sqr): Likewise.
4712         (__inv): Likewise.
4713         (__dvd): Likewise.
4714
4715         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4716         commented code.
4717         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4718         (__dubcos): Likewise.
4719         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4720         (__ieee754_acos): Likewise.
4721         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4722         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4723         (__exp1): Likewise.
4724         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4725         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4726         (log1): Likewise.
4727         (my_log2): Likewise.
4728         (checkint): Likewise.
4729         * sysdeps/ieee754/dbl-64/e_remainder.c
4730         (__ieee754_remainder): Likewise.
4731         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4732         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4733         (bsloww): Likewise.
4734         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4735
4736         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4737         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4738         MANTISSA_STORE_T to store computations on mantissa.  Use
4739         macros for rounding and division.
4740         (denorm): Likewise.
4741         (__dbl_mp): Likewise.
4742         (add_magnitudes): Likewise.
4743         (sub_magnitudes): Likewise.
4744         (__mul): Likewise.
4745         (__sqr): Likewise.
4746         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
4747         powers of two in terms of TWOPOW macro.
4748         (mp_no): Make type of mantissa as MANTISSA_T.
4749         [!RADIXI]: Define RADIXI.
4750         [!TWO52]: Define TWO52.
4751         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4752
4753 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4754
4755         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4756         llroundl symbol when building for PPC32.
4757
4758 2013-03-24  Mark H Weaver  <mhw@netris.org>
4759
4760         * manual/arith.texi (Normalization Functions): Fix prototypes for
4761         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4762
4763 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4764
4765         [BZ #13889]
4766         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4767         high value to check if expl overflow.
4768         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4769         to check for underflow and overflow.
4770         * math/libm-test.inc: Add exp test.
4771
4772 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
4773
4774         [BZ #11120]
4775         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4776         with NOT_IN_libc.
4777
4778 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4779
4780         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4781         symbol.
4782
4783 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
4784
4785         * math/gen-libm-test.pl (parse_args, special_functions): Properly
4786         wrap blocks consisting of several statements.
4787
4788         * sysdeps/generic/math-tests.h: New file.
4789         * sysdeps/i386/fpu/math-tests.h: Likewise.
4790         * math/test-snan.c: Include it.
4791         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4792
4793 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
4794
4795         [BZ #15285]
4796         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4797         (__ieee754_j0l): Do not improve calculations using cos of twice
4798         input for inputs above LDBL_MAX / 2.0L.
4799         (__ieee754_y0l): Likewise.
4800         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4801         (__ieee754_j1l): Do not improve calculations using cos of twice
4802         input for inputs above LDBL_MAX / 2.0L.
4803         (__ieee754_y1l): Likewise.
4804         * math/libm-test.inc (j0_test): Add another test.
4805         (j1_test): Likewise.
4806         (y0_test): Likewise.
4807         (y1_test): Likewise.
4808         * sysdeps/i386/fpu/libm-test-ulps: Update.
4809
4810 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4811
4812         * Rules ($(objpfx)bench-%.c): Include code from a C source
4813         file.
4814
4815 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
4816
4817         [BZ #15287]
4818         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4819         imaginary part 1.0 and real part less than 0.5 specially.
4820         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4821         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4822         * math/libm-test.inc (cacos_test): Add more tests.
4823         (casin_test): Likewise.
4824         (casinh_test): Likewise.
4825         * sysdeps/i386/fpu/libm-test-ulps: Update.
4826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4827
4828 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4829
4830         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4831         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4832
4833 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
4834
4835         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4836         * config.make.in (config-cflags-sse4): Remove variable.
4837         (config-cflags-avx): Likewise.
4838         (config-cflags-sse2avx): Likewise.
4839         (config-cflags-novzeroupper): Likewise.
4840         (config-asflags-i686): Likewise.
4841         (have-mfma4): Likewise.
4842         (have-as-vis3): Likewise.
4843         (MIG): Likewise.
4844         * configure.in (MIG): Do not AC_SUBST.
4845         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4846         (libc_cv_cc_sse4): Do not AC_SUBST.
4847         (libc_cv_cc_avx): Likewise.
4848         (libc_cv_cc_sse2avx): Likewise.
4849         (libc_cv_cc_novzeroupper): Likewise.
4850         (libc_cv_cc_fma4): Likewise.
4851         (libc_cv_as_i686): Likewise.
4852         (libc_cv_sparc_as_vis3): Likewise.
4853         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4854         LIBC_CONFIG_VAR.
4855         (config-asflags-i686): Likewise.
4856         (config-cflags-avx): Likewise.
4857         (config-cflags-sse2avx): Likewise.
4858         (have-mfma4): Likewise.
4859         (config-cflags-novzeroupper): Likewise.
4860         * sysdeps/mach/configure.in (MIG): Likewise.
4861         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4862         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4863         LIBC_CONFIG_VAR.
4864         (config-cflags-avx): Likewise.
4865         (config-cflags-sse2avx): Likewise.
4866         (have-mfma4): Likewise.
4867         (config-cflags-novzeroupper): Likewise.
4868         * configure: Regenerated.
4869         * sysdeps/i386/configure: Likewise.
4870         * sysdeps/mach/configure: Likewise.
4871         * sysdeps/sparc/configure: Likewise.
4872         * sysdeps/x86_64/configure: Likewise.
4873
4874 2013-03-20  Roland McGrath  <roland@hack.frob.com>
4875
4876         [BZ #14812]
4877         * locale/programs/localedef.c (options): Put N_ translation marker
4878         on argument names, not just descriptions.
4879
4880 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4881
4882         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4883
4884 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
4885
4886         [BZ #14176]
4887         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4888
4889 2013-03-19  Roland McGrath  <roland@hack.frob.com>
4890
4891         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4892         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4893         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4894         [!BEFORE_ABORT] (before_abort): New function.
4895         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4896         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4897         (writev_for_fatal): New function.
4898         (WRITEV_FOR_FATAL): New macro; call that.
4899         (backtrace_and_maps): New function.
4900         (BEFORE_ABORT): New macro; call that.
4901         (struct str_list): Type removed.
4902         (__libc_message, __libc_fatal): Functions removed.
4903         Include <sysdeps/posix/libc_fatal.c> instead.
4904
4905 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
4906
4907         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4908         constants.
4909         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4910         double constants.
4911
4912 2013-03-19  Andreas Schwab  <schwab@suse.de>
4913
4914         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4915         * sysdeps/gnu/configure: Regenerate.
4916
4917         * configure.in: Substitute libc_cv_rtlddir.
4918         * configure: Regenerate.
4919         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4920         * Makeconfig (rtlddir, inst_rtlddir): New variables.
4921         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4922         * elf/Makefile (install-others, CFLAGS-interp.c)
4923         (ldso_install, common-ldd-rewrite): Likewise.
4924         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4925         $(inst_slibdir)/$(rtld-installed-name).
4926         * scripts/rellns-sh: Add -p option.
4927         * Makerules (make-shlib-link): Use rellns-sh to get relative name
4928         for source.
4929
4930 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4931
4932         * manual/nptl.texi: Renamed to ...
4933         * manual/threads.texi: ... this.
4934         * manual/Makefile (chapters): Update.
4935
4936 2013-03-18  Roland McGrath  <roland@hack.frob.com>
4937
4938         [BZ #14812]
4939         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4940         on argument names, not just descriptions.
4941         * malloc/memusagestat.c (options): Likewise.
4942         * nss/getent.c (options): Likewise.
4943
4944 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
4945
4946         [BZ #14812]
4947         * iconv/iconv_prog.c (options): Put N_ translation marker
4948         on argument names, not just descriptions.
4949         * iconv/iconvconfig.c (options): Likewise.
4950
4951 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
4952
4953         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4954         implementation which is faster on all x86_64 architectures.
4955         Tested on AMD, Intel Nehalem, SNB, IVB.
4956         * sysdeps/x86_64/strnlen.S: Likewise.
4957
4958         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4959         Remove all multiarch strlen and strnlen versions.
4960         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4961         Remove strlen and strnlen related parts.
4962
4963         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4964         Inline strlen part.
4965         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4966
4967         * sysdeps/x86_64/multiarch/strlen.S: Remove.
4968         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4969         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4970         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4971         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4972         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4973
4974 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
4975
4976         * manual/memory.texi (Malloc Tunable Parameters):
4977         Sort parameters alphabetically. Add comments for missing entries.
4978
4979 2013-03-17  David S. Miller  <davem@davemloft.net>
4980
4981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4982
4983 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
4984
4985         [BZ #15283]
4986         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4987         for arguments at most half maximum finite value.
4988         * math/libm-test.inc (j0_test): Add more tests.
4989         (j1_test): Likewise.
4990         (y0_test): Likewise.
4991         (y1_test): Likewise.
4992         * sysdeps/i386/fpu/libm-test-ulps: Update.
4993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4994
4995         [BZ #14155]
4996         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4997         1 / x and functions P and Q for arguments above 0x1p256L.
4998         (__ieee754_y0l): Likewise.
4999         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5000         (__ieee754_y1l): Likewise.
5001         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5002         (j1_test): Likewise.
5003         (y0_test): Likewise.
5004         (y1_test): Likewise.
5005
5006 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
5007
5008         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5009         variable.
5010
5011 2013-03-15  Roland McGrath  <roland@hack.frob.com>
5012
5013         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5014         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5015         zero since it's initialized to EXEC_PAGESIZE.
5016
5017         * sysdeps/unix/sysv/linux/ldsodefs.h
5018         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5019         * sysdeps/generic/ldsodefs.h: ... here.
5020
5021 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
5022
5023         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5024
5025         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5026         math/test-snan.c.
5027         * math/test-snan.c: Renamed from
5028         sysdeps/powerpc/fpu/test-powerpc-snan.c.
5029         * math/Makefile (tests): Add test-snan.
5030         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5031         test-powerpc-snan.
5032
5033         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5034         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
5035         functions.
5036         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
5037         __builtin_nan family of functions.
5038         * math/libm-test.inc (initialize): Initialize qnan_value with
5039         __builtin_nan family of functions.
5040         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5041         Remove variables.
5042         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5043         Remove functions.
5044         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
5045         storage class.  Initialize qNaN_var and sNaN_var with
5046         __builtin_nan and __builtin_nans families of functions,
5047         respectively.
5048
5049         * math/libm-test.inc (acosh_test): Also test with qNaN input.
5050         (sqrt_test): Remove duplicate test with qNaN input.
5051         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5052         (round_test, signbit_test, significand_test): Note missing +/-Inf
5053         as well as qNaN tests.
5054
5055         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5056         qNaN_var.  Fix a few strings, too.
5057         * math/libm-test.inc (nan_value): Rename to qnan_value.
5058         * math/gen-libm-test.pl (%beautify): Adjust to that.
5059         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5060         * math/test-misc.c (main): Likewise.
5061         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5062         to __qnan_bytes, and __qnan_union, respectively.
5063         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5064         Likewise.
5065         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5066         and lqnanval, respectively.
5067         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5068         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5069         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5070         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5071
5072         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5073         * math/test-misc.c (main) [__x86_64__]: Enable test for long
5074         doubles.
5075
5076         * math/test-misc.c (main): Fix copy'n'pastos.
5077         * misc/tst-efgcvt.c (special): Likewise.
5078
5079         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5080         Remove declarations.
5081
5082 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5083
5084         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5085         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5086         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5087         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5088
5089 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5090
5091         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5092         macro to return vdso values correctly in IFUNC implementations.
5093         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5094         Optimization by using IFUNC.
5095
5096 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5097             Richard Henderson  <rth@redhat.com>
5098             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5099
5100         * Makefile.in (bench): New target.
5101         * NEWS: Mention the benchmark framework.
5102         * Rules (bench): Likewise.
5103         (binaries-bench): Generate binaries for functions to
5104         benchmark.
5105         * benchtests/Makefile: New makefile for benchmark tests.
5106         * benchtests/bench-skeleton.c: New skeleton file for benchmark
5107         programs.
5108         * benchtests/exp-inputs: New input file for EXP function.
5109         * benchtests/pow-inputs: New input file for POW function.
5110         * scripts/bench.pl: New script to generate source files for
5111         benchmark programs.
5112
5113 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5114
5115         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5116         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5117         computations on mantissa.  Use macros for rounding and
5118         division.
5119         (denorm): Likewise.
5120         (__dbl_mp): Likewise.
5121         (add_magnitudes): Likewise.
5122         (sub_magnitudes): Likewise.
5123         (__mul): Likewise.
5124         (__sqr): Likewise.
5125         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
5126         powers of two in terms of TWOPOW macro.
5127         (mp_no): Make type of mantissa as MANTISSA_T.
5128         [!RADIXI]: Define RADIXI.
5129         [!TWO52]: Define TWO52.
5130         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5131
5132         * manual/nptl.texi (cindex): Modify threads to pthreads.
5133
5134 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
5135
5136         * sysdeps/x86_64/preconfigure: Regenerated.
5137
5138 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
5139
5140         [BZ #14155]
5141         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5142         0x1p28 and above.
5143         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5144         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5145         0x1p28 and above.
5146         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5147         * math/libm-test.inc (j0_test): Do not allow one spurious
5148         underflow exception.
5149         (y1_test): Likewise.
5150
5151 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5152
5153         * manual/Makefile (chapters): Add nptl.
5154         * manual/debug.texi (Debugging Support): Add link to Threads
5155         chapter.
5156         * manual/nptl.texi: New file.
5157
5158         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5159
5160 2013-03-14  Petr Baudis  <pasky@ucw.cz>
5161
5162         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5163         for non-NULL pointer before the memory validity test. Pointed
5164         out by Holger Brunck <holger.brunck@keymile.com>.
5165
5166 2013-03-13  Andreas Schwab  <schwab@suse.de>
5167
5168         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5169         instead of .os.
5170
5171 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
5172
5173         * timezone/zic.c: Update from tzcode 2013b.
5174
5175 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
5176
5177         * manual/install.texi (Configuring and compiling):
5178         Mention i686 and i586.
5179         * INSTALL: Regenerate.
5180
5181 2013-03-12  Roland McGrath  <roland@hack.frob.com>
5182
5183         * sysdeps/init_array/elf-init.c: New file.
5184         * csu/elf-init.c
5185         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5186         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5187
5188         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5189         __gmon_start__ as global, but as static with a .preinit_array pointer.
5190         * sysdeps/init_array/gmon-start.c: New file.  Use that.
5191         * sysdeps/init_array/crti.S: New file, empty except for comments.
5192         * sysdeps/init_array/crtn.S: Likewise.
5193
5194 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
5195
5196         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5197         definining bcopy.
5198         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5199         Remove Prefer_SSE_for_memop.
5200         * sysdeps/x86_64/multiarch/init-arch.h: Remove
5201         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5202         HAS_PREFER_SSE_FOR_MEMOP.
5203         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5204         memset-x86-64.
5205         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5206         Remove bzero, memset ifunc support.
5207         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5208         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5209         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5210         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5211
5212 2013-03-11  Andreas Schwab  <schwab@suse.de>
5213
5214         [BZ #15234]
5215         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5216         by SHLIB_COMPAT.
5217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5218         (GLIBC_2.16): Remove pthread_atfork.
5219
5220 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5221
5222         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5223         (ptestcases.h): Likewise.
5224
5225 2013-03-08  Roland McGrath  <roland@hack.frob.com>
5226
5227         * Makeconfig ($(common-objpfx)config.status): Depend on
5228         sysdeps/*/preconfigure{,.in} too.
5229
5230 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
5231
5232         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5233         (__free_hook): Use void * instead of __malloc_ptr_t.
5234         (__malloc_hook): Likewise.
5235         (__realloc_hook): Likewise.
5236         (__memalign_hook): Likewise.
5237         (__after_morecore_hook): Likewise.
5238         * malloc/arena.c (save_malloc_hook): Likewise.
5239         (save_free_hook): Likewise.
5240         * malloc/hooks.c (malloc_hook_ini): Likewise.
5241         (realloc_hook_ini): Likewise.
5242         (memalign_hook_ini): Likewise.
5243         * malloc/malloc.c (malloc_hook_ini): Likewise.
5244         (realloc_hook_ini): Likewise.
5245         (memalign_hook_ini): Likewise.
5246         (__free_hook): Likewise.
5247         (__malloc_hook): Likewise.
5248         (__realloc_hook): Likewise.
5249         (__memalign_hook): Likewise.
5250         (__libc_malloc): Likewise.
5251         (__libc_free): Likewise.
5252         (__libc_realloc): Likewise.
5253         (__libc_memalign): Likewise.
5254         (__libc_valloc): Likewise.
5255         (__libc_pvalloc): Likewise.
5256         (__libc_calloc): Likewise.
5257         (__posix_memalign): Likewise.
5258         * malloc/morecore.c (__sbrk): Likewise.
5259         (__default_morecore): Likewise.
5260
5261         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5262
5263         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5264         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5265         __malloc_ptrdiff_t.
5266
5267         * malloc/malloc.h (__malloc_size_t): Remove macro.
5268         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5269         __malloc_size_t.
5270         (old_memalign_hook): Likewise.
5271         (old_realloc_hook): Likewise.
5272         (struct hdr): Likewise.
5273         (flood): Likewise.
5274         (mallochook): Likewise.
5275         (memalignhook): Likewise.
5276         (reallochook): Likewise.
5277         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5278         (tr_old_realloc_hook): Likewise.
5279         (tr_old_memalign_hook): Likewise.
5280         (tr_mallochook): Likewise.
5281         (tr_reallochook): Likewise.
5282         (tr_memalignhook): Likewise.
5283
5284 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5285
5286         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5287         default_ldbl_pack and using as default implementation.
5288         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5289         implementation.
5290         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5291         redundant definition.
5292         (ldbl_insert_mantissa): Likewise.
5293         (ldbl_canonicalize): Likewise.
5294         (ldbl_nearbyint): Likewise.
5295         (ldbl_pack): Rename to ldbl_pack_ppc.
5296         (ldbl_unpack): Rename to ldbl_unpack_ppc.
5297         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5298         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5299
5300 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5301
5302         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5303         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5304         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5305         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5306         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5307         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5308         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5309         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5310
5311 2013-03-07  Andreas Jaeger  <aj@suse.de>
5312
5313         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5314         bits/mman-linux.h.
5315
5316 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5317
5318         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5319         Include mpa.h and declare __MPEXP.
5320         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5321         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5322         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5323         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5324         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5325         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5326         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5327
5328         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5329         (__slowpow): Use long double EXPL and LOGL functions to
5330         compute POW.
5331         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5332         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5333         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5334         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5335         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5336         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5337
5338         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5339         intermediate variable to calculate exponent.
5340         (__sqr): Likewise.
5341         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5342         Likewise.
5343         (__sqr): Likewise.
5344
5345         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5346         [!NO__SQR]: Define __sqr.
5347         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5348         and NO__SQR.  Remove all code except __mul and __sqr.  Include
5349         sysdeps/ieee754/dbl-64/mpa.c.
5350         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5351
5352         [BZ #12723]
5353         * posix/Makefile (tests): Add tst-pathconf.
5354         * posix/tst-pathconf.c: New test case.
5355         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5356         _PC_PIPE_BUF.
5357         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5358
5359 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
5360
5361         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5362
5363 2013-03-06  Andreas Jaeger  <aj@suse.de>
5364
5365         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5366         definition via __MAP_ANONYMOUS.
5367
5368         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5369         it's not part of Linux headers.
5370
5371         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5372         (MAP_HUGE_MASK): Define.
5373
5374         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5375         Define.
5376         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5377         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5378         Define.
5379         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5380         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5381         Define.
5382         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5383         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5384         Define.
5385         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5386
5387         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5388         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5389         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5390         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5391         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5392         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5393
5394         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5395         Handle f2fs.
5396
5397         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5398         Handle f2fs and efivarfs.
5399
5400         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5401         f2fs.
5402
5403         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5404         (EFIVARFS_MAGIC): Add.
5405         (F2FS_LINK_MAX): Add.
5406
5407 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5408
5409         * stdio-common/vfprintf.c: Replace __builtin_expect with
5410         __glibc_unlikely.
5411
5412 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
5413
5414         [BZ #13550]
5415         * sysdeps/generic/bp-sym.h: Remove file.
5416         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5417         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5418         <bp-sym.h> and <bp-asm.h>.
5419         (__longjmp): Don't use BP_SYM.
5420         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5421         and <bp-asm.h>.
5422         (memcpy): Don't use BP_SYM.
5423         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5424         <bp-sym.h> and <bp-asm.h>.
5425         (memcpy): Don't use BP_SYM.
5426         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5427         <bp-asm.h>.
5428         (memcpy): Don't use BP_SYM.
5429         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5430         <bp-asm.h>.
5431         (memset): Don't use BP_SYM.
5432         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5433         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5434         (__bzero): Don't use BP_SYM.
5435         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5436         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5437         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5438         <bp-sym.h> and <bp-asm.h>.
5439         (memcmp): Don't use BP_SYM.  Remove comment about bounded
5440         pointers.
5441         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5442         <bp-sym.h> and <bp-asm.h>.
5443         (memcpy): Don't use BP_SYM.
5444         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5445         <bp-sym.h> and <bp-asm.h>.
5446         (memset): Don't use BP_SYM.
5447         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5448         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5449         (__bzero): Don't use BP_SYM.
5450         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5451         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5452         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5453         <bp-sym.h> and <bp-asm.h>.
5454         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5455         pointers.
5456         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5457         <bp-sym.h> and <bp-asm.h>.
5458         (memcpy): Don't use BP_SYM.
5459         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5460         <bp-sym.h> and <bp-asm.h>.
5461         (memset): Don't use BP_SYM.
5462         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5463         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5464         (__bzero): Don't use BP_SYM.
5465         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5466         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5467         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5468         <bp-sym.h> and <bp-asm.h>.
5469         (__memchr): Don't use BP_SYM.
5470         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5471         <bp-sym.h> and <bp-asm.h>.
5472         (memcmp): Don't use BP_SYM.  Remove comment about bounded
5473         pointers.
5474         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5475         <bp-sym.h> and <bp-asm.h>.
5476         (memcpy): Don't use BP_SYM.
5477         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5478         <bp-sym.h> and <bp-asm.h>.
5479         (__mempcpy): Don't use BP_SYM.
5480         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5481         <bp-sym.h> and <bp-asm.h>.
5482         (__memrchr): Don't use BP_SYM.
5483         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5484         <bp-sym.h> and <bp-asm.h>.
5485         (memset): Don't use BP_SYM.
5486         (__bzero): Likewise.
5487         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5488         <bp-sym.h> and <bp-asm.h>.
5489         (__rawmemchr): Don't use BP_SYM.
5490         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5491         <bp-sym.h> and <bp-asm.h>.
5492         (__STRCMP): Don't use BP_SYM.
5493         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5494         <bp-sym.h> and <bp-asm.h>.
5495         (strchr): Don't use BP_SYM.
5496         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5497         <bp-sym.h> and <bp-asm.h>.
5498         (__strchrnul): Don't use BP_SYM.
5499         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5500         <bp-sym.h> and <bp-asm.h>.
5501         (strlen): Don't use BP_SYM.
5502         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5503         <bp-sym.h> and <bp-asm.h>.
5504         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5505         pointers.
5506         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5507         <bp-sym.h> and <bp-asm.h>.
5508         (__strnlen): Don't use BP_SYM.
5509         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5510         <bp-sym.h> and <bp-asm.h>.
5511         (__GI__setjmp): Don't use BP_SYM.
5512         (_setjmp): Likewise.
5513         (__sigsetjmp): Likewise.
5514         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5515         (L(start_addresses)): Don't use BP_SYM.
5516         (_start): Likewise.
5517         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5518         <bp-asm.h>.
5519         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5520         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5521         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5522         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5523         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5524         <bp-asm.h>.
5525         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5526         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
5527         about bounded pointers.
5528         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5529         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5530         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5531         <bp-asm.h>.
5532         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
5533         about bounded pointers.  Remove GKM FIXME comments.
5534         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5535         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5536         <bp-asm.h>.
5537         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5538         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
5539         Remove GKM FIXME comments.
5540         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5541         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5542         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5543         <bp-asm.h>.
5544         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
5545         about bounded pointers.  Remove GKM FIXME comment.
5546         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5547         and <bp-asm.h>.
5548         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5549         pointers.
5550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5551         <bp-sym.h> and <bp-asm.h>.
5552         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5554         <bp-sym.h> and <bp-asm.h>.
5555         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
5556         comment.
5557
5558 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5559
5560         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5561         call free(NULL).
5562
5563 2013-03-05  David S. Miller  <davem@davemloft.net>
5564
5565         * po/es.po: Update from translation team.
5566
5567 2013-03-05  Andreas Jaeger  <aj@suse.de>
5568
5569         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5570         <bits/mman-linux.h>.
5571         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5572         is fine.
5573         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5574         <bits/mman-linux.h> to end of file.
5575         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5576         is fine.
5577         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5578         <bits/mman-linux.h> to end of file.
5579         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5580         is fine.
5581         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5582         <bits/mman-linux.h> to end of file.
5583
5584         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5585         (MCL_CURRENT, MCL_FUTURE): Define here.
5586
5587 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5588
5589         [BZ #15232]
5590         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5591         attribute_hidden.
5592         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5593
5594 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5595
5596         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5597         fourth parameter needed for rt_sigprocmask syscall.
5598         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5599         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5600         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5601         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5602         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5603         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5604
5605 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
5606
5607         [BZ #13550]
5608         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5609         comment about bounded pointers.
5610         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5611         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5612
5613 2013-03-04  Andreas Jaeger  <aj@suse.de>
5614
5615         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5616         common definitions.
5617
5618         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5619         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5620         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5621         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5622         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5623         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5624
5625 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5626
5627         [BZ #15055]
5628         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5629         __ieee754_sqrl instead of __sqrl.
5630
5631 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
5632
5633         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5634         * sysdeps/powerpc/fpu_control.h: ... here.
5635         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5636         * sysdeps/powerpc/bits/fenvinline.h: ... here.
5637         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5638         * sysdeps/powerpc/bits/mathinline.h: ... here.
5639
5640 2013-03-01  Roland McGrath  <roland@hack.frob.com>
5641
5642         * elf/dl-hwcaps.c (_dl_important_hwcaps):
5643         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5644         to just [NEED_DL_SYSINFO_DSO].
5645         * elf/dl-support.c: Likewise.
5646         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5647         * elf/rtld.c (dl_main): Likewise.
5648         * elf/setup-vdso.h (setup_vdso): Likewise.
5649         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5650         * sysdeps/unix/sysv/linux/dl-sysdep.c
5651         (_dl_discover_osversion): Likewise.
5652
5653 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
5654
5655         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5656         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5657
5658 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5659
5660         * NEWS: Mention libm performance improvements and non-x86 PI
5661         futex support.
5662
5663         * csu/libc-start.c (__pthread_initialize_minimal): Change
5664         function arguments.
5665         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5666
5667 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
5668
5669         [BZ #13550]
5670         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5671         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5672         <bp-sym.h> and <bp-asm.h>.
5673         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5674         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5675         and <bp-asm.h>.
5676         (memcpy): Don't use BP_SYM.
5677         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5678         <bp-asm.h>.
5679         (__mpn_add_n): Don't use BP_SYM.
5680         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5681         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5682         and <bp-asm.h>.
5683         (__mpn_addmul_1): Don't use BP_SYM.
5684         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5685         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5686         <bp-sym.h>.
5687         (_setjmp): Don't use BP_SYM.
5688         (__novmx_setjmp): Likewise.
5689         (__GI__setjmp): Likewise.
5690         (__vmx_setjmp): Likewise.
5691         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5692         <bp-sym.h>.
5693         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5694         (__bzero): Don't use BP_SYM.
5695         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5696         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5697         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5698         <bp-sym.h> and <bp-asm.h>.
5699         (memcpy): Don't use BP_SYM.
5700         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5701         <bp-sym.h> and <bp-asm.h>.
5702         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5703         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5704         <bp-sym.h> and <bp-asm.h>.
5705         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5706         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5707         <bp-asm.h>.
5708         (__mpn_lshift): Don't use BP_SYM.
5709         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5710         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5711         <bp-asm.h>.
5712         (memset): Don't use BP_SYM.
5713         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5714         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5715         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5716         <bp-asm.h>.
5717         (__mpn_mul_1): Don't use BP_SYM.
5718         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5719         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5720         <bp-sym.h> and <bp-asm.h>.
5721         (memcmp): Don't use BP_SYM.
5722         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5723         <bp-sym.h> and <bp-asm.h>.
5724         (memcpy): Don't use BP_SYM.
5725         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5726         <bp-sym.h> and <bp-asm.h>.
5727         (memset): Don't use BP_SYM.
5728         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5729         <bp-sym.h> and <bp-asm.h>.
5730         (strncmp): Don't use BP_SYM.
5731         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5732         <bp-sym.h> and <bp-asm.h>.
5733         (memcpy): Don't use BP_SYM.
5734         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5735         <bp-sym.h> and <bp-asm.h>.
5736         (memset): Don't use BP_SYM.
5737         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5738         <bp-sym.h> and <bp-asm.h>.
5739         (__memchr): Don't use BP_SYM.
5740         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5741         <bp-sym.h> and <bp-asm.h>.
5742         (memcmp): Don't use BP_SYM.
5743         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5744         <bp-sym.h> and <bp-asm.h>.
5745         (memcpy): Don't use BP_SYM.
5746         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5747         <bp-sym.h> and <bp-asm.h>.
5748         (__mempcpy): Don't use BP_SYM.
5749         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5750         <bp-sym.h> and <bp-asm.h>.
5751         (__memrchr): Don't use BP_SYM.
5752         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5753         <bp-sym.h> and <bp-asm.h>.
5754         (memset): Don't use BP_SYM.
5755         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5756         <bp-sym.h> and <bp-asm.h>.
5757         (__rawmemchr): Don't use BP_SYM.
5758         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5759         <bp-sym.h> and <bp-asm.h>.
5760         (__STRCMP): Don't use BP_SYM.
5761         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5762         <bp-sym.h> and <bp-asm.h>.
5763         (strchr): Don't use BP_SYM.
5764         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5765         <bp-sym.h> and <bp-asm.h>.
5766         (__strchrnul): Don't use BP_SYM.
5767         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5768         <bp-sym.h> and <bp-asm.h>.
5769         (strlen): Don't use BP_SYM.
5770         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5771         <bp-sym.h> and <bp-asm.h>.
5772         (strncmp): Don't use BP_SYM.
5773         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5774         <bp-sym.h> and <bp-asm.h>.
5775         (__strnlen): Don't use BP_SYM.
5776         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5777         <bp-asm.h>.
5778         (__mpn_rshift): Don't use BP_SYM.
5779         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5780         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5781         <bp-sym.h> and <bp-asm.h>.
5782         (__sigsetjmp): Don't use BP_SYM.
5783         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5784         (L(start_addresses)): Don't use BP_SYM.
5785         (_start): Likewise.
5786         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5787         <bp-asm.h>.
5788         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5789         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5790         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5791         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5792         <bp-asm.h>.
5793         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5794         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5795         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5796         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5797         <bp-asm.h>.
5798         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
5799         comments.
5800         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5801         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5802         <bp-asm.h>.
5803         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
5804         FIXME comments.
5805         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5806         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5807         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5808         <bp-asm.h>.
5809         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
5810         comment.
5811         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5812         and <bp-asm.h>.
5813         (strncmp): Don't use BP_SYM,
5814         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5815         <bp-asm.h>.
5816         (__mpn_sub_n): Don't use BP_SYM.
5817         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5818         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5819         and <bp-asm.h>.
5820         (__mpn_submul_1): Don't use BP_SYM.
5821         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5823         <bp-sym.h> and <bp-asm.h>.
5824         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5826         <bp-sym.h> and <bp-asm.h>.
5827         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
5828         comment.
5829
5830 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5831
5832         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5833         Use ZK to minimize writes to Z.
5834         (sub_magnitudes): Simplify code a bit.
5835         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5836         Use ZK to minimize writes to Z.
5837         (sub_magnitudes): Simplify code a bit.
5838
5839 2013-02-27  Roland McGrath  <roland@hack.frob.com>
5840
5841         * csu/gmon-start.c: Add special exception to license text.
5842
5843 2013-02-27  Richard Henderson  <rth@redhat.com>
5844
5845         * scripts/config.guess: Update from config.git.
5846         * scripts/config.sub: Likewise.
5847
5848 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5849
5850         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5851
5852         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5853
5854         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5855
5856         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5857
5858         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5859
5860 2013-02-26  Roland McGrath  <roland@hack.frob.com>
5861
5862         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5863         [$(build-shared = yes].
5864
5865 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5866
5867         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5868         (__mul): Reduce iterations for calculating mantissa.
5869
5870         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5871         MPTWO.
5872         (__mpranred): Likewise.
5873
5874         [BZ #15160]
5875         * malloc/memusagestat.c (main): Draw graphs for heap and stack
5876         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5877
5878 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
5879
5880         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5881         Define __attribute__.
5882
5883 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5884
5885         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5886         unused.
5887         * posix/regex_internal.h (__attribute): Remove.
5888         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5889         (re_string_context_at): Likewise.
5890         (bitset_not): Use __attribute__ and mark function as possibly
5891         unused.
5892         (bitset_merge): Likewise.
5893         (bitset_mask): Likewise.
5894         (re_string_char_size_at): Likewise.
5895         (re_string_wchar_at): Likewise.
5896         (re_string_elem_size_at): Likewise.
5897
5898 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5899
5900         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5901         code.
5902         (cc32): Likewise.
5903
5904         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5905         (__acr): Likewise.
5906         (__cpy): Likewise.
5907         (norm): Likewise.
5908         (denorm): Likewise.
5909         (__dbl_mp): Likewise.
5910         (add_magnitudes): Likewise.
5911         (sub_magnitudes): Likewise.
5912         (__mul): Likewise.
5913         (__inv): Likewise.
5914
5915         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5916         style.
5917
5918         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5919         style.
5920
5921         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5922         code.
5923
5924         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5925         up changes with default code.
5926         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5927         Likewise.
5928
5929 2013-02-24  Allan McRae  <allan@archlinux.org>
5930
5931         * manual/socket.texi (The Internet Namespace): Order menu items
5932         to match that in the file.
5933
5934         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5935         node listing of the info page menu.
5936
5937 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
5938
5939         [BZ #13550]
5940         * sysdeps/i386/bp-asm.h: Remove file.
5941         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5942         (PARMS): Do not use macros from bp-asm.h.
5943         (S1): Likewise.
5944         (S2): Likewise.
5945         (SIZE): Likewise.
5946         (__mpn_add_n): Do not use BP_SYM
5947         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5948         "bp-asm.h".
5949         (PARMS): Do not use macros from bp-asm.h.
5950         (S1): Likewise.
5951         (SIZE): Likewise.
5952         (__mpn_addmul_1): Do not use BP_SYM
5953         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5954         "bp-asm.h".
5955         (PARMS): Do not use macros from bp-asm.h.
5956         (SIGMSK): Likewise.
5957         (_setjmp): Likewise.  Do not use BP_SYM.
5958         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5959         "bp-asm.h".
5960         (PARMS): Do not use macros from bp-asm.h.
5961         (SIGMSK): Likewise.
5962         (setjmp): Likewise.  Do not use BP_SYM.
5963         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5964         "bp-asm.h".
5965         (PARMS): Do not use macros from bp-asm.h.
5966         (__frexp): Do not use BP_SYM.
5967         (frexp): Likewise.
5968         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5969         "bp-asm.h".
5970         (PARMS): Do not use macros from bp-asm.h.
5971         (__frexpf): Do not use BP_SYM.
5972         (frexpf): Likewise.
5973         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5974         "bp-asm.h".
5975         (PARMS): Do not use macros from bp-asm.h.
5976         (__frexpl): Do not use BP_SYM.
5977         (frexpl): Likewise.
5978         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5979         "bp-asm.h".
5980         (PARMS): Do not use macros from bp-asm.h.
5981         (__remquo): Do not use BP_SYM.
5982         (remquo): Likewise.
5983         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5984         "bp-asm.h".
5985         (PARMS): Do not use macros from bp-asm.h.
5986         (__remquof): Do not use BP_SYM.
5987         (remquof): Likewise.
5988         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5989         "bp-asm.h".
5990         (PARMS): Do not use macros from bp-asm.h.
5991         (__remquol): Do not use BP_SYM.
5992         (remquol): Likewise.
5993         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5994         "bp-asm.h".
5995         (PARMS): Do not use macros from bp-asm.h.
5996         (DEST): Likewise.
5997         (SRC): Likewise.
5998         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
5999         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6000         "bp-asm.h".
6001         (PARMS): Do not use macros from bp-asm.h.
6002         (strlen): Do not use BP_SYM.
6003         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6004         "bp-asm.h".
6005         (PARMS): Do not use macros from bp-asm.h.
6006         (S1): Likewise.
6007         (S2): Likewise.
6008         (SIZE): Likewise.
6009         (__mpn_add_n): Do not use BP_SYM.
6010         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6011         "bp-asm.h".
6012         (PARMS): Do not use macros from bp-asm.h.
6013         (S1): Likewise.
6014         (SIZE): Likewise.
6015         (__mpn_addmul_1): Do not use BP_SYM.
6016         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6017         weak_alias.
6018         (bzero): Likewise.
6019         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6020         "bp-asm.h".
6021         (PARMS): Do not use macros from bp-asm.h.
6022         (S): Likewise.
6023         (SIZE): Likewise.
6024         (__mpn_lshift): Do not use BP_SYM.
6025         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6026         "bp-asm.h".
6027         (PARMS): Do not use macros from bp-asm.h.
6028         (DEST): Likewise.
6029         (SRC): Likewise.
6030         (LEN): Likewise.
6031         (memcpy): Likewise.  Do not use BP_SYM.
6032         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6033         libc_hidden_def and weak_alias.
6034         (mempcpy): Do not use BP_SYM in weak_alias.
6035         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6036         "bp-asm.h".
6037         (PARMS): Do not use macros from bp-asm.h.
6038         (DEST): Likewise.
6039         (LEN): Likewise.
6040         [!BZERO_P] (CHR): Likewise.
6041         (memset): Likewise.  Do not use BP_SYM.
6042         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6043         "bp-asm.h".
6044         (PARMS): Do not use macros from bp-asm.h.
6045         (S1): Likewise.
6046         (SIZE): Likewise.
6047         (__mpn_mul_1): Do not use BP_SYM.
6048         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6049         "bp-asm.h".
6050         (PARMS): Do not use macros from bp-asm.h.
6051         (S): Likewise.
6052         (SIZE): Likewise.
6053         (__mpn_rshift): Do not use BP_SYM.
6054         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6055         "bp-asm.h".
6056         (PARMS): Do not use macros from bp-asm.h.
6057         (STR): Likewise.
6058         (CHR): Likewise.
6059         (strchr): Likewise.  Do not use BP_SYM.
6060         (index): Do not use BP_SYM in weak_alias.
6061         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6062         "bp-asm.h".
6063         (PARMS): Do not use macros from bp-asm.h.
6064         (DEST): Likewise.
6065         (SRC): Likewise.
6066         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
6067         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6068         "bp-asm.h".
6069         (PARMS): Do not use macros from bp-asm.h.
6070         (strlen): Do not use BP_SYM.
6071         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6072         "bp-asm.h".
6073         (PARMS): Do not use macros from bp-asm.h.
6074         (S1): Likewise.
6075         (S2): Likewise.
6076         (SIZE): Likewise.
6077         (__mpn_sub_n): Do not use BP_SYM.
6078         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6079         "bp-asm.h".
6080         (PARMS): Do not use macros from bp-asm.h.
6081         (S1): Likewise.
6082         (SIZE): Likewise.
6083         (__mpn_submul_1): Do not use BP_SYM.
6084         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6085         "bp-asm.h".
6086         (PARMS): Do not use macros from bp-asm.h.
6087         (S1): Likewise.
6088         (S2): Likewise.
6089         (SIZE): Likewise.
6090         (__mpn_add_n): Do not use BP_SYM.
6091         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6092         weak_alias.
6093         (bzero): Likewise.
6094         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6095         "bp-asm.h".
6096         (PARMS): Do not use macros from bp-asm.h.
6097         (BLK2): Likewise.
6098         (LEN): Likewise.
6099         (memcmp): Do not use BP_SYM.
6100         (bcmp): Do not use BP_SYM in weak_alias.
6101         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6102         "bp-asm.h".
6103         (PARMS): Do not use macros from bp-asm.h.
6104         (DEST): Likewise.
6105         (SRC): Likewise.
6106         (LEN): Likewise.
6107         (memcpy): Likewise.  Do not use BP_SYM.
6108         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6109         "bp-asm.h".
6110         (PARMS): Do not use macros from bp-asm.h.
6111         (DEST): Likewise.
6112         (SRC): Likewise.
6113         (LEN): Likewise.
6114         (memmove): Likewise.  Do not use BP_SYM.
6115         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6116         "bp-asm.h".
6117         (PARMS): Do not use macros from bp-asm.h.
6118         (DEST): Likewise.
6119         (SRC): Likewise.
6120         (LEN): Likewise.
6121         (__mempcpy): Likewise.  Do not use BP_SYM.
6122         (mempcpy): Do not use BP_SYM in weak_alias.
6123         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6124         "bp-asm.h".
6125         (PARMS): Do not use macros from bp-asm.h.
6126         (DEST): Likewise.
6127         (LEN): Likewise.
6128         [!BZERO_P] (CHR): Likewise.
6129         (memset): Likewise.  Do not use BP_SYM.
6130         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6131         "bp-asm.h".
6132         (PARMS): Do not use macros from bp-asm.h.
6133         (STR2): Likewise.
6134         (strcmp): Do not use BP_SYM.
6135         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6136         "bp-asm.h".
6137         (PARMS): Do not use macros from bp-asm.h.
6138         (STR): Likewise.
6139         (DELIM): Likewise.
6140         [USE_AS_STRTOK_R] (SAVE): Likewise.
6141         (FUNCTION): Likewise.  Do not use BP_SYM.
6142         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6143         aliases.
6144         (strtok_r): Likewise.
6145         (__GI___strtok_r): Likewise.
6146         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6147         (PARMS): Do not use macros from bp-asm.h.
6148         (S): Likewise.
6149         (SIZE): Likewise.
6150         (__mpn_lshift): Do not use BP_SYM.
6151         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6152         (PARMS): Do not use macros from bp-asm.h.
6153         (STR): Likewise.
6154         (CHR): Likewise.
6155         (__memchr): Do not use BP_SYM.
6156         (memchr): Do not use BP_SYM in weak_alias.
6157         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6158         (PARMS): Do not use macros from bp-asm.h.
6159         (BLK2): Likewise.
6160         (LEN): Likewise.
6161         (memcmp): Do not use BP_SYM.
6162         (bcmp): Do not use BP_SYM in weak_alias.
6163         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6164         (PARMS): Do not use macros from bp-asm.h.
6165         (S1): Likewise.
6166         (SIZE): Likewise.
6167         (__mpn_mul_1): Do not use BP_SYM.
6168         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6169         "bp-asm.h".
6170         (PARMS): Do not use macros from bp-asm.h.
6171         (STR): Likewise.
6172         (CHR): Likewise.
6173         (__rawmemchr): Do not use BP_SYM.
6174         (rawmemchr): Do not use BP_SYM in weak_alias.
6175         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6176         (PARMS): Do not use macros from bp-asm.h.
6177         (S): Likewise.
6178         (SIZE): Likewise.
6179         (__mpn_rshift): Do not use BP_SYM.
6180         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6181         (PARMS): Do not use macros from bp-asm.h.
6182         (SIGMSK): Likewise.
6183         (__sigsetjmp): Likewise.  Do not use BP_SYM.
6184         * sysdeps/i386/start.S: Do not include "bp-sym.h".
6185         (_start): Do not use BP_SYM.
6186         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6187         (PARMS): Do not use macros from bp-asm.h.
6188         (DEST): Likewise.
6189         (SRC): Likewise.
6190         (__stpcpy): Likewise.  Do not use BP_SYM.
6191         (stpcpy): Do not use BP_SYM in weak_alias.
6192         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6193         "bp-asm.h".
6194         (PARMS): Do not use macros from bp-asm.h.
6195         (DEST): Likewise.
6196         (SRC): Likewise.
6197         (LEN): Likewise.
6198         (__stpncpy): Likewise.  Do not use BP_SYM.
6199         (stpncpy): Do not use BP_SYM in weak_alias.
6200         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6201         (PARMS): Do not use macros from bp-asm.h.
6202         (STR): Likewise.
6203         (CHR): Likewise.
6204         (strchr): Likewise.  Do not use BP_SYM.
6205         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6206         "bp-asm.h".
6207         (PARMS): Do not use macros from bp-asm.h.
6208         (STR): Likewise.
6209         (CHR): Likewise.
6210         (__strchrnul): Likewise.  Do not use BP_SYM.
6211         (strchrnul): Do not use BP_SYM in weak_alias.
6212         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6213         "bp-asm.h".
6214         (PARMS): Do not use macros from bp-asm.h.
6215         (STOP): Likewise.
6216         (strcspn): Do not use BP_SYM.
6217         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6218         "bp-asm.h".
6219         (PARMS): Do not use macros from bp-asm.h.
6220         (STR): Likewise.
6221         (STOP): Likewise.
6222         (strpbrk): Likewise.  Do not use BP_SYM.
6223         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6224         "bp-asm.h".
6225         (PARMS): Do not use macros from bp-asm.h.
6226         (STR): Likewise.
6227         (CHR): Likewise.
6228         (strrchr): Likewise.  Do not use BP_SYM.
6229         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6230         (PARMS): Do not use macros from bp-asm.h.
6231         (SKIP): Likewise.
6232         (strspn): Do not use BP_SYM.
6233         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6234         (PARMS): Do not use macros from bp-asm.h.
6235         (STR): Likewise.
6236         (DELIM): Likewise.
6237         (SAVE): Likewise.
6238         (FUNCTION): Likewise.  Do not use BP_SYM.
6239         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6240         aliases.
6241         (strtok_r): Likewise.
6242         (__GI___strtok_r): Likewise.
6243         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6244         (PARMS): Do not use macros from bp-asm.h.
6245         (S1): Likewise.
6246         (S2): Likewise.
6247         (SIZE): Likewise.
6248         (__mpn_sub_n): Do not use BP_SYM.
6249         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6250         "bp-asm.h".
6251         (PARMS): Do not use macros from bp-asm.h.
6252         (S1): Likewise.
6253         (SIZE): Likewise.
6254         (__mpn_submul_1): Do not use BP_SYM.
6255         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6256         <bp-sym.h>.
6257         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6258         and <bp-asm.h>.
6259         (PARMS): Do not use macros from bp-asm.h.
6260         (FLAGS): Likewise.
6261         (PTID): Likewise.
6262         (TLS): Likewise.
6263         (CTID): Likewise.
6264         (__clone): Do not use BP_SYM.
6265         (clone): Do not use BP_SYM in weak_alias.
6266         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6267         and <bp-asm.h>.
6268         (PARMS): Do not use macros from bp-asm.h.
6269         (LEN): Likewise.
6270         (__mmap64): Do not use BP_SYM.
6271         (mmap64): Do not use BP_SYM in weak_alias.
6272         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6273         <bp-sym.h> and <bp-asm.h>.
6274         (PARMS): Do not use macros from bp-asm.h.
6275         (__posix_fadvise64_l64): Do not use BP_SYM.
6276         * sysdeps/unix/sysv/linux/i386/semtimedop.S
6277         (PARMS): Do not use macros from bp-asm.h.
6278         (NSOPS): Likewise.
6279         (semtimedop): Do not use BP_SYM.
6280         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6281         and <bp-asm.h>.
6282
6283 2013-02-21  Allan McRae  <allan@archlinux.org>
6284
6285         * manual/message.texi (Charset conversion in gettext):
6286         Move @end statement to beginning of line.
6287
6288 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6289
6290         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6291         static.
6292         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6293         Likewise.
6294
6295         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6296         (denorm): Likewise.
6297         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6298         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6299
6300 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6301
6302         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6303         tail-call to the resolved function if pltexit isn't needed.
6304
6305 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6306
6307         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6308         or Y being zero as being unlikely.
6309         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6310         Likewise.
6311
6312 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
6313
6314         * manual/nss.texi (System Databases and Name Service Switch):
6315         Remove frobnicate @pxref.
6316
6317 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
6318
6319         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6320         __attribute__ ((unused)) to __attribute__ ((__unused__)).
6321
6322 2013-02-20  Petr Machata  <pmachata@redhat.com>
6323
6324         * elf/elf.h (R_ARM_TARGET1): New macro.
6325         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6326         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6327         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6328         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6329         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6330         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6331         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6332         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6333         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6334         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6335         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6336         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6337         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6338         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6339         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6340         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6341         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6342         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6343         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6344         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6345         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6346         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6347         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6348         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6349         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6350         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6351         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6352         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6353         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6354         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6355         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6356         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6357         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6358         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6359         (R_ARM_THM_GOT_BREL12): Likewise.
6360         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6361         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6362         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6363         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6364         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6365         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6366         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6367         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6368         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6369
6370 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
6371
6372         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6373         __attribute_used__ to __attribute__ ((unused)).
6374
6375 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6376
6377         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6378         powerpc mpa.c.
6379         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6380         comment formatting.
6381         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6382
6383 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
6384
6385         [BZ #13550]
6386         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6387         Remove macro.
6388         (ENTER): Remove both macro definitions.
6389         (LEAVE): Likewise.
6390         (CHECK_BOUNDS_LOW): Likewise.
6391         (CHECK_BOUNDS_HIGH): Likewise.
6392         (CHECK_BOUNDS_BOTH): Likewise.
6393         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6394         (RETURN_BOUNDED_POINTER): Likewise.
6395         (RETURN_NULL_BOUNDED_POINTER): Likewise.
6396         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6397         (POP_ERRNO_LOCATION_RETURN): Likewise.
6398         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6399         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6400         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6401         macros.
6402         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6403         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6404         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6405         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6406         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6407         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6408         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6409         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6410         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6411         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6412         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6413         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6414         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6415         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6416         removed macros.
6417         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6418         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6419         macros.
6420         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6421         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6422         * sysdeps/i386/i586/memset.S (memset): Likewise.
6423         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6424         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6425         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6426         macros.
6427         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6428         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6429         Change uses of L(2) to L(out).
6430         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6431         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6432         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6433         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6434         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6435         removed macros.
6436         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6437         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6438         macros.
6439         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6440         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6441         (RETURN): Do not use macro LEAVE.
6442         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6443         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6444         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6445         * sysdeps/i386/i686/memset.S (memset): Likewise.
6446         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6447         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6448         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6449         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6450         Likewise.
6451         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6452         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
6453         L(1_2) and L(1_3) into L(1).
6454         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6455         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6456         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6457         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6458         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6459         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6460         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6461         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6462         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6463         macros.
6464         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6465         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6466         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6467         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6468         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6469         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6470         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6471         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6472         * sysdeps/i386/strcspn.S (strcspn): Likewise.
6473         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6474         * sysdeps/i386/strrchr.S (strrchr): Likewise.
6475         * sysdeps/i386/strspn.S (strspn): Likewise.
6476         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6477         conditional code.
6478         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6479         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6480         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6481         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
6482         L(1_3) into L(1_1).
6483         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6484         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6485         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6486         macros.
6487         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6488
6489 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
6490
6491         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6492         macro.
6493
6494 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6495
6496         * math/atest-exp.c (exp_mpn): Remove ROUND.
6497         * math/atest-exp2.c (exp_mpn): Likewise.
6498         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6499
6500         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6501         * stdlib/tst-tls-atexit-lib.c: Likewise.
6502         * stdlib/tst-tls-atexit.c: Likewise.
6503
6504 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6505
6506         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6507         and __attribute_alloc_size__.
6508
6509 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6510
6511         * include/programs/xmalloc.h: Change __attribute_alloc_size to
6512         __attribute_alloc_size__.
6513         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6514         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6515
6516 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6517
6518         * include/programs/xmalloc.h: New file.
6519         * catgets/gencat.c: Include it.
6520         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6521         * elf/pldd.c: Likewise.
6522         * iconv/iconv_charmap.c: Likewise.
6523         * iconv/iconvconfig.c: Likewise.
6524         * iconv/strtab.c: Likewise.
6525         * locale/programs/locale.c: Likewise.
6526         * locale/programs/localedef.h: Likewise.
6527         * locale/programs/simple-hash.c: Likewise.
6528         * nscd/nscd.h: Likewise.
6529         * nss/makedb.c: Likewise.
6530         * sysdeps/generic/ldconfig.h: Likewise.
6531
6532 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6533
6534         * Versions.def: Add GLIBC_2.18.
6535         * include/link.h (struct link_map): New member l_tls_dtor_count.
6536         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6537         (__call_tls_dtors): Likewise.
6538         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6539         __cxa_thread_atexit_impl.
6540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6541         Likewise.
6542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6543         Likewise.
6544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6545         Likewise.
6546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6547         Likewise.
6548         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6550         Likewise.
6551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6552         Likewise.
6553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6554         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6555         Likewise.
6556         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6557         (tests): Add test case tst-tls-atexit.
6558         (modules-names): Add shared library for tst-tls-atexit.
6559         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
6560         (GLIBC_PRIVATE): Add __call_tls_dtors.
6561         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6562         for libstdc++.
6563         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6564         * stdlib/tst-tls-atexit.c: New test case.
6565         * stdlib/tst-tls-atexit-lib.c: New test case.
6566
6567         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6568
6569         * elf/Versions (ld): Add _dl_find_dso_for_object.
6570         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6571         * elf/dl-open.c (_dl_find_dso_for_object): New function.
6572         (dl_open_worker): Use _dl_find_dso_for_object.
6573         * elf/dl-sym.c (do_sym): Likewise.
6574         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6575
6576 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6577
6578         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6579         Syntactic changes only.
6580         (_dl_runtime_profile): Do a tail-call to the resolved function.
6581
6582 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
6583
6584         [BZ #13550]
6585         * sysdeps/x86_64/bp-asm.h: Remove file.
6586         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6587         <bp-sym.h> and <bp-asm.h>.
6588         (__clone): Do not use BP_SYM.
6589         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6590         <bp-sym.h> and <bp-asm.h>.
6591         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6592         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6593         "bp-asm.h".
6594         (_setjmp): Do not use BP_SYM.
6595         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6596         "bp-asm.h".
6597         (setjmp): Do not use BP_SYM.
6598         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6599         libc_hidden_def.
6600         (mempcpy): Do not use BP_SYM in weak_alias.
6601         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6602         "bp-asm.h".
6603         (strchr): Do not use BP_SYM.
6604         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6605         "bp-asm.h".
6606         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6607         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6608         (_start): Do not use BP_SYM.
6609         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6610         "bp-asm.h".
6611         (strcat): Do not use BP_SYM.
6612         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6613         "bp-asm.h".
6614         (STRCMP): Do not use BP_SYM.
6615         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6616         "bp-asm.h".
6617         (STRCPY): Do not use BP_SYM.
6618         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6619         "bp-asm.h".
6620         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6621         "bp-asm.h".
6622         (FUNCTION): Do not use BP_SYM.
6623         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6624         weak_alias.
6625         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6626
6627 2013-02-17  Andreas Jaeger  <aj@suse.de>
6628
6629         * time/Versions: Sort entries.
6630         * string/Versions: Likewise.
6631         * resolv/Versions: Likewise.
6632         * posix/Versions: Likewise.
6633         * iconv/Versions: Likewise.
6634         * elf/Versions: Likewise.
6635         * wcsmbs/Versions: Likewise.
6636
6637 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6638
6639         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6640         loop termination condition.
6641
6642         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6643         variable to calculate EZ.
6644         (__sqr): Likewise.
6645
6646         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6647         the lower precision input.
6648
6649 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
6650
6651         [BZ #13550]
6652         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6653         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6654         (run-via-rtld-prefix): Do not handle %-bp tests.
6655         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6656         (all-object-suffixes): Remove .ob.
6657         (bppfx): Remove variable.
6658         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6659         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6660         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6661         [$(build-bounded) = yes] (libtype.ob): Likewise.
6662         * Makerules (elide-routines.ob): Remove variable.
6663         (do-tests-clean): Do not handle *-bp.out.
6664         (common-mostlyclean): Do not handle *-bp and *-bp.out.
6665         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6666         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6667         (tests): Do not include $(tests-bp.out).
6668         (xtests): Do not include $(xtests-bp.out).
6669         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6670         [$(build-bounded) = yes] ($(addprefix
6671         $(objpfx),$(binaries-bounded))): Remove rule.
6672         ($(objpfx)%-bp.out): Remove rule.
6673         * config.make.in (build-bounded): Remove variable.
6674         * crypt/Makefile [$(build-bounded) = yes]
6675         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6676         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6677         append to variable.
6678         [$(build-bounded) = yes] (install-lib): Likewise.
6679         [$(build-bounded) = yes] (generated): Likewise.
6680         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6681         Remove rule.
6682         * intl/Makefile [$(build-bounded) = yes]
6683         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6684         * math/Makefile [$(build-bounded) = yes]
6685         ($(tests:%=$(objpfx)%-bp): Likewise.
6686         * misc/Makefile [$(build-bounded) = yes]
6687         ($(objpfx)tst-tsearch-bp): Likewise.
6688         * nptl/Makeconfig (bounded-thread-library): Remove variable.
6689         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6690         Remove dependency.
6691         * string/Makefile (o-objects.ob): Remove variable.
6692         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6693         (CFLAGS-.ob): Remove variable.
6694         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6695         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6696         both definitions of variable.
6697         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6698         (ASFLAGS-.ob): Remove variable.
6699
6700 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
6701
6702         [BZ #13550]
6703         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6704         Remove __BOUNDED_POINTERS__ from condition.
6705         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6706         * string/bits/string2.h [!__NO_STRING_INLINES &&
6707         !__BOUNDED_POINTERS__]: Likewise.
6708         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6709         Likewise.
6710         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6711         Remove conditional code.
6712         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6713         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6714         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6715         condition.
6716
6717         [BZ #13550]
6718         * csu/libc-start.c: Do not include <bp-sym.h>.
6719         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6720         * elf/dl-open.c: Do not include <bp-sym.h>.
6721         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6722         * math/fegetenv.c: Do not include <bp-sym.h>.
6723         (fegetenv): Do not use BP_SYM in versioned symbols.
6724         * nptl/sysdeps/pthread/bits/libc-lockP.h
6725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6726         <bp-sym.h>.
6727         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6728         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6729         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6730         (__pthread_mutex_destroy): Likewise.
6731         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6732         (__pthread_mutex_lock): Likewise.
6733         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6734         (__pthread_mutex_trylock): Likewise.
6735         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6736         (__pthread_mutex_unlock): Likewise.
6737         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6738         (__pthread_mutexattr_init): Likewise.
6739         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6740         (__pthread_mutexattr_destroy): Likewise.
6741         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6742         (__pthread_mutexattr_settype): Likewise.
6743         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6744         (__pthread_rwlock_init): Likewise.
6745         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6746         (__pthread_rwlock_destroy): Likewise.
6747         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6748         (__pthread_rwlock_rdlock): Likewise.
6749         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6750         (__pthread_rwlock_tryrdlock): Likewise.
6751         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6752         (__pthread_rwlock_wrlock): Likewise.
6753         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6754         (__pthread_rwlock_trywrlock): Likewise.
6755         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6756         (__pthread_rwlock_unlock): Likewise.
6757         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6758         (__pthread_key_create): Likewise.
6759         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6760         (__pthread_setspecific): Likewise.
6761         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6762         (__pthread_getspecific): Likewise.
6763         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6764         Likewise.
6765         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6766         (_pthread_cleanup_push_defer): Likewise.
6767         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6768         (_pthread_cleanup_pop_restore): Likewise.
6769         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6770         (pthread_setcancelstate): Likewise.
6771         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6772         <bp-sym.h>.
6773         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6774         (memchr): Do not use BP_SYM in weak_alias.
6775         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6776         (fegetenv): Do not use BP_SYM in versioned symbols.
6777         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6778         (fesetenv): Do not use BP_SYM in versioned symbols.
6779         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6780         (feupdateenv): Do not use BP_SYM in versioned symbols.
6781         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6782         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6783         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6784         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6785         (open64): Do not use BP_SYM in weak_alias.
6786         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6787         (fegetenv): Do not use BP_SYM in versioned symbols.
6788         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6789         (fesetenv): Do not use BP_SYM in versioned symbols.
6790         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6791         (feupdateenv): Do not use BP_SYM in versioned symbols.
6792         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6793         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6794         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6795         (feraiseexcept): Do not use BP_SYM in versioned symbols.
6796         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6797         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6798         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6799         <bp-sym.h>.
6800         (__libc_start_main): Do not use BP_SYM.
6801
6802 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6803
6804         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6805         redundant return line.
6806         (norm): Likewise.
6807         (denorm): Likewise.
6808         (dbl_mp): Likewise.
6809         (sub_magnitudes): Likewise.
6810         (__add): Likewise.
6811         (__sub): Likewise.
6812         (__mul): Likewise.
6813         (__inv): Likewise.
6814         (__dvd): Likewise.
6815         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6816         (norm): Likewise.
6817         (denorm): Likewise.
6818         (dbl_mp): Likewise.
6819         (sub_magnitudes): Likewise.
6820         (__add): Likewise.
6821         (__sub): Likewise.
6822         (__mul): Likewise.
6823         (__inv): Likewise.
6824         (__dvd): Likewise.
6825
6826         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6827         instead of __mul.
6828         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6829         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6830         (cc32): Likewise.
6831
6832         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6833         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6834         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6835         of __mul for squares.
6836         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6837         function
6838         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6839         Likewise.
6840         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6841         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6842
6843 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
6844
6845         [BZ #13550]
6846         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6847         code.
6848         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6849         prototype or function definition.  Rename ubp_* variables and
6850         parameters.  Remove argv definitions conditional on
6851         [__BOUNDED_POINTERS__].
6852         * debug/backtrace.c (__backtrace): Do not use __unbounded.
6853         * elf/dl-runtime.c (_dl_fixup): Likewise.
6854         * include/set-hooks.h (RUN_HOOK): Likewise.
6855         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6856         definition.
6857         * string/strcpy.c (strcpy): Do not use __unbounded.
6858         * sysdeps/generic/frame.h (struct layout): Likewise.
6859         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6860         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6861         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6862         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6863         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6864         (__backtrace): Likewise.
6865         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6866         use __ptrvalue.
6867         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6868         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6869         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6870         Likewise.
6871         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6872         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6873         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6874         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6875         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6876         Do not use __unbounded.
6877         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6878         Rename __unboundedrlimits parameter to rlimits in prototype.
6879         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6880         Do not use __unbounded.
6881         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6882         not use __ptrvalue.
6883         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6884         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6885         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6886         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6887         __ptrvalue or __unbounded.
6888         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6889         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6890         use __unbounded.
6891         (__new_msgctl): Do not use __ptrvalue.
6892         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6893         __unbounded.
6894         (__libc_msgrcv): Do not use __ptrvalue.
6895         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6896         startup_info): Do not use __unbounded.
6897         (__libc_start_main): Likewise.  Rename ubp_* variables and
6898         parameters.  Remove argv definitions conditional on
6899         [__BOUNDED_POINTERS__].
6900         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6901         __ptrvalue.
6902         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6903         use __unbounded.
6904         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6905         or __ptrvalue.
6906         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6907         use __unbounded.
6908         (__new_shmctl): Do not use __ptrvalue.
6909         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6910         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6911         Likewise.
6912         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6913         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6914         (__libc_sigaction): Likewise.
6915         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6916         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6917         Likewise.
6918         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6919
6920 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
6921
6922         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6923
6924         * string/mempcpy.c: Implement by calling memcpy.
6925
6926 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6927
6928         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6929
6930         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6931         evaluation.
6932
6933         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6934         values in the mantissa.
6935
6936         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6937         minimize writes to Z.
6938         (sub_magnitudes): Simplify code a bit.
6939
6940 2013-02-12  Roland McGrath  <roland@hack.frob.com>
6941
6942         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6943         from the message.  The linker prefixes all warnings with that already.
6944
6945 2013-02-12  Andreas Schwab  <schwab@suse.de>
6946
6947         [BZ #15078]
6948         * posix/regexec.c (extend_buffers): Add parameter min_len.
6949         (check_matching): Pass minimum needed length.
6950         (clean_state_log_if_needed): Likewise.
6951         (get_subexp): Likewise.
6952         * posix/Makefile (tests): Add bug-regex34.
6953         (bug-regex34-ENV): Define.
6954         * posix/bug-regex34.c: New file.
6955
6956         [BZ #11561]
6957         * posix/regcomp.c (parse_bracket_exp): When looking up collating
6958         elements compare against the byte sequence of it, not its name.
6959         * posix/Makefile (tests): Add bug-regex35.
6960         (bug-regex35-ENV): Define.
6961         * posix/bug-regex35.c: New file.
6962
6963 2013-02-11  Tom de Vries  <tom@codesourcery.com>
6964
6965         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
6966         comment.
6967         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6968         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6969         (CHECK_EOL): Add undef.
6970
6971 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
6972
6973         * bits/stdlib-bsearch.h: New file.
6974         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6975         * stdlib/stdlib.h: Likewise.
6976
6977 2013-02-11  Roland McGrath  <roland@hack.frob.com>
6978
6979         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6980         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6981         declaration.
6982         * manual/search.texi (Array Search Function): Add missing const in
6983         lfind prototype.
6984         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6985         declaration to use rlim_t.
6986         (Basic Scheduling Functions): Remove erroneous const from
6987         sched_getparam prototype.  Remove erroneous * from
6988         sched_get_priority_max and sched_get_priority_min prototypes.
6989         (Resource Usage): Fix summary @comment on vtimes to refer to
6990         sys/vtimes.h rather than vtimes.h.
6991         Add missing *s in vtimes prototype.
6992         (Limits on Resources): Fix ulimit prototype to return long int.
6993         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6994         prototypes to use long int rather than double.
6995         (BSD Random): Fix initstate and setstate to use char *, not void *.
6996         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6997         prototype to make second argument 'struct aiocb64 *const[]'.
6998         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6999         (Status of AIO Operations): Remove erroneous const in aio_return and
7000         aio_return64 prototypes.
7001         (Synchronizing I/O): Fix sync prototype to return void.
7002         * manual/startup.texi (Suboptions): Remove an erroneous const in
7003         getsubopt prototype.
7004         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7005         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7006         use size_t rather than int.
7007         (Scanning All Users): Likewise for getpwent_r.
7008         (Setting Groups): Add missing const to setgroups prototype.
7009         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7010         * manual/socket.texi (Host Names): Fix gethostbyaddr and
7011         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7012         'const void *' rather than 'const char *'.
7013         (Host Address Functions): Likewise for inet_ntop.
7014         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7015         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7016         ssize_t for return value.
7017         (Sending Data): Likewise for send, sendto, sendmsg.
7018         (Socket Option Functions): Add a missing const in setsockopt prototype.
7019         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7020         use wchar_t for the argument.
7021         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7022         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7023         take no arguments.
7024         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7025         double/float/long double for second argument.
7026         Fix return types of significand, significandf, significandl.
7027         * manual/filesys.texi (Setting Permissions): Use mode_t for second
7028         argument in fchmod prototype.
7029         (File Owner): Use uid_t and gid_t in fchown prototype.
7030         (File Times): Add const to utimes, futimes, and lutimes prototypes.
7031         (Making Special Files): Use mode_t and dev_t in mknod prototype.
7032         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7033         use 'const struct dirent **' as argument types to CMP function pointer
7034         argument.
7035         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7036         (File Times): Fix summary magic @comment for struct utimbuf and utime
7037         to refer to utime.h, not time.h.
7038         * manual/string.texi (Argz Functions): Add missing const in
7039         argz_extract and argz_next prototypes.
7040         (Finding Tokens in a String): Likewise for basename.
7041         (String/Array Comparison): Fix typo in wcscasecmp prototype.
7042         (Copying and Concatenation): Fix typo in wmemmove prototype.
7043         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7044         (Signal Stack): Remove erroneous const in sigstack prototype.
7045         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7046         prototype.
7047         (Simple Calendar Time): Likewise for stime.
7048         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7049         prototype.
7050         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7051         say sys/sysctl.h instead.
7052         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7053         and vsyslog prototypes.
7054
7055 2013-02-11  Tom de Vries  <tom@codesourcery.com>
7056
7057         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7058         Remove.
7059
7060 2013-02-11  Roland McGrath  <roland@hack.frob.com>
7061
7062         * misc/sys/mman.h: Fix typo in mremap comment.
7063
7064 2013-02-08  Roland McGrath  <roland@hack.frob.com>
7065
7066         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7067         the '\0' terminator.
7068
7069 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
7070
7071         [BZ #13550]
7072         * debug/segfault.c: Don't include <bp-checks.h>.
7073         * sysdeps/generic/bp-checks.h: Remove file.
7074         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7075         (__GETDENTS): Don't use CHECK_N.
7076         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7077         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7078         (__getgroups): Don't use CHECK_N.
7079         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7080         (setgroups): Don't use CHECK_N.
7081         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7082         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7083         (__libc_msgrcv): Don't use CHECK_N.
7084         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7085         (__libc_msgsnd): Don't use CHECK_N.
7086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7087         <bp-checks.h>.
7088         (__libc_pread): Don't use CHECK_N.
7089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7090         include <bp-checks.h>.
7091         (__libc_pread64): Don't use CHECK_N.
7092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7093         include <bp-checks.h>.
7094         (__libc_pwrite): Don't use CHECK_N.
7095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7096         include <bp-checks.h>.
7097         (__libc_pwrite64): Don't use CHECK_N.
7098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7099         <bp-checks.h>.
7100         (__libc_pread): Don't use CHECK_N.
7101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7102         include <bp-checks.h>.
7103         (__libc_pread64): Don't use CHECK_N.
7104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7105         include <bp-checks.h>.
7106         (__libc_pwrite): Don't use CHECK_N.
7107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7108         include <bp-checks.h>.
7109         (__libc_pwrite64): Don't use CHECK_N.
7110         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7111         (do_pread): Don't use CHECK_N.
7112         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7113         (do_pread64): Don't use CHECK_N.
7114         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7115         (do_pwrite): Don't use CHECK_N.
7116         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7117         (do_pwrite64): Don't use CHECK_N.
7118         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7119         (__libc_readv): Don't use CHECK_N.
7120         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7121         (semop): Don't use CHECK_N.
7122         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7123         <bp-checks.h>.
7124         (semtimedop): Don't use CHECK_N.
7125         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7126         (__libc_pread): Don't use CHECK_N.
7127         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7128         <bp-checks.h>.
7129         (__libc_pread64): Don't use CHECK_N.
7130         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7131         <bp-checks.h>.
7132         (__libc_pwrite): Don't use CHECK_N.
7133         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7134         <bp-checks.h>.
7135         (__libc_pwrite64): Don't use CHECK_N.
7136         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7137         <bp-checks.h>.
7138         (__libc_msgrcv): Don't use CHECK_N.
7139         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7140         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
7141         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7142         (__libc_writev): Don't use CHECK_N.
7143
7144 2013-02-08  Roland McGrath  <roland@hack.frob.com>
7145
7146         * string/strcpy.c: Removed unused variable.
7147
7148         * Makeconfig (+sysdep-includes): Define with := rather than =.
7149         Use an existing include/ subdir of each sysdeps dir before it.
7150
7151 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7152
7153         * nscd/connection.c (register_traced_file): Comment function.
7154         [HAVE_INOTIFY] (union __inev): Define.
7155         [HAVE_INOTIFY] (inotify_check_files): New function.
7156         [HAVE_INOTIFY] (clear_db_cache): Likewise.
7157         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7158         clear_db_cache.
7159         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7160
7161 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7162
7163         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7164         loaded if not already and that a failure is permanent.
7165
7166 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7167
7168         [BZ #15006]
7169         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7170         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7171
7172 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
7173
7174         [BZ #13550]
7175         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7176         (CHECK_1_NULL_OK): Likewise.
7177         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7178         (__fxstat): Do not use CHECK_1.
7179         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7180         <bp-checks.h>.
7181         (___fxstat64): Do not use CHECK_1.
7182         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7183         <bp-checks.h>.
7184         (__fxstatat): Do not use CHECK_1.
7185         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7186         <bp-checks.h>.
7187         (__fxstatat64): Do not use CHECK_1.
7188         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7189         <bp-checks.h>.
7190         (__fxstat): Do not use CHECK_1.
7191         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7192         <bp-checks.h>.
7193         (__fxstatat): Do not use CHECK_1.
7194         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7195         <bp-checks.h>.
7196         (__getresgid): Do not use CHECK_1.
7197         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7198         <bp-checks.h>.
7199         (__getresuid): Do not use CHECK_1.
7200         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7201         <bp-checks.h>.
7202         (__lxstat): Do not use CHECK_1.
7203         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7204         <bp-checks.h>.
7205         (__old_msgctl): Do not use CHECK_1.
7206         (__new_msgctl): Likewise.
7207         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7208         <bp-checks.h>.
7209         (__new_setrlimit): Do not use CHECK_1.
7210         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7211         <bp-checks.h>.
7212         (__old_shmctl): Do not use CHECK_1.
7213         (__new_shmctl): Likewise.
7214         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7215         <bp-checks.h>.
7216         (__xstat): Do not use CHECK_1.
7217         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7218         (__lxstat): Do not use CHECK_1.
7219         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7220         <bp-checks.h>.
7221         (___lxstat64): Do not use CHECK_1.
7222         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7223         (__old_msgctl): Do not use CHECK_1.
7224         (__new_msgctl): Likewise.
7225         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7226         <bp-checks.h>.
7227         (__gettimeofday): Do not use CHECK_1.
7228         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7229         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7230         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7231         <bp-checks.h>.
7232         (__gettimeofday): Do not use CHECK_1.
7233         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7234         (__old_shmctl): Do not use CHECK_1_NULL_OK.
7235         (__new_shmctl): Do not use CHECK_1.
7236         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7237         <bp-checks.h>.
7238         (do_sigtimedwait): Do not use CHECK_1.
7239         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7240         <bp-checks.h>.
7241         (do_sigwaitinfo): Do not use CHECK_1.
7242         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7243         <bp-checks.h>.
7244         (msgctl): Do not use CHECK_1.
7245         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7246         <bp-checks.h>.
7247         (shmctl): Do not use CHECK_1.
7248         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7249         (ustat): Do not use CHECK_1.
7250         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7251         <bp-checks.h>.
7252         (__fxstat): Do not use CHECK_1.
7253         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7254         <bp-checks.h>.
7255         (__fxstatat): Do not use CHECK_1.
7256         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7257         <bp-checks.h>.
7258         (__lxstat): Do not use CHECK_1.
7259         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7260         <bp-checks.h>.
7261         (__xstat): Do not use CHECK_1.
7262         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7263         (__xstat): Do not use CHECK_1.
7264         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7265         (___xstat64): Do not use CHECK_1.
7266
7267         [BZ #13550]
7268         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7269         definitions.
7270         (CHECK_BOUNDS_HIGH): Likewise.
7271         * string/strcpy.c: Do not include <bp-checks.h>.
7272         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7273
7274 2013-02-07  Roland McGrath  <roland@hack.frob.com>
7275
7276         * nscd/nscd-client.h (__nscd_drop_map_ref):
7277         Add __attribute__ ((unused)).
7278         * nis/nss-nisplus.h (niserr2nss): Likewise.
7279
7280         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7281         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7282
7283         * csu/libc-tls.c (init_static_tls, init_slotinfo):
7284         Remove inline keyword.
7285         * include/rounding-mode.h (round_away): Likewise.
7286         * libio/wfileops.c (adjust_wide_data): Likewise.
7287         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7288         (__m128i_strloadu_tolower): Likewise.
7289         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7290         (__m128i_strloadu_tolower): Likewise.
7291         * time/mktime.c (ydhms_diff): Likewise.
7292         * locale/elem-hash.h (elem_hash): Likewise.
7293         * locale/setlocale.c (setdata): Likewise.
7294         * posix/regex_internal.h (re_string_char_size_at): Likewise.
7295         (re_string_wchar_at): Likewise.
7296         (bitset_not, bitset_merge, bitset_mask): Likewise.
7297         [!(__GNUC__ > 3)] (inline): Remove macro.
7298         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7299         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7300         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7301         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7302         * string/memcmp.c (memcmp_bytes): Likewise.
7303         * locale/programs/locarchive.c (compute_hashval): Likewise.
7304         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7305         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7306         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7307         * nss/getent.c (print_rpc, print_protocols): Likewise.
7308         (print_passwd, print_group, print_aliases): Likewise.
7309         * nis/nss-nisplus.h (niserr2nss): Likewise.
7310         * nscd/connections.c (restart_p): Likewise.
7311         Change return type to bool.
7312
7313 2013-02-05  Roland McGrath  <roland@hack.frob.com>
7314
7315         * Makeconfig (all-Depend-files): Add existing
7316         $(sorted-subdirs:=/Depend) files.
7317         (all-subdirs): Remove nss.
7318         * sysdeps/unix/inet/Subdirs: Add it here instead.
7319         * hesiod/Depend: New file.
7320
7321         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7322         instead of calling alloca.
7323
7324         * io/lseek.c (__lseek): Rename to __libc_lseek.
7325         Define __lseek as an alias.
7326
7327         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7328
7329 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
7330
7331         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7332         else clause and remove check for non-standard endianness.
7333
7334 2013-02-04  David S. Miller  <davem@davemloft.net>
7335
7336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7337
7338 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
7339
7340         [BZ #13550]
7341         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7342         (__ubp_memchr): Remove prototype.
7343         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7344         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7345         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7346         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7347         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7348         Remove alias.
7349         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7350         (__ubp_memchr): Likewise.
7351         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7352         (__ubp_memchr): Likewise.
7353         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7354         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7355         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7356         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7357         CHECK_STRING.
7358         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7359         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7360         (__getcwd): Do not use CHECK_STRING.
7361         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7362         <bp-checks.h>.
7363         (__real_chown): Do not use CHECK_STRING.
7364         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7365         <bp-checks.h>.
7366         (fchownat): Do not use CHECK_STRING.
7367         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7368         CHECK_STRING.
7369         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7370         <bp-checks.h>.
7371         (__lchown): Do not use CHECK_STRING.
7372         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7373         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7374         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7375         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7377         include <bp-checks.h>.
7378         (truncate64): Do not use CHECK_STRING.
7379         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7380         <bp-checks.h>.
7381         (__real_chown): Do not use CHECK_STRING.
7382         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7383         <bp-checks.h>.
7384         (__lchown): Do not use CHECK_STRING.
7385         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7386         <bp-checks.h>.
7387         (__chown): Do not use CHECK_STRING.
7388         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7389         <bp-checks.h>.
7390         (truncate64): Do not use CHECK_STRING.
7391         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7392         Likewise.
7393         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7394         (__xmknod): Do not use CHECK_STRING.
7395         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7396         <bp-checks.h>.
7397         (__xmknodat): Do not use CHECK_STRING.
7398         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7399         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7400
7401 2013-02-04  Andreas Schwab  <schwab@suse.de>
7402
7403         [BZ #14142]
7404         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7405         * include/netdb.h: Likewise for h_errno.
7406         * elf/tst-stackguard1.c: Include <tls.h>.
7407
7408 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
7409
7410         * elf/link.h (struct link_map): Extend the l_addr comment.
7411         * include/link.h (struct link_map): Likewise.
7412
7413 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
7414
7415         [BZ #13550]
7416         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7417         (BOUNDED_1): Remove macro.
7418         * debug/backtrace.c: Don't include <bp-checks.h>.
7419         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7420         (__backtrace): Likewise.
7421         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7422         <bp-checks.h>.
7423         (__backtrace): Don't use BOUNDED_1.
7424         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7425         <bp-checks.h>.
7426         (__backtrace): Don't use BOUNDED_1.
7427         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7428         (__backtrace): Don't use BOUNDED_1.
7429         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7430         (shmat): Don't use BOUNDED_N.
7431
7432 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
7433
7434         [BZ #13550]
7435         * sysdeps/generic/bp-start.h: Remove file.
7436         * csu/libc-start.c: Don't include <bp-start.h>.
7437         (LIBC_START_MAIN): Set up __environ directly instead of using
7438         INIT_ARGV_and_ENVIRON.
7439         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7440         <bp-start.h>.
7441
7442         [BZ #13550]
7443         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7444         definitions.
7445         (CHECK_FCNTL): Likewise.
7446         (CHECK_N_PAGES): Likewise.
7447
7448         [BZ #13550]
7449         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7450         definitions.
7451         (CHECK_SIGSET_NULL_OK): Likewise.
7452         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7453         <bp-checks.h>.
7454         (sigpending): Don't use CHECK_SIGSET.
7455         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7456         <bp-checks.h>.
7457         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7458         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7459         <bp-checks.h>.
7460         (do_sigsuspend): Don't use CHECK_SIGSET.
7461         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7462         use CHECK_SIGSET.
7463         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7464         (do_sigwait): Don't use CHECK_SIGSET.
7465         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7466         use CHECK_SIGSET.
7467         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7468         include <bp-checks.h>.
7469         (sigpending): Don't use CHECK_SIGSET.
7470         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7471         include <bp-checks.h>.
7472         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7473         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7474         <bp-checks.h>.
7475         (sigpending): Don't use CHECK_SIGSET.
7476         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7477         <bp-checks.h>.
7478         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7479
7480         [BZ #13550]
7481         * sysdeps/generic/bp-semctl.h: Remove file.
7482         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7483         <bp-checks.h> and <bp-semctl.h>.
7484         (__old_semctl): Don't use CHECK_SEMCTL.
7485         (__new_semctl): Likewise.
7486         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7487         and <bp-semctl.h>.
7488         (__old_semctl): Don't use CHECK_SEMCTL.
7489         (__new_semctl): Likewise.
7490         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7491         <bp-checks.h> and <bp-semctl.h>.
7492         (__old_semctl): Don't use CHECK_SEMCTL.
7493         (__new_semctl): Likewise.
7494         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7495         <bp-checks.h> and <bp-semctl.h>.
7496         (semctl): Don't use CHECK_SEMCTL.
7497
7498         [BZ #13550]
7499         * Makerules (elide-bp-thunks): Remove variable.
7500         (elide-routines.oS): Don't use $(elide-bp-thunks).
7501         (elide-routines.os): Likewise.
7502         (elide-routines.o): Likewise.
7503         (elide-routines.op): Likewise.
7504         (elide-routines.og): Likewise.
7505         (objects): Don't use $(bp-thunks).
7506         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7507         include.
7508         (common-generated): Do not add s-proto-bp.d.
7509         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7510         (int): Likewise.
7511         (typ): Likewise.
7512         Do not generate makefile rules for bounded-pointer thunks.
7513         * sysdeps/generic/bp-thunks.h: Remove file.
7514         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7515         * sysdeps/unix/s-proto-bp.S: Likewise.
7516
7517         [BZ #15062]
7518         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7519         parts of result separately when argument is not close to line from
7520         -i to i and one part of argument is small.
7521         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7522         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7523         * math/libm-test.inc (cacos_test): Add more tests.
7524         (casin_test): Likewise.
7525         (casinh_test): Likewise.
7526         * sysdeps/i386/fpu/libm-test-ulps: Update.
7527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7528
7529 2013-01-31  David S. Miller  <davem@davemloft.net>
7530
7531         * po/de.po: Update from translation team.
7532
7533 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
7534
7535         * time/tzfile.c: Include stdint.h for SIZE_MAX.
7536
7537 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
7538
7539         * configure.in (_AC_PROG_CC_C89): New definition.
7540         * configure: Regenerate.
7541
7542         * configure.in (AC_PROG_CPP): New definition.
7543         * configure: Regenerate.
7544
7545 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
7546
7547         * debug/tst-backtrace.h: New file.
7548         * debug/tst-backtrace2.c: Include tst-backtrace.h.
7549         (ret): Remove variable.
7550         (x): Likewise.
7551         (FAIL): Remove macro.
7552         (NO_INLINE): Likewise.
7553         (fn1): Use match function instead of strstr.
7554         * debug/tst-backtrace3.c: Include tst-backtrace.h.
7555         (ret): Remove variable.
7556         (x): Likewise.
7557         (FAIL): Remove macro.
7558         (NO_INLINE): Likewise.
7559         (fn): Use match function instead of strstr.
7560         * debug/tst-backtrace4.c: Include tst-backtrace.h.
7561         (ret): Remove variable.
7562         (x): Likewise.
7563         (FAIL): Remove macro.
7564         (NO_INLINE): Likewise.
7565         (handle_signal): Use match function instead of strstr.
7566         * debug/tst-backtrace5.c: Include tst-backtrace.h.
7567         (ret): Remove variable.
7568         (x): Likewise.
7569         (FAIL): Remove macro.
7570         (NO_INLINE): Likewise.
7571         (handle_signal): Use match function instead of strstr.
7572
7573 2013-01-23  Roland McGrath  <roland@hack.frob.com>
7574
7575         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7576
7577 2013-01-23  David S. Miller  <davem@davemloft.net>
7578
7579         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7580         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7581         argument of CAS if possible.
7582         * sysdeps/sparc/sparc64/bits/atomic.h
7583         (__arch_compare_and_exchange_val_32_acq): Likewise.
7584         (__arch_compare_and_exchange_val_64_acq): Likewise.
7585
7586 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
7587
7588         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7589         * sysdeps/posix/ulimit.c: ... this.
7590         Include <limits.h>.
7591         * sysdeps/unix/bsd/ulimit.c: Remove file.
7592
7593 2013-01-23  Adam Conrad  <adconrad@0c3.net>
7594
7595         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7596         (LDFLAGS-tst-array5): Likewise.
7597
7598 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
7599
7600         [BZ #15036]
7601         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7602         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7603         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7604         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7605
7606 2013-01-21  David S. Miller  <davem@davemloft.net>
7607
7608         * sysdeps/sparc/backtrace.c: New file.
7609         * sysdeps/sparc/sparc32/backtrace.h: New file.
7610         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7611         * sysdeps/sparc/sparc64/backtrace.h: New file.
7612         * sysdeps/sparc/sparc64/backtrace.c: Delete.
7613         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7614         -funwind-tables.
7615
7616 2013-01-21  Andreas Schwab  <schwab@suse.de>
7617
7618         [BZ #15020]
7619         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7620         closed its stdout.
7621
7622 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
7623
7624         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7625         "mpa2.h".
7626         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7627
7628 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
7629             Mark Mitchell  <mark@codesourcery.com>
7630             Tom de Vries  <tom@codesourcery.com>
7631             Paul Pluzhnikov  <ppluzhnikov@google.com>
7632
7633         * debug/tst-backtrace2.c: New file.
7634         * debug/tst-backtrace3.c: Likewise.
7635         * debug/tst-backtrace4.c: Likewise.
7636         * debug/tst-backtrace5.c: Likewise.
7637         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7638         (CFLAGS-tst-backtrace3.c): Likewise.
7639         (CFLAGS-tst-backtrace4.c): Likewise.
7640         (CFLAGS-tst-backtrace5.c): Likewise.
7641         (LDFLAGS-tst-backtrace2): Likewise.
7642         (LDFLAGS-tst-backtrace3): Likewise.
7643         (LDFLAGS-tst-backtrace4): Likewise.
7644         (LDFLAGS-tst-backtrace5): Likewise.
7645         (tests): Add new tests tst-backtrace2, tst-backtrace3,
7646         tst-backtrace4 and tst-backtrace5.
7647
7648 2013-01-18  Anton Blanchard  <anton@samba.org>
7649             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7650
7651         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7652         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7653         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7654         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7656         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7657         "+r" and remove output regs list as redundant.  Add explicit inline
7658         asm to specify register of return val to work around compiler codegen
7659         bug.  Remove (int) cast on return value.  Add return type parameter to
7660         use in macro so that this macro does not truncate return value for
7661         64-bit values.
7662         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7663         pass to INTERNAL_VSYSCALL_NCS.
7664         (INLINE_VSYSCALL): Add 'long int' as return type to
7665         INTERNAL_VSYSCALL_NCS macro invocation.
7666         (INTERNAL_VSYSCALL): Add 'long int' as return type to
7667         INTERNAL_VSYSCALL_NCS macro invocation.
7668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7669
7670 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7671
7672         [BZ #14496]
7673         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7674         Fix application of SIMD FP exception mask.
7675
7676         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7677         mp_no from a power of two.
7678         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7679         __mpexp_twomm1.  Use __pow_mp.
7680
7681         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7682         multiplication.
7683
7684 2013-01-17  David S. Miller  <davem@davemloft.net>
7685
7686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7687
7688 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
7689
7690         [BZ #15023]
7691         * include/complex.h: Condition contents on [!_COMPLEX_H].
7692         (__kernel_casinhf): New prototype.
7693         (__kernel_casinh): Likewise.
7694         (__kernel_casinhl): Likewise.
7695         * math/Makefile (libm_calls): Add k_casinh.
7696         * math/k_casinh.c: New file.
7697         * math/k_casinhf.c: Likewise.
7698         * math/k_casinhl.c: Likewise.
7699         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7700         finite nonzero arguments.
7701         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7702         finite nonzero arguments.
7703         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7704         finite nonzero arguments.
7705         * math/s_casinh.c: Do not include <float.h>.
7706         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7707         * math/s_casinhf.c: Do not include <float.h>.
7708         (__casinhf): Move code for finite nonzero arguments to
7709         k_casinhf.c.
7710         * math/s_casinhl.c: Do not include <float.h>.
7711         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7712         redefine.
7713         (__casinhl): Move code for finite nonzero arguments to
7714         k_casinhl.c.
7715         * math/libm-test.inc (cacos_test): Add more tests.
7716         * sysdeps/i386/fpu/libm-test-ulps: Update.
7717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7718
7719 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
7720
7721         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7722         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7723         [!HAVE_MREMAP]: Remove [defined linux] case.
7724         * malloc/arena.c: Do not include <malloc-sysdep.h>.
7725
7726 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7727
7728         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7729
7730 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
7731
7732         * elf/elf.h (R_386_SIZE32): New relocation.
7733         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7734         R_386_SIZE32.
7735         (elf_machine_rela): Likewise.
7736         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7737         R_X86_64_SIZE64 and R_X86_64_SIZE32.
7738
7739 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
7740
7741         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7742         (FP_FAST_FMA): Do not define.
7743         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7744         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7745         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7746         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7747         !_SOFT_FLOAT]: Likewise.
7748         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7749         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7750         value.
7751         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7752         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7753         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7754         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7755         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7756         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7757         file.
7758
7759 2013-01-16  Andreas Schwab  <schwab@suse.de>
7760
7761         [BZ #14327]
7762         * include/stdlib.h (__mktemp): Add declaration.
7763         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7764         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7765
7766 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7767
7768         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7769         definitions.
7770         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7771         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7772         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7773         definitions here.
7774         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7775         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7776         definitions.
7777         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7778         and ONE.
7779         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7780         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7781         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7782         definitions.
7783         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7784         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7785         definitions.
7786         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7787
7788         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7789
7790 2013-01-15  David S. Miller  <davem@davemloft.net>
7791
7792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7793         trunc{,f} to libm-sysdep_routes.
7794         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7796         file.
7797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7799         file.
7800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7801         file.
7802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7804         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7805         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7806         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7807         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7808         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7809         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7810
7811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7812         nearbyint{,f} to libm-sysdep_routes.
7813         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7815         New file.
7816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7817         file.
7818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7819         New file.
7820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7821         file.
7822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7824         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7825         file.
7826         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7827         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7828         file.
7829         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7830         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7831         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7832
7833         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7834         libc_feholdexcept and libc_fesetenv.
7835
7836 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
7837
7838         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7839
7840 2013-01-14  David S. Miller  <davem@davemloft.net>
7841
7842         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7843         (SPARC_ASM_VIS2_IFUNC): Likewise.
7844         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7846         use of 'siam' instruction.
7847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7848         Likewise.
7849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7850         Likewise.
7851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7852         Likewise.
7853         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7854         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7855         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7856         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7858         file.
7859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7860         file.
7861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7862         file.
7863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7864         file.
7865         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7866         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7867         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7868         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7870         new VIS2 routines.
7871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7874         Likewise.
7875         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7876         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7877         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7878         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7880         routines to libm-sysdep_routines.
7881         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7882
7883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7884         fdim/fdimf to libm-sysdep_routines.
7885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7886         file.
7887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7889         file.
7890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7893         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7894         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7895         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7896         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7897
7898 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7899
7900         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7901         to optimize copies.
7902
7903         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7904         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7905         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7906
7907         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7908         local variable MPTWO.
7909         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7910         Likewise.
7911
7912 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7913
7914         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7915         GLOB_NOESCAPE.
7916
7917 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7918
7919         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7920
7921 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7922
7923         * manual/pattern.texi (glob_t): Document gl_flags.
7924         (glob64_t): Likewise.
7925
7926 2013-01-11  David S. Miller  <davem@davemloft.net>
7927
7928         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7929         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7930         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
7931         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7932         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7933         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7934         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7935         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7936         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7937         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7938         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7939         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7940         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7941
7942         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7943         sparc V9 rather than using V8 code.
7944         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7945         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7946
7947         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7948         Move to...
7949         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7950         Here.
7951
7952 2013-01-11  Roland McGrath  <roland@hack.frob.com>
7953
7954         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7955         not in the main loop.
7956         * configure: Regenerated.
7957
7958 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
7959
7960         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7961         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7962         to just #else.
7963         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
7964         [!__GLIBC_HAVE_LONG_LONG] case.
7965         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7966         condition to just #else.
7967         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7968         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7969         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7970         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7971         unconditional.
7972         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7973         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7974         #elif condition to just #else.
7975         * sysdeps/unix/sysv/linux/sys/sysmacros.h
7976         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7977         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7978         #elif condition to just #else.
7979
7980 2013-01-11  Steve Ellcey  <sellcey@mips.com>
7981
7982         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7983         (EF_MIPS_ARCH_64): Fix value.
7984         (EF_MIPS_ARCH_32R2): New.
7985         (EF_MIPS_ARCH_64R2): New.
7986
7987 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
7988
7989         * Makeconfig (+link-pie-before-libc): New.
7990         (+link-pie-after-libc): Likewise.
7991         (+link-pie-tests): Likewise.
7992         (+link-pie): Rewritten.
7993         (link-before-libc): Remove $(config-LDFLAGS).
7994         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7995         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7996         (config-LDFLAGS): Renamed to ...
7997         (rtld-LDFLAGS): This.
7998         (rtld-tests-LDFLAGS): New macro.
7999         (link-libc-rpath-link): Likewise.
8000         (link-libc-tests-rpath-link): Likewise.
8001         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8002         (link-libc): Prepand $(link-libc-rpath-link).
8003         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8004         (test-program-prefix): New macro.
8005         (test-via-rtld-prefix): Likewise.
8006         (test-program-cmd): Likewise.
8007         (host-test-program-cmd): Likewise.
8008         * Makefile ($(common-objpfx)testrun.sh): Replace
8009         $(run-program-prefix) with $(test-program-prefix).
8010         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8011         $(rtld-LDFLAGS).
8012         ($(common-objpfx)shlib.lds): Likewise.
8013         (build-module-helper): Likewise.
8014         ($(common-objpfx)format.lds): Likewise.
8015         * Rules (binaries-pie-tests): New.
8016         (binaries-pie-notests): Likewise.
8017         (binaries-pie): Rewritten.
8018         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8019         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8020         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8021         (make-test-out): Replace $(host-built-program-cmd) with
8022         $(host-test-program-cmd).
8023         * config.make.in (build-hardcoded-path-in-tests): New variable.
8024         * configure.in (--enable-hardcoded-path-in-tests): New configure
8025         option.
8026         (hardcoded_path_in_tests): New AC_SUBST.
8027         * configure: Regenerated.
8028         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8029         $(built-program-cmd) with $(test-program-cmd).
8030         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8031         (test_program_cmd): This.
8032         * elf/Makefile ($(objpfx)order.out): Run test with
8033         $(test-program-prefix).
8034         ($(objpfx)order2.out): Likewise.
8035         ($(objpfx)tst-initorder.out): Likewise.
8036         ($(objpfx)tst-initorder2.out): Likewise.
8037         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8038         $(test-program-cmd).
8039         ($(objpfx)tst-array1-static.out): Likewise.
8040         ($(objpfx)tst-array2.out): Likewise.
8041         ($(objpfx)tst-array3.out): Likewise.
8042         ($(objpfx)tst-array4.out): Likewise.
8043         ($(objpfx)tst-array5.out): Likewise.
8044         ($(objpfx)tst-array5-static.out): Likewise.
8045         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8046         $(test-program-cmd).
8047         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8048         $(run-program-prefix) with $(test-program-prefix).
8049         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8050         (test_program_prefix): This.
8051         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8052         $(run-program-prefix) with $(test-program-prefix).
8053         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8054         (test_program_prefix): This.
8055         * iconvdata/tst-tables.sh: Likewise.
8056         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8057         $(run-program-prefix) with $(test-program-prefix).
8058         ($(objpfx)tst-translit.out): Likewise.
8059         ($(objpfx)tst-gettext2.out): Likewise.
8060         ($(objpfx)tst-gettext4.out): Likewise.
8061         ($(objpfx)tst-gettext6.out): Likewise.
8062         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8063         (test_program_prefix): This.
8064         * intl/tst-gettext2.sh: Likewise.
8065         * intl/tst-gettext4.sh  Likewise.
8066         * intl/tst-gettext6.sh: Likewise.
8067         * intl/tst-translit.sh: Likewise.
8068         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8069         with $(test-program-cmd).
8070         * libio/Makefile ($(objpfx)test-freopen.out): Replace
8071         $(run-program-prefix) with $(test-program-prefix).
8072         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8073         (test_program_prefix): This.
8074         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8075         $(run-program-prefix) with $(test-program-prefix).
8076         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8077         (test_program_prefix): This.
8078         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8079         * posix/Makefile ($(objpfx)globtest.out): Replace
8080         $(run-via-rtld-prefix) and $(test-wrapper) with
8081         $(test-program-prefix) and $(test-via-rtld-prefix).
8082         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8083         $(test-program-prefix).
8084         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8085         $(host-test-program-cmd).
8086         (tst-spawn-ARGS): Likewise.
8087         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8088         $(test-program-prefix).
8089         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8090         (test_via_rtld_prefix): This.
8091         (test_wrapper): Renamed to ...
8092         (test_program_prefix): This.
8093         (run_program_prefix): Replaced by test_program_prefix.
8094         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8095         (test_program_prefix): This.
8096         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8097         with $(host-test-program-cmd).
8098         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8099         $(run-program-prefix) with $(test-program-prefix).
8100         ($(objpfx)tst-printf.out): Likewise.
8101         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8102         $(test-program-cmd).
8103         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8104         (test_program_prefix): This.
8105         * stdio-common/tst-unbputc.sh: Likewise.
8106         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8107         $(run-program-prefix) with $(test-program-prefix).
8108         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8109         (test_program_prefix): This.
8110         * string/Makefile ($(objpfx)tst-svc.out):  Replace
8111         $(built-program-cmd) with $(test-program-cmd).
8112
8113 2013-01-11  Andreas Jaeger  <aj@suse.de>
8114
8115         [BZ #15003]
8116         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8117         value. Sync with Linux 3.7.
8118
8119 2013-01-10  David S. Miller  <davem@davemloft.net>
8120
8121         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8122         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8123         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8124
8125 2013-01-10  Roland McGrath  <roland@hack.frob.com>
8126
8127         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8128         never set.
8129         * configure: Regenerated.
8130
8131 2013-01-10  David S. Miller  <davem@davemloft.net>
8132
8133         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8134         sparc V9 rather than using V8 code.
8135         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8136         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8137
8138 2013-01-10  Roland McGrath  <roland@hack.frob.com>
8139
8140         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8141         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8142         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8143         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8144         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8145         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8146         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8147         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8148         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8149         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8150         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8151         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8152         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8153         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8154         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8155         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8156         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8157         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8158         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8159         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8160         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8161         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8162         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8163         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8164         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8165         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8166         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8167
8168 2013-01-10  David S. Miller  <davem@davemloft.net>
8169
8170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8171
8172 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
8173
8174         * posix/Makefile (tests-static): New variable.
8175         (tests): Add $(tests-static).
8176         (tst-exec-static-ARGS): New variable.
8177         (tst-spawn-static-ARGS): Likewise.
8178         * posix/tst-exec-static.c: New file.
8179         * posix/tst-spawn-static.c: Likewise.
8180         * posix/tst-exec.c: Support run directly.
8181         * posix/tst-spawn.c: Likewise.
8182
8183 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
8184
8185         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8186         long.
8187         * math/bits/mathcalls.h (llrint): Likewise.
8188         (llround): Likewise.
8189         * stdlib/stdlib.h (struct drand48_data): Likewise.
8190         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8191         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8192         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8193         Likewise.
8194         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8195         Likewise.
8196         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8197         (elf_greg_t): Likewise.
8198         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8199         (__jmp_buf): Likewise.
8200         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8201         definitions.
8202         (llrint): Likewise, for all definitions.
8203         (llrintl): Likewise.
8204
8205         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8206         Remove [__GNUC__] condition.
8207         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8208         condition to just [__USE_ISOC99].
8209         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8210
8211 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
8212
8213         [BZ #14200]
8214         * sysdeps/unix/sysv/linux/x86/bits/environments.h
8215         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8216         defined.
8217         (_POSIX_V6_ILP32_OFF32): Likewise.
8218         (_XBS5_ILP32_OFF32): Likewise.
8219         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8220         (__ILP32_OFFBIG_LDFLAGS): Likewise.
8221
8222 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8223
8224         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8225
8226         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8227         doubles __mpexp_twomm1.  Adjust usage.
8228         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8229         Remove.
8230
8231 2013-01-10  Andreas Schwab  <schwab@suse.de>
8232
8233         [BZ #14964]
8234         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8235         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8236
8237 2013-01-09  David S. Miller  <davem@davemloft.net>
8238
8239         [BZ #15003]
8240         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8241         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8242         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8243         TCP_FASTOPEN): Define.
8244         (tcp_repair_opt): New structure.
8245         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8246         enum values.
8247         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8248         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8249         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8250         (tcp_cookie_transactions): New structure.
8251
8252 2013-01-09  Anton Blanchard  <anton@samba.org>
8253
8254         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8255         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8256         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8257         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8258
8259 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
8260
8261         * include/features.h (__USE_ANSI): Remove.
8262
8263 2013-01-09  Roland McGrath  <roland@hack.frob.com>
8264
8265         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8266
8267         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8268
8269 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
8270
8271         * sysdeps/s390/fpu/libm-test-ulps: Update.
8272
8273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8274
8275         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8276         (__acr): Likewise.
8277         (__cpy): Likewise.
8278         (norm): Likewise.
8279         (denorm): Likewise.
8280         (__mp_dbl): Likewise.
8281         (__dbl_mp): Likewise.
8282         (add_magnitudes): Likewise.
8283         (sub_magnitudes): Likewise.
8284         (__add): Likewise.
8285         (__sub): Likewise.
8286         (__mul): Likewise.
8287         (__inv): Likewise.
8288         (__dvd): Likewise.
8289         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8290         (__acr): Likewise.
8291         (__cpy): Likewise.
8292         (norm): Likewise.
8293         (denorm): Likewise.
8294         (__mp_dbl): Likewise.
8295         (__dbl_mp): Likewise.
8296         (add_magnitudes): Likewise.
8297         (sub_magnitudes): Likewise.
8298         (__add): Likewise.
8299         (__sub): Likewise.
8300         (__mul): Likewise.
8301         (__inv): Likewise.
8302         (__dvd): Likewise.
8303         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8304         (__acr): Likewise.
8305         (__cpy): Likewise.
8306         (norm): Likewise.
8307         (denorm): Likewise.
8308         (__mp_dbl): Likewise.
8309         (__dbl_mp): Likewise.
8310         (add_magnitudes): Likewise.
8311         (sub_magnitudes): Likewise.
8312         (__add): Likewise.
8313         (__sub): Likewise.
8314         (__mul): Likewise.
8315         (__inv): Likewise.
8316         (__dvd): Likewise.
8317
8318 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
8319
8320         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8321         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8322         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8323         2 && __USE_EXTERN_INLINES]: Likewise.
8324
8325 2013-01-08  Andreas Jaeger  <aj@suse.de>
8326
8327         [BZ# 14985]
8328         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8329         Remove.
8330         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8331         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8332
8333 2013-01-07  Anton Blanchard  <anton@samba.org>
8334
8335         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8336         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8337         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8338         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8339         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8340         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8341         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8342         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8343         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8344         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8345         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8346         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8347         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8348         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8349         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8350         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8351         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8352         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8353         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8354         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8355         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8356         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8357         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8358         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8359         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8360         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8361         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8362         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8363         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8364         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8365         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8366         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8367         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8368         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8369         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8370         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8371         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8372         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8373         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8374         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8375         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8376         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8377         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8378
8379 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
8380
8381         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8382         (__MALLOC_PMT): Likewise.
8383         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8384         [__GNUC__], only on [_LIBC].
8385         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8386         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8387         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8388         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8389         forward declaration.
8390         (realloc_hook_ini): Likewise.
8391         (memalign_hook_ini): Likewise.
8392         (__libc_memalign): Do not use __MALLOC_PMT in variable
8393         declaration.
8394         (__libc_valloc): Likewise.
8395         (__libc_pvalloc): Likewise.
8396         (__libc_calloc): Likewise.
8397         (__posix_memalign): Likewise.
8398
8399         [BZ #14996]
8400         * math/s_casinh.c: Include <float.h>.
8401         (__casinh): Do not do computation with squaring and square root
8402         for large arguments.
8403         * math/s_casinhf.c: Include <float.h>.
8404         (__casinhf): Do not do computation with squaring and square root
8405         for large arguments.
8406         * math/s_casinhl.c: Include <float.h>.
8407         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8408         (__casinhl): Do not do computation with squaring and square root
8409         for large arguments.
8410         * math/libm-test.inc (casin_test): Add more tests.
8411         (casinh_test): Likewise.
8412         * sysdeps/i386/fpu/libm-test-ulps: Update.
8413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8414
8415 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
8416
8417         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8418         (__x86_64_raw_data_cache_size): Likewise.
8419         (__x86_64_data_cache_size_half): Likewise.
8420         (__x86_64_raw_data_cache_size_half): Likewise.
8421         (__x86_64_shared_cache_size): Likewise.
8422         (__x86_64_raw_shared_cache_size): Likewise.
8423         (__x86_64_shared_cache_size_half): Likewise.
8424         (__x86_64_raw_shared_cache_size_half): Likewise.
8425         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8426         to ...
8427         (__x86_data_cache_size): This.
8428         (__x86_64_raw_data_cache_size): Renamed to ...
8429         (__x86_raw_data_cache_size): This.
8430         (__x86_64_data_cache_size_half): Renamed to ...
8431         (__x86_data_cache_size_half): This.
8432         (__x86_64_raw_data_cache_size_half): Renamed to ...
8433         (__x86_raw_data_cache_size_half): This.
8434         (__x86_64_shared_cache_size): Renamed to ...
8435         (__x86_shared_cache_size): This.
8436         (__x86_64_raw_shared_cache_size): Renamed to ...
8437         (__x86_raw_shared_cache_size): This.
8438         (__x86_64_shared_cache_size_half): Renamed to ...
8439         (__x86_shared_cache_size_half): This.
8440         (__x86_64_raw_shared_cache_size_half): Renamed to ...
8441         (__x86_raw_shared_cache_size_half): This.
8442         * sysdeps/x86_64/memcpy.S: Updated.
8443         * sysdeps/x86_64/memset.S: Likewise.
8444         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8445         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8446         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8447
8448 2013-01-04  David S. Miller  <davem@davemloft.net>
8449
8450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8451
8452 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
8453
8454         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8455         1 to avoid redefinition warning.
8456         (__USE_GNU): Don't define.
8457         (init_signaling_nan): Protoize.
8458
8459         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8460
8461 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8462
8463         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8464         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8465         (__cpymn): Likewise.
8466         (norm): Remove commented code.
8467         (denorm): Likewise.
8468         (__mp_dbl): Likewise.
8469         (__inv): Likewise.
8470         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8471         (__cpymn): Likewise.
8472         (norm): Remove commented code.
8473         (denorm): Likewise.
8474         (__mp_dbl): Likewise.
8475         (__inv): Likewise.
8476
8477         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8478         mp_no value for 1.0 and 2.0.
8479         (norm): Use RADIXI instead of radixi.d.
8480         (denorm): Likewise.
8481         (__mul): Use 0.0 instead of zero.d.
8482         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8483         mp_no value for 1.0 and 2.0.
8484         (norm): Use RADIXI instead of radixi.d.
8485         (denorm): Likewise.
8486         (__mul): Use 0.0 instead of zero.d.
8487
8488 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
8489
8490         [BZ #14994]
8491         * math/s_casinh.c (__casinh): Reduce finite argument to first
8492         quadrant then set signs of results at the end.
8493         * math/s_casinhf.c (__casinhf): Likewise.
8494         * math/s_casinhl.c (__casinhl): Likewise.
8495         * math/libm-test.inc (casin_test): Add more tests.
8496         (casinh_test): Likewise.
8497         * sysdeps/i386/fpu/libm-test-ulps: Update.
8498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8499
8500 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8501
8502         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8503
8504         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8505
8506         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8507         declarations.
8508         (denorm): Likewise.
8509         (__mp_dbl): Likewise.
8510         (__inv): Likewise.
8511
8512         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8513         and adjust the header comment.
8514
8515         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8516         variable name from declaration.
8517
8518 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
8519
8520         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8521         Initialize COMMON_CPUID_INDEX_7 element.
8522         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8523         (CPUID_RTM): Likewise.
8524         (HAS_RTM): Likewise.
8525         (COMMON_CPUID_INDEX_7): New enum.
8526
8527 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
8528
8529         [BZ #14981]
8530         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8531         size is zero, record memory as freed.
8532
8533 2013-01-03  Andreas Jaeger  <aj@suse.de>
8534
8535         * po/ia.po: Add new Interlingua translation.
8536
8537 2012-01-03  Allan McRae  <allan@archlinux.org>
8538
8539         * locale/programs/localedef.c: Fix description of '--posix' flag.
8540
8541 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
8542
8543         * NEWS: Update dates in second copyright notice.
8544         * README: Update copyright dates in example.
8545         * manual/libc.texinfo: Update copyright dates.
8546         * scripts/test-installation.pl: Update copyright date in --version
8547         output.
8548
8549         * hurd/ctty-input.c: Fix copyright notice formatting.
8550         * hurd/ctty-output.c: Likewise.
8551         * hurd/dtable.c: Likewise.
8552         * hurd/hurd-raise.c: Likewise.
8553         * hurd/hurdprio.c: Likewise.
8554         * hurd/msgportdemux.c: Likewise.
8555         * misc/sys/file.h: Likewise.
8556         * misc/sys/ioctl.h: Likewise.
8557         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8558         * sysdeps/mach/hurd/chdir.c: Likewise.
8559         * sysdeps/mach/hurd/fchdir.c: Likewise.
8560         * sysdeps/mach/hurd/rename.c: Likewise.
8561         * sysdeps/mach/hurd/rmdir.c: Likewise.
8562         * sysdeps/mach/hurd/seekdir.c: Likewise.
8563         * sysdeps/mach/hurd/setsid.c: Likewise.
8564         * sysdeps/posix/wait3.c: Likewise.
8565
8566         * All files with FSF copyright notices: Update copyright dates
8567         using scripts/update-copyrights.
8568         * intl/plural.c: Regenerated.
8569         * locale/programs/charmap-kw.h: Likewise.
8570         * locale/programs/locfile-kw.h: Likewise.
8571
8572 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8573
8574         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8575         four values.
8576
8577         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8578         calculation loop and add branch prediction.
8579
8580         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8581         check access beyond bounds of m1np.
8582
8583         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8584         MPTWO.
8585         (__inv): Remove local variable MPTWO to use the global
8586         constant.
8587         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8588         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8589         variable MPTWO.
8590         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8591         MP3HALFS static const.
8592
8593 2013-01-01  David S. Miller  <davem@davemloft.net>
8594
8595         * po/ca.po: Update from translation team.
8596
8597 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
8598
8599         * scripts/update-copyrights: New file.
8600         * Makeconfig: Reformat copyright notice.
8601         * ctype/ctype.h: Likewise.
8602         * debug/swprintf_chk.c: Likewise.
8603         * elf/dl-cache.c: Likewise.
8604         * elf/dl-debug.c: Likewise.
8605         * elf/dl-object.c: Likewise.
8606         * grp/initgroups.c: Likewise.
8607         * hurd/Makefile: Likewise.
8608         * hurd/hurd/signal.h: Likewise.
8609         * hurd/hurdfault.c: Likewise.
8610         * hurd/hurdioctl.c: Likewise.
8611         * hurd/hurdlookup.c: Likewise.
8612         * hurd/intr-msg.c: Likewise.
8613         * iconv/gconv_open.c: Likewise.
8614         * libio/swprintf.c: Likewise.
8615         * locale/lc-ctype.c: Likewise.
8616         * locale/nl_langinfo.c: Likewise.
8617         * mach/Machrules: Likewise.
8618         * mach/Makefile: Likewise.
8619         * malloc/obstack.h: Likewise.
8620         * manual/Makefile: Likewise.
8621         * manual/tsort.awk: Likewise.
8622         * misc/bits/stab.def: Likewise.
8623         * nis/nis_print_group_entry.c: Likewise.
8624         * nis/nis_table.c: Likewise.
8625         * nis/nss_compat/compat-pwd.c: Likewise.
8626         * nis/nss_compat/compat-spwd.c: Likewise.
8627         * po/Makefile: Likewise.
8628         * posix/fnmatch.c: Likewise.
8629         * posix/regex.h: Likewise.
8630         * resolv/Makefile: Likewise.
8631         * resolv/nss_dns/dns-network.c: Likewise.
8632         * resolv/res_hconf.c: Likewise.
8633         * scripts/gen-sorted.awk: Likewise.
8634         * soft-fp/soft-fp.h: Likewise.
8635         * stdio-common/printf.h: Likewise.
8636         * stdlib/monetary.h: Likewise.
8637         * stdlib/random.c: Likewise.
8638         * stdlib/random_r.c: Likewise.
8639         * sysdeps/generic/Makefile: Likewise.
8640         * sysdeps/gnu/Makefile: Likewise.
8641         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8642         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8643         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8644         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8645         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8646         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8647         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8648         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8649         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8650         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8651         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8652         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8653         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8654         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8655         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8656         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8657         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8658         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8659         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8660         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8661         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8662         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8663         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8664         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8665         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8666         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8667         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8668         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8669         * sysdeps/mach/hurd/errnos.awk: Likewise.
8670         * sysdeps/mach/hurd/fork.c: Likewise.
8671         * sysdeps/mach/hurd/getcwd.c: Likewise.
8672         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8673         * sysdeps/mach/hurd/mmap.c: Likewise.
8674         * sysdeps/mach/hurd/utimes.c: Likewise.
8675         * sysdeps/mach/hurd/xmknod.c: Likewise.
8676         * sysdeps/posix/profil.c: Likewise.
8677         * sysdeps/posix/readdir_r.c: Likewise.
8678         * sysdeps/powerpc/bits/mathdef.h: Likewise.
8679         * sysdeps/powerpc/bits/setjmp.h: Likewise.
8680         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8681         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8682         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8683         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8684         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8685         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8686         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8687         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8688         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8689         * sysdeps/pthread/lio_listio.c: Likewise.
8690         * sysdeps/sparc/dl-procinfo.h: Likewise.
8691         * sysdeps/unix/i386/sysdep.S: Likewise.
8692         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8693         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8694         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8695         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8697         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8698         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8699         * sysdeps/unix/sysv/linux/speed.c: Likewise.
8700         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8701         * sysdeps/wordsize-32/divdi3.c: Likewise.
8702         * time/sys/time.h: Likewise.
8703         * wcsmbs/Makefile: Likewise.
8704
8705 2013-01-01  David S. Miller  <davem@davemloft.net>
8706
8707         * po/fr.po: Update from translation team.
8708
8709         * catgets/gencat.c: Update copyright year.
8710         * csu/version.c: Likewise.
8711         * debug/catchsegv.sh: Likewise.
8712         * debug/pcprofiledump.c: Likewise.
8713         * debug/xtrace.sh: Likewise.
8714         * elf/ldconfig.c: Likewise.
8715         * elf/ldd.bash.in: Likewise.
8716         * elf/pldd.c: Likewise.
8717         * elf/sotruss.ksh: Likewise.
8718         * elf/sprof.c: Likewise.
8719         * iconv/iconv_prog.c: Likewise.
8720         * iconv/iconvconfig.c: Likewise.
8721         * locale/programs/locale.c: Likewise.
8722         * locale/programs/localedef.c: Likewise.
8723         * login/programs/pt_chown.c: Likewise.
8724         * malloc/memusage.sh: Likewise.
8725         * malloc/memusagestat.c: Likewise.
8726         * malloc/mtrace.pl: Likewise.
8727         * nscd/nscd.c: Likewise.
8728         * nss/getent.c: Likewise.
8729         * nss/makedb.c: Likewise.
8730         * posix/getconf.c: Likewise.
8731
8732 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8733
8734         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8735         numbers.
8736
8737 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
8738
8739         * math/bits/mathcalls.h (modf): Use __nonnull.
8740
8741 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8742
8743         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8744         (split): Use macro CN instead of the bare value.
8745         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8746         could be used.
8747         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8748         instead of the bare value.
8749         (power1): Likewise.
8750
8751 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8752
8753         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8754         __ATAN_TWOM.
8755         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8756
8757         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8758         their values.
8759         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8760         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8761         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8762         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8763
8764 2012-12-28  Andreas Jaeger  <aj@suse.de>
8765
8766         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
8767         values are from Linux 3.7.
8768
8769         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8770         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
8771
8772 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8773
8774         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
8775         TRUE case.
8776
8777         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8778         (norm): Likewise.
8779         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8780         variables with preprocessor constants.
8781         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8782         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8783         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8784
8785 2012-12-27  Bruno Haible  <bruno@clisp.org>
8786
8787         [BZ #14317]
8788         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8789         only if needed.
8790
8791 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8792
8793         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8794         and use variable directly.
8795         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8796
8797         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8798         MPONE.
8799         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8800         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8801         variable MPONE.
8802         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8803         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8804         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8805         include directive.  Remove local variable MPONE.
8806         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8807         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8808         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8809
8810 2012-12-25  David S. Miller  <davem@davemloft.net>
8811
8812         * version.h (RELEASE): Set to "development".
8813         (VERSION): Set to "2.17.90".
8814         * NEWS: Add 2.18 section.
8815
8816 2012-12-21  David S. Miller  <davem@davemloft.net>
8817
8818         * po/hr.po: Update from translation team.
8819
8820 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8821
8822         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8823
8824 2012-12-19  Steve Ellcey  <sellcey@mips.com>
8825
8826         * NEWS:  Mention new memcpy for MIPS.
8827
8828 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8829
8830         * manual/contrib.texi (Contributors): Spelling correction.
8831
8832 2012-12-15  David S. Miller  <davem@davemloft.net>
8833
8834         * po/ru.po: Update from translation team.
8835
8836 2012-12-13  David S. Miller  <davem@davemloft.net>
8837
8838         * NEWS: Mention IFUNC testsuite enhancements.
8839
8840         * po/pl.po: Update from translation team.
8841         * po/bg.po: Likewise.
8842
8843         * manual/contrib.texi (Contributors): Update entries for Hongjiu
8844         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
8845
8846 2012-12-11  David S. Miller  <davem@davemloft.net>
8847
8848         * po/sv.po: Update from translation team.
8849
8850         * po/vi.po: Update from translation team.
8851
8852         * po/cs.po: Update from translation team.
8853
8854         * po/de.po: Update from translation team.
8855         * po/eo.po: Likewise.
8856         * po/nl.po: Likewise.
8857
8858 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8859
8860         [BZ #14246]
8861         * manual/argp.texi (Argp Helper Functions): Move node to follow
8862         Argp Parsing State.
8863
8864         [BZ #14872]
8865         * manual/conf.texi (Limits on File System Capacity): Mention if
8866         terminating null is included in the max size.
8867
8868 2012-12-10  Andreas Jaeger  <aj@suse.de>
8869
8870         * po/cs.po: Update from translation team.
8871
8872 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8873
8874         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8875         void pointer and cast to uintptr_t.
8876         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8877         path.
8878         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8879         * sysdeps/s390/s390-64/memset.S: Likewise.
8880
8881 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
8882
8883         [BZ #14833]
8884         * menual/message.texi (Message Translation): Fix typos.
8885         (Helper programs for gettext): Likewise.
8886
8887 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
8888
8889         [BZ #14898]
8890         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8891         Change to -1.
8892
8893 2012-12-07  David S. Miller  <davem@davemloft.net>
8894
8895         * po/libc.pot: Update.
8896
8897 2012-12-07  Richard Henderson  <rth@redhat.com>
8898
8899         [BZ #10114]
8900         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8901         normal/normal case to before the switch.
8902         (_FP_DIV): Likewise.
8903
8904 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
8905             Mike Frysinger  <vapier@gentoo.org>
8906
8907         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8908         check for __NR_fadvise64_64.
8909
8910 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
8911
8912         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8913         0, not just to plain "0" as a statement.
8914         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8915         with cw.
8916
8917 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
8918
8919         * NEWS: Use sourceware.org in Bugzilla URL.
8920
8921 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8922
8923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8924         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8925
8926         * stdio-common/tst-put-error.c (do_test): Add newline to the
8927         padded test to ensure flush.
8928
8929 2012-12-05  Jeff Law  <law@redhat.com>
8930
8931         * sunrpc/etc.rpc (fedfs_admin): Add entry.
8932
8933 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
8934
8935         * README: Don't refer to ports add-on as distributed separately.
8936         Mention AArch64 in list of systems supported in the ports add-on.
8937
8938         * LICENSES: Add more non-FSF copyright and license notices.
8939
8940         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8941         ((unused)).
8942
8943         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8944
8945         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8946         10000 as width of padded output.
8947
8948 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8949
8950         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8951
8952         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8953         variable LX with __attribute__ ((unused)).
8954         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8955         Likewise.
8956         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8957         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8958         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8959         with __attribute__ ((unused)).
8960
8961 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
8962
8963         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8964
8965 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8966
8967         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8968         (CFLAGS-nldbl-acos.c): New variable.
8969         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8970         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8971         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8972         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8973         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8974         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8975         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8976         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8977         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8978         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8979         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8980         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8981         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8982         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8983         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8984         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8985         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8986         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8987         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8988         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8989         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8990         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8991         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8992         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8993         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8994         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8995         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8996         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8997         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8998         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8999         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9000         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9001         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9002         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9003         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9004         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9005         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9006         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9007         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9008         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9009         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9010         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9011         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9012         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9013         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9014         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9015         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9016         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9017         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9018         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9019         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9020         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9021         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9022         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9023         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9024         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9025         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9026         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9027         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9028         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9029         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9030         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9031         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9032         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9033         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9034         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9035         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9036         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9037         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9038         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9039         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9040         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9041         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9042         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9043         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9044         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9045         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9046         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9047         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9048         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9049         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9050         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9051         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9052         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9053         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9054         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9055         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9056         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9057         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9058         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9059         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9060         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9061         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9062         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9063         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9064         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9065         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9066
9067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9068         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9069
9070         [BZ #14914]
9071         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9072         whole low double instead of just low 47 bits when splitting values
9073         into two parts.
9074
9075 2012-12-03  Allan McRae  <allan@archlinux.org>
9076
9077         * manual/stdio.texi (Predefined Printf Handlers): Remove
9078         @hsep and @vsep usage.
9079
9080 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
9081
9082         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9083         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9084
9085 2012-12-03  Jeff Law  <law@redhat.com>
9086
9087         * time/sys/time.h (settimeofday): Do not mark TV argument
9088         as __nonnull.
9089
9090 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
9091
9092         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9093         when currently writing and seek to current position when not.
9094         * libio/Makefile (tests): Remove bug-fclose1.
9095         * libio/bug-fclose1.c: Delete.
9096
9097 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
9098
9099         * manual/arith.texi (feenableexcept): Fix typo.
9100         (fedisableexcept): Likewise.
9101
9102 2012-11-30  Roland McGrath  <roland@hack.frob.com>
9103
9104         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9105         second, differently-typed declaration, rather than a cast.
9106
9107 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9108
9109         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9110         * include/rpc/svc.h: ... here.
9111
9112 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
9113
9114         [BZ #13013]
9115         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9116         depending n and resplen2 to catch cases where answer
9117         equals answerp2.
9118
9119 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
9120
9121         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9122         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9123
9124 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
9125
9126         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9127
9128 2012-11-29  Roland McGrath  <roland@hack.frob.com>
9129
9130         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9131
9132 2012-11-28  Jeff Law  <law@redhat.com>
9133
9134         [BZ #13761]
9135         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9136         dataset_temporary.  Track alloca usage into alloca_used.
9137         If dataset is large allocate and release it via malloc/free.
9138
9139 2012-06-04  Florian Weimer  <fweimer@redhat.com>
9140
9141         [BZ #14197]
9142         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9143
9144 2012-11-28  David S. Miller  <davem@davemloft.net>
9145
9146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9147
9148 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
9149
9150         [BZ #14803]
9151         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9152         of pi/2 rounded to nearest to 64 bits.
9153         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9154         nearest to 64 bits.
9155         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9156         bits.
9157
9158 2012-11-28  Jeff Law <law@redhat.com>
9159             Martin Osvald <mosvald@redhat.com>
9160
9161         [BZ #14889]
9162         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9163         * sunrpc/svc.c: Include time.h.
9164         (__svc_accept_failed): New function.
9165         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9166         any reason other than EINTR, call __svc_accept_failed.
9167         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9168         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9169
9170 2012-11-28  Andreas Schwab  <schwab@suse.de>
9171
9172         * scripts/abilist.awk: Also handle indirect functions in .opd
9173         section.
9174
9175 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
9176
9177         [BZ #13881]
9178         * sysdeps/x86/fpu/powl_helper.c: New file.
9179         * sysdeps/x86/fpu/Makefile: Likewise.
9180         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9181         (p3): New object.
9182         (__ieee754_powl): Use __powl_helper for finite arguments except
9183         integer exponents below 8.
9184         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9185         (p3): New object.
9186         (__ieee754_powl): Use __powl_helper for finite arguments except
9187         integer exponents below 8.
9188         * math/libm-test.inc (pow_test): Add more tests and enable some
9189         previously disabled tests.
9190         * sysdeps/i386/fpu/libm-test-ulps: Update.
9191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9192
9193 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9194             Carlos O'Donell  <carlos_odonell@mentor.com>
9195
9196         * nss/makedb.c (is_prime): Assert that input is odd and greater
9197         than 4.  Note that fact in a comment too.
9198         (next_prime): Add 4 to input.
9199
9200 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9201
9202         [BZ #11741]
9203         * libio/Makefile (tests): Add test case tst-fwrite-error.
9204         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9205         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9206         * libio/tst-fwrite-error.c: New test case.
9207
9208 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
9209
9210         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9211         before casting to void *.
9212         * include/libc-internal.h (__pointer_type): New macro.
9213         (__integer_if_pointer_type_sub): Likewise.
9214         (__integer_if_pointer_type): Likewise.
9215         (cast_to_integer): Likewise.
9216         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9217         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9218         before casting to atomic64_t.
9219         (atomic_exchange_acq): Likewise.
9220         (__arch_exchange_and_add_body): Likewise.
9221         (__arch_add_body): Likewise.
9222         (atomic_add_negative): Likewise.
9223         (atomic_add_zero): Likewise.
9224
9225 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
9226
9227         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9228         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9229         (add_fdes): Likewise.
9230         (linear_search_fdes): Likewise.
9231         (binary_search_unencoded_fdes): Likewise.
9232
9233 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
9234
9235         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9236
9237 2012-11-24  Adam Conrad  <adconrad@0c3.net>
9238
9239         * configure.in: Autodetect C++ header directories.
9240         * configure: Regenerated.
9241
9242 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
9243
9244         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9245
9246 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
9247
9248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9249
9250 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
9251
9252         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9253         LDBL_MANT_DIG == 106]: Disable some tests.
9254         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9255         Likewise.
9256         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9257         Likewise.
9258
9259         [BZ #14871]
9260         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9261         input for small inputs.  Return +/- pi/2 for large inputs.
9262         * math/libm-test.inc (atan_test): Add more tests.
9263
9264         * sysdeps/generic/unwind-dw2-fde-glibc.c
9265         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9266         __attribute__ ((unused)).
9267
9268         [BZ #14645]
9269         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9270         x * y if x and y are nonzero and z is zero.
9271
9272         [BZ #14811]
9273         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9274         nonzero exponents with absolute value below 0x1p-117 to +/-
9275         0x1p-117.
9276
9277         [BZ #14869]
9278         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9279         up arguments below 2**-450, not just those below 2**-500.
9280         * math/libm-test.inc (hypot_test): Add another test.
9281
9282         [BZ #14868]
9283         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9284         Return a+b for ratio over 2**120, not 2**60.
9285         * math/libm-test.inc (hypot_test): Add another test.
9286
9287         * math/libm-test.inc (clog_test): Use
9288         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9289         (clog10_test): Likewise.
9290
9291         [BZ #6778]
9292         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9293
9294 2012-11-22  Andreas Schwab  <schwab@suse.de>
9295
9296         * sysdeps/i386/fpu/libm-test-ulps: Update.
9297
9298 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
9299
9300         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9301         printf output with newline.
9302
9303 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
9304
9305         [BZ #14865]
9306         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9307         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9308         -z nodlopen, -z initfirst and -z execstack support.
9309         * configure: Regenerated.
9310
9311         * elf/elf.h (DF_1_NODIRECT): New macro.
9312         (DF_1_IGNMULDEF): Likewise.
9313         (DF_1_NOKSYMS): Likewise.
9314         (DF_1_NOHDR): Likewise.
9315         (DF_1_EDITED): Likewise.
9316         (DF_1_NORELOC): Likewise.
9317         (DF_1_SYMINTPOSE): Likewise.
9318         (DF_1_GLOBAUDIT): Likewise.
9319         (DF_1_SINGLETON): Likewise.
9320         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9321         DT_1_SUPPORTED_MASK bits.
9322         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9323
9324 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
9325
9326         * sysdeps/unix/make-syscalls.sh: Document prefixes.
9327
9328 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
9329
9330         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9331         macro.
9332
9333         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9334         (sendmmsg): Move declarations...
9335         * socket/sys/socket.h: ... here.
9336         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9337         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9338         include it from...
9339         * socket/recvmmsg.c: ... this new file.
9340         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9341         (sendmmsg): Rename to __sendmmsg, create weak alias and make
9342         definition of __sendmmsg hidden.
9343         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9344         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9345         Move ENOSYS stub into and include it from...
9346         * socket/sendmmsg.c: ... this new file.
9347         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9348         (sysdep_routines): Move recvmmsg and sendmmsg...
9349         * socket/Makefile (routines): ... here.
9350         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9351         (GLIBC_PRIVATE): Add __sendmmsg.
9352         * include/sys/socket.h (__sendmmsg): Add declarations.
9353         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9354         sendmmsg.
9355
9356 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
9357
9358         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9359         variable I1 with __attribute__ ((unused)).
9360         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9361
9362 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
9363
9364         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9365         DUMMY variables with __attribute__ ((unused)).
9366
9367         * bits/byteswap.h: Include <bits/types.h>.
9368         (__bswap_64): Use __uint64_t instead of unsigned long long int.
9369
9370 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
9371
9372         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9373         string_t.  Do not manually set errno.
9374         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9375         length with __strnlen.  Make sure to both set errno and return it on
9376         failure.
9377
9378 2012-11-19  David S. Miller  <davem@davemloft.net>
9379
9380         With help from Joseph Myers.
9381         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9382         very large arguments properly.
9383         * math/libm-test.inc (atan_test): New tests.
9384         (atan2_test): New tests.
9385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9386         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9387
9388 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
9389
9390         [BZ #14856]
9391         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9392         Define to 3.
9393
9394         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9395         [POSIX] (EADDRNOTAVAIL): Likewise.
9396         [POSIX] (EAFNOSUPPORT): Likewise.
9397         [POSIX] (EALREADY): Likewise.
9398         [POSIX] (ECONNABORTED): Likewise.
9399         [POSIX] (ECONNREFUSED): Likewise.
9400         [POSIX] (ECONNRESET): Likewise.
9401         [POSIX] (EDESTADDRREQ): Likewise.
9402         [POSIX] (EDQUOT): Likewise.
9403         [POSIX] (EHOSTUNREACH): Likewise.
9404         [POSIX] (EIDRM): Likewise.
9405         [POSIX] (EISCONN): Likewise.
9406         [POSIX] (ELOOP): Likewise.
9407         [POSIX] (EMULTIHOP): Likewise.
9408         [POSIX] (ENETDOWN): Likewise.
9409         [POSIX] (ENETUNREACH): Likewise.
9410         [POSIX] (ENOBUFS): Likewise.
9411         [POSIX] (ENODATA): Likewise.
9412         [POSIX] (ENOLINK): Likewise.
9413         [POSIX] (ENOMSG): Likewise.
9414         [POSIX] (ENOPROTOOPT): Likewise.
9415         [POSIX] (ENOSR): Likewise.
9416         [POSIX] (ENOSTR): Likewise.
9417         [POSIX] (ENOTCONN): Likewise.
9418         [POSIX] (ENOTSOCK): Likewise.
9419         [POSIX] (EOPNOTSUPP): Likewise.
9420         [POSIX] (EOVERFLOW): Likewise.
9421         [POSIX] (EPROTO): Likewise.
9422         [POSIX] (EPROTONOSUPPORT): Likewise.
9423         [POSIX] (EPROTOTYPE): Likewise.
9424         [POSIX] (ESTALE): Likewise.
9425         [POSIX] (ETIME): Likewise.
9426         [POSIX] (ETXTBSY): Likewise.
9427         [POSIX] (EWOULDBLOCK): Likewise.
9428         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9429         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9430         [POSIX] (SEEK_CUR): Likewise.
9431         [POSIX] (SEEK_END): Likewise.
9432         [POSIX || UNIX98] (mode_t): Do not require.
9433         [POSIX] (off_t): Likewise.
9434         [POSIX] (pid_t): Likewise.
9435         [POSIX] (sys/stat.h): Do not allow header.
9436         [POSIX] (unistd.h): Likewise.
9437         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9438         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9439         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9440         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9441         require.
9442         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9443         sigevent): Specify elements.
9444         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9445         entry.
9446         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9447         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9448
9449         * conform/data/cpio.h-data [POSIX]: Disable whole file.
9450         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9451         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9452         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9453         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9454         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9455         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9456         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9457         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9458         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9459         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9460         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9461         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9462         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9463         Likewise.
9464         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9465         Likewise.
9466         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9467         Likewise.
9468         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9469         Likewise.
9470         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9471         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9472         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9473         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9474         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9475         Specify lower bound on value.
9476         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9477         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9478         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9479         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9480         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9481         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9482         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9483         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9484         value.
9485         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9486         as optional.
9487         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9488         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9489         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9490         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9491         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9492         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9493         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9494         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9495         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9496         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9497         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9498         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9499         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9500         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9501         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9502         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9503         entry.
9504         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9505         optional.
9506         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9507         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9508         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9509         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9510         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9511         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9512         Likewise.
9513         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9514         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9515         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9516         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9517         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
9518         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9519         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9520         as optional.
9521         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9522         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9523         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9524         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9525         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9526         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9527         specify as optional.
9528         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9529         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9530         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9531         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9532         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9533         [XPG3] (NL_LANGMAX): Likewise.
9534         [POSIX || XPG3] (NL_MSGMAX): Likewise.
9535         [POSIX || XPG3] (NL_NMAX): Likewise.
9536         [POSIX || XPG3] (NL_SETMAX): Likewise.
9537         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9538         [XPG3] (NZERO): Likewise.
9539         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9540         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9541         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9542         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9543         (REG_ERANGE): Expect.
9544         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9545         optional-constant.
9546         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9547         Use (void) in prototype.
9548         [POSIX] (*_t): Allow.
9549         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9550         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9551         (WRDE_BADVAL): Expect.
9552
9553         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9554         expect.
9555         [XPG3 || XPG4] (O_RSYNC): Likewise.
9556         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9557         Likewise.
9558         [XPG3 || XPG4] (pthread_sigmask): Likewise.
9559         [XPG3 || XPG4] (sigqueue): Likewise.
9560         [XPG3 || XPG4] (sigtimedwait): Likewise.
9561         [XPG3 || XPG4] (sigwaitinfo): Likewise.
9562         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9563         [XPG3 || XPG4] (vsnprintf): Likewise.
9564         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9565         Likewise.
9566         [XPG3 || XPG4] (blksize_t): Likewise.
9567         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9568         Likewise.
9569         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9570         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9571         [XPG3 || XPG4] (struct itimerspec): Likewise.
9572         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9573         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9574         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9575         [XPG3 || XPG4] (clockid_t): Likewise.
9576         [XPG3 || XPG4] (timer_t): Likewise.
9577         [XPG3 || XPG4] (clock_getres): Likewise.
9578         [XPG3 || XPG4] (clock_gettime): Likewise.
9579         [XPG3 || XPG4] (clock_settime): Likewise.
9580         [XPG3 || XPG4] (nanosleep): Likewise.
9581         [XPG3 || XPG4] (timer_create): Likewise.
9582         [XPG3 || XPG4] (timer_delete): Likewise.
9583         [XPG3 || XPG4] (timer_gettime): Likewise.
9584         [XPG3 || XPG4] (timer_getoverrun): Likewise.
9585         [XPG3 || XPG4] (timer_settime): Likewise.
9586         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9587         [XPG3 || XPG4] (getlogin_r): Likewise.
9588         [XPG3 || XPG4] (pread): Likewise.
9589         [XPG3 || XPG4] (pthread_atfork): Likewise.
9590         [XPG3 || XPG4] (pwrite): Likewise.
9591
9592         [BZ #14835]
9593         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9594         <bits/siginfo.h>.
9595
9596 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
9597
9598         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9599         finalizing MALLSTREAM.
9600
9601         * sysdeps/mach/hurd/syncfs.c: New file.
9602
9603 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9604
9605         [BZ #14719]
9606         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9607         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9608         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9609         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9610         (_nss_dns_gethostbyname4_r): Likewise.
9611         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9612         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9613
9614 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
9615
9616         [BZ #13763]
9617         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9618
9619 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
9620
9621         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9622         * elf/cache.c (print_entry): Print ",AArch64" for
9623         FLAG_AARCH64_LIB64
9624
9625         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9626         * elf/cache.c (print_entry): Print ",hard-float" for
9627         FLAG_ARM_LIBHF.
9628
9629 2012-11-18  David S. Miller  <davem@davemloft.net>
9630
9631         With help from Joseph Myers.
9632         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9633         cutoff to 2**-13.
9634         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9635         cutoff to 2**-25.
9636         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9637         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9638         small.
9639         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9640         * math/libm-test.inc (y0_test): New tests.
9641         (y1_test): New tests.
9642         * sysdeps/i386/fpu/libm-test-ulps: Update.
9643         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9645
9646 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
9647
9648         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9649         64-bit targets.
9650         * configure: Regenerated.
9651
9652 2012-11-17  David S. Miller  <davem@davemloft.net>
9653
9654         [BZ #14811]
9655         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9656         nonzero exponents with absolute value below 0x1p-128 to +/-
9657         0x1p-128.
9658
9659 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
9660
9661         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9662
9663         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9664
9665         * posix/getconf-speclist.c: New file.
9666         * posix/posix-envs.def: Likewise.
9667         * posix/confstr.c (START_ENV_GROUP): New macro.
9668         (END_ENV_GROUP): Likewise.
9669         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9670         (KNOWN_PRESENT_ENV_STRING): Likewise.
9671         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9672         (UNKNOWN_ENVIRONMENT): Likewise.
9673         (confstr): Include posix-envs.def instead of handling
9674         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9675         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9676         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9677         (END_ENV_GROUP): Likewise.
9678         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9679         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9680         (UNKNOWN_ENVIRONMENT): Likewise.
9681         (__sysconf): Include posix-envs.def instead of handling associated
9682         cases directly here.
9683         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9684         preprocessing getconf-speclist.c rather than running getconf or
9685         generating empty file.
9686
9687 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
9688
9689         * scripts/check-local-headers.sh: Ignore 'mach' headers.
9690
9691 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
9692
9693         [BZ #14672]
9694         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9695
9696 2012-11-16  David S. Miller  <davem@davemloft.net>
9697
9698         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9699         smaller than LDBL_EPSILON/2.0L, just return xm1.
9700
9701 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
9702
9703         * elf/tst-array1.c (init): Set constructor priority to 1000.
9704         (fini): Set destructor priority to 1000.
9705         * elf/tst-array2dep.c: Likewise.
9706
9707 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9708
9709         [BZ #11741]
9710         * libio/fileops.c (_IO_new_file_write): Correctly return error.
9711         (_IO_new_file_xsputn): Also return EOF if none of the input
9712         data was written when overflow failed.
9713         * libio/iopadn.c (_IO_padn): Likewise.
9714         * libio/iowpadn.c (_IO_wpadn): Likewise.
9715         * stdio-common/tst-put-error.c: Add copyright notice.
9716         (do_test): Add case for printing padded string.
9717         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9718         _IO_padn returned error.
9719         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9720         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9721         return EOF.
9722
9723 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9724
9725         * libio/libioP.h: Add comment note that the references to C++
9726         bits are now obsolete.
9727
9728 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9729
9730         * math/libm-test.inc (check_complex): Use asprintf.
9731
9732 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
9733
9734         * debug/pcprofiledump.c (print_version): Update copyright year.
9735         * malloc/memusagestat.c (print_version): Likewise.
9736
9737 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9738
9739         [BZ #14831]
9740         * elf/Makefile (tests): Add tst-audit8.
9741         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9742         ($(objpfx)tst-audit8.out): New target.
9743         (tst-audit8-ENV): New variable.
9744         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9745         audit if l_reloc_result is NULL.
9746         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9747         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9748         * elf/tst-audit8.c: New file.
9749
9750 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9751
9752         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9753         * misc/Makefile (CFLAGS-select.c): Define.
9754         * posix/Makefile (CFLAGS-pause.c): Define.
9755
9756 2012-11-13  David S. Miller  <davem@davemloft.net>
9757
9758         * crypt/Makefile: Move test targets after toplevel Rules
9759         inclusion.  Grab any necessary sysdep routines when linking.
9760         * crypt/md5.c (md5_process_block): Remove define, we will always
9761         name it __md5_process_block.
9762         (md5_finish_ctx): Update md5_process_block call.
9763         (md5_stream): Likewise.
9764         (md5_process_bytes): Likewise.
9765         (md5_process_block): Rename to __md5_process_block and move to ...
9766         * crypt/md5-block.c: ... here.
9767         * crypt/sha256.c (sha256_process_block): Move to ...
9768         * crypt/sha256-block.c: ... here.
9769         * crypt/sha512.c (sha512_process_block): Move to ...
9770         * crypt/sha512-block.c: ... here.
9771         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9772         path.
9773         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9774         * sysdeps/sparc/sparc64/multiarch/Makefile
9775         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9776         crypt subdir.
9777         (localedef-aux): Add md5 crypto assembler when in locale subdir.
9778         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9779         multiarch changes.
9780         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9781         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9782         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9783         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9784         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9785         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9786         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9787         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9788         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9789         file.
9790         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9791         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9792         file.
9793         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9794
9795 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
9796
9797         * timezone/tzselect.ksh: Update from tzcode git revision
9798         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9799         * timezone/zdump.c: Likewise.
9800         * timezone/zic.c: Likewise.
9801         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9802         in TZVERSION setting, not $(PKGVERSION).
9803         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
9804         REPORT_BUGS_TO settings.
9805
9806         [BZ #14838]
9807         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9808         macro.
9809
9810 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9811
9812         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9813         detection to immediately after _FP_ROUND().
9814         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9815         bits are 0.
9816
9817 2012-11-11  David S. Miller  <davem@davemloft.net>
9818
9819         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9820         inttypes.h
9821         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9822         __close rather than their public counterparts.
9823
9824 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
9825
9826         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9827         file.
9828         [UNIX98] (sem_timedwait): Do not expect.
9829         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9830         [XPG4 || UNIX98] (sockatmark): Do not expect.
9831         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9832         (clock_getcpuclockid): Do not expect.
9833         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9834         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9835         Do not expect.
9836         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9837         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9838         [UNIX98] (vwscanf): Likewise.
9839         [UNIX98] (vswscanf): Likewise.
9840
9841 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
9842
9843         * timezone/version.h: Remove file.
9844         * timezone/README: Do not refer to version.h.
9845         * timezone/Makefile ($(objpfx)zic.o): New dependency on
9846         $(objpfx)version.h.
9847         ($(objpfx)zdump.o): Likewise.
9848         ($(objpfx)version.h): New target.
9849
9850         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9851         2012i.
9852         * timezone/README: Don't mention modification to tzselect.ksh.
9853         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9854         work on unmodified tzselect.ksh.  Substitute version numbers in
9855         tzselect.ksh.
9856
9857         * Makefile (format-me): Remove.
9858         (INSTALL): Adjust indentation.  Use commands directly instead of
9859         using $(format-me).
9860
9861         * aclocal.m4 (ACX_PKGVERSION): New macro.
9862         (ACX_BUGURL): Likewise.
9863         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9864         (PKGVERSION): New AC_DEFINE_UNQUOTED.
9865         (REPORT_BUGS_TO): Likewise.
9866         * configure: Regenerated.
9867         * config.h.in (PKGVERSION): New macro.
9868         (REPORT_BUGS_TO): Likewise.
9869         * config.make.in (PKGVERSION): New variable.
9870         (PKGVERSION_TEXI): Likewise.
9871         (REPORT_BUGS_TO): Likewise.
9872         (REPORT_BUGS_TEXI): Likewise.
9873         * Makefile (format-me): Use -I$(common-objpfx)manual.
9874         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9875         ($(common-objpfx)manual/%): New target.
9876         (manual/%): Remove target.
9877         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9878         (print_version): Use PKGVERSION.
9879         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9880         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9881         and REPORT_BUGS_TO.
9882         ($(objpfx)xtrace): Likewise.
9883         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9884         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9885         (print_version): Use PKGVERSION.
9886         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9887         (do_version): Use PKGVERSION.
9888         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9889         REPORT_BUGS_TO.
9890         (common-ldd-rewrite): Likewise.
9891         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9892         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9893         (print_version): Use PKGVERSION.
9894         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9895         * elf/pldd.c (argp_program_bug_address): Remove variable.
9896         (more_help): New function.
9897         (argp): Use more_help.
9898         (print_version): Use PKGVERSION.
9899         * elf/sln.c (main): Use PKGVERSION.
9900         (usage): Use REPORT_BUGS_TO.
9901         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9902         (top level): Use PKGVERSION.
9903         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9904         (print_version): Use PKGVERSION.
9905         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9906         (print_version): Use PKGVERSION.
9907         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9908         (print_version): Use PKGVERSION.
9909         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9910         (print_version): Use PKGVERSION.
9911         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9912         (print_version): Use PKGVERSION.
9913         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9914         (print_version): Use PKGVERSION.
9915         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9916         and BUGURL.
9917         ($(objpfx)memusage): Likewise.
9918         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9919         (do_version): Use PKGVERSION.
9920         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9921         (print_version): Use PKGVERSION.
9922         * malloc/mtrace.pl ($PACKAGE): Remove variable.
9923         ($PKGVERSION): New variable.
9924         ($REPORT_BUGS_TO): Likewise.
9925         (usage): Use $REPORT_BUGS_TO.
9926         (top level): Use $PKGVERSION.
9927         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9928         ($(objpfx)pkgvers.texi): New rule.
9929         ($(objpfx)stamp-pkgvers): Likewise.
9930         * manual/install.texi: Include pkgvers.texi.
9931         (--with-pkgversion): Document new configure option.
9932         (--with-bugurl): Likewise.
9933         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9934         than necessarily for this particular distribution.  Use
9935         REPORT_BUGS_TO for where to report bugs.
9936         * INSTALL: Regenerated.
9937         * manual/libc.texinfo: Include pkgvers.texi.
9938         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9939         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9940         (print_version): Use PKGVERSION.
9941         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9942         (print_version): Use PKGVERSION.
9943         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9944         (print_version): Use PKGVERSION.
9945         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9946         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9947         macro.
9948         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9949         (print_version): Use PKGVERSION.
9950         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9951         (print_version): Use PKGVERSION.
9952         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9953         and PKGVERSION.
9954
9955         * timezone/checktab.awk: Update from tzcode 2012i.
9956         * timezone/ialloc.c: Likewise.
9957         * timezone/private.h: Likewise.
9958         * timezone/scheck.c: Likewise.
9959         * timezone/tzfile.h: Likewise.
9960         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9961         (TZVERSION): Hardcode tzcode version number.
9962         * timezone/zdump.c: Update from tzcode 2012i.
9963         * timezone/zic.c: Likewise.
9964         * timezone/version.h: New file.
9965         * timezone/README: Describe version.h.  Update upstream location.
9966
9967         [BZ #14824]
9968         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9969         (mktemp): Enable declaration.
9970         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9971         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9972         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9973         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9974         Likewise.
9975         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9976         Likewise.
9977         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9978         Likewise.
9979         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9980         Likewise.
9981         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9982         Likewise.
9983         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9984         Likewise.
9985
9986         [BZ #14821]
9987         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9988         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
9989         for copies of such integer values.
9990         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9991         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9992
9993 2012-11-09  Andreas Jaeger  <aj@suse.de>
9994
9995         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9996         definitions and declarations that are provided by
9997         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9998
9999 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10000
10001         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10002         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10003         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10004         definition.
10005
10006 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10007
10008         * elf/elf.h: Update comment before AArch64 relocations.
10009
10010 2012-11-07  David S. Miller  <davem@davemloft.net>
10011
10012         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10013         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10014         (__start_context): Declare.
10015         (__makecontext_ret): Delete.
10016         (__makecontext): Hook up __start_context instead of
10017         __makecontext_ret.
10018         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10019         (sysdep_routines): Add __start_context when in stdlib.
10020
10021 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10022
10023         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10024         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10025         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
10026         hardcoded "nm".
10027         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
10028         (READELF): New variable.  Use it instead of hardcoded "readelf".
10029
10030 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10031
10032         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10033         * sysdeps/x86/Makefile: Here.
10034         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10035         * sysdeps/x86/tst-xmmymm.sh: This.
10036
10037 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10038
10039         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10040         expectations.
10041         [UNIX98] (pthread_barrier_t): Do not expect.
10042         [UNIX98] (pthread_barrierattr_t): Likewise.
10043         [UNIX98] (pthread_spinlock_t): Likewise.
10044         [UNIX98] (pthread_barrier_destroy): Likewise.
10045         [UNIX98] (pthread_barrier_init): Likewise.
10046         [UNIX98] (pthread_barrier_wait): Likewise.
10047         [UNIX98] (pthread_barrierattr_destroy): Likewise.
10048         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10049         [UNIX98] (pthread_barrierattr_init): Likewise.
10050         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10051         [UNIX98] (pthread_getcpuclockid): Likewise.
10052         [UNIX98] (pthread_mutex_timedlock): Likewise.
10053         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10054         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10055         [UNIX98] (pthread_sigmask): Likewise.
10056         [UNIX98] (pthread_spin_destroy): Likewise.
10057         [UNIX98] (pthread_spin_init): Likewise.
10058         [UNIX98] (pthread_spin_lock): Likewise.
10059         [UNIX98] (pthread_spin_trylock): Likewise.
10060         [UNIX98] (pthread_spin_unlock): Likewise.
10061         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10062         Do not expect.
10063         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10064         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10065         [XPG3 || XPG4] (pthread_cond_t): Likewise.
10066         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10067         [XPG3 || XPG4] (pthread_key_t): Likewise.
10068         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10069         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10070         [XPG3 || XPG4] (pthread_once_t): Likewise.
10071         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10072         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10073         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10074         [XPG3 || XPG4] (pthread_t): Likewise.
10075
10076         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10077         not expect.
10078         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10079
10080         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10081         Change function return type to int.
10082
10083         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10084         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10085         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10086         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10087         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10088         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10089         [!POSIX] (posix_madvise): Likewise.
10090         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10091         && !UNIX98].
10092         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10093         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10094         (mode_t): Likewise.
10095         (posix_mem_offset): Likewise.
10096         (posix_typed_mem_get_info): Likewise.
10097         (posix_typed_mem_open): Likewise.
10098
10099         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10100         Change condition to [XOPEN2K8].
10101
10102         * conform/conformtest.pl: Preprocess allow-header data with -x c
10103         instead of from stdin.
10104         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10105         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10106         [C99-based standards] (cerfc): Likewise.
10107         [C99-based standards] (cexp2): Likewise.
10108         [C99-based standards] (cexpm1): Likewise.
10109         [C99-based standards] (clog10): Likewise.
10110         [C99-based standards] (clog1p): Likewise.
10111         [C99-based standards] (clog2): Likewise.
10112         [C99-based standards] (clgamma): Likewise.
10113         [C99-based standards] (ctgamma): Likewise.
10114         [C99-based standards] (cerff): Likewise.
10115         [C99-based standards] (cerfcf): Likewise.
10116         [C99-based standards] (cexp2f): Likewise.
10117         [C99-based standards] (cexpm1f): Likewise.
10118         [C99-based standards] (clog10f): Likewise.
10119         [C99-based standards] (clog1pf): Likewise.
10120         [C99-based standards] (clog2f): Likewise.
10121         [C99-based standards] (clgammaf): Likewise.
10122         [C99-based standards] (ctgammaf): Likewise.
10123         [C99-based standards] (cerfl): Likewise.
10124         [C99-based standards] (cerfcl): Likewise.
10125         [C99-based standards] (cexp2l): Likewise.
10126         [C99-based standards] (cexpm1l): Likewise.
10127         [C99-based standards] (clog10l): Likewise.
10128         [C99-based standards] (clog1pl): Likewise.
10129         [C99-based standards] (clog2l): Likewise.
10130         [C99-based standards] (clgammal): Likewise.
10131         [C99-based standards] (ctgammal): Likewise.
10132         * conform/data/inttypes.h-data [C99-based standards]: Include
10133         stdint.h-data.  Remove all expectations for stdint.h contents.
10134         [C99-based standards] (PRI*): Do not allow.
10135         [C99-based standards] (SCN*): Likewise.
10136         [C99-based standards] (*_t): Likewise.
10137         [C99-based-standards] (PRId8): Expect macro.
10138         [C99-based-standards] (PRIi8): Likewise.
10139         [C99-based-standards] (PRIo8): Likewise.
10140         [C99-based-standards] (PRIu8): Likewise.
10141         [C99-based-standards] (PRIx8): Likewise.
10142         [C99-based-standards] (PRIX8): Likewise.
10143         [C99-based-standards] (SCNd8): Likewise.
10144         [C99-based-standards] (SCNi8): Likewise.
10145         [C99-based-standards] (SCNo8): Likewise.
10146         [C99-based-standards] (SCNu8): Likewise.
10147         [C99-based-standards] (SCNx8): Likewise.
10148         [C99-based-standards] (PRIdLEAST8): Likewise.
10149         [C99-based-standards] (PRIiLEAST8): Likewise.
10150         [C99-based-standards] (PRIoLEAST8): Likewise.
10151         [C99-based-standards] (PRIuLEAST8): Likewise.
10152         [C99-based-standards] (PRIxLEAST8): Likewise.
10153         [C99-based-standards] (PRIXLEAST8): Likewise.
10154         [C99-based-standards] (SCNdLEAST8): Likewise.
10155         [C99-based-standards] (SCNiLEAST8): Likewise.
10156         [C99-based-standards] (SCNoLEAST8): Likewise.
10157         [C99-based-standards] (SCNuLEAST8): Likewise.
10158         [C99-based-standards] (SCNxLEAST8): Likewise.
10159         [C99-based-standards] (PRIdFAST8): Likewise.
10160         [C99-based-standards] (PRIiFAST8): Likewise.
10161         [C99-based-standards] (PRIoFAST8): Likewise.
10162         [C99-based-standards] (PRIuFAST8): Likewise.
10163         [C99-based-standards] (PRIxFAST8): Likewise.
10164         [C99-based-standards] (PRIXFAST8): Likewise.
10165         [C99-based-standards] (SCNdFAST8): Likewise.
10166         [C99-based-standards] (SCNiFAST8): Likewise.
10167         [C99-based-standards] (SCNoFAST8): Likewise.
10168         [C99-based-standards] (SCNuFAST8): Likewise.
10169         [C99-based-standards] (SCNxFAST8): Likewise.
10170         [C99-based-standards] (PRId16): Likewise.
10171         [C99-based-standards] (PRIi16): Likewise.
10172         [C99-based-standards] (PRIo16): Likewise.
10173         [C99-based-standards] (PRIu16): Likewise.
10174         [C99-based-standards] (PRIx16): Likewise.
10175         [C99-based-standards] (PRIX16): Likewise.
10176         [C99-based-standards] (SCNd16): Likewise.
10177         [C99-based-standards] (SCNi16): Likewise.
10178         [C99-based-standards] (SCNo16): Likewise.
10179         [C99-based-standards] (SCNu16): Likewise.
10180         [C99-based-standards] (SCNx16): Likewise.
10181         [C99-based-standards] (PRIdLEAST16): Likewise.
10182         [C99-based-standards] (PRIiLEAST16): Likewise.
10183         [C99-based-standards] (PRIoLEAST16): Likewise.
10184         [C99-based-standards] (PRIuLEAST16): Likewise.
10185         [C99-based-standards] (PRIxLEAST16): Likewise.
10186         [C99-based-standards] (PRIXLEAST16): Likewise.
10187         [C99-based-standards] (SCNdLEAST16): Likewise.
10188         [C99-based-standards] (SCNiLEAST16): Likewise.
10189         [C99-based-standards] (SCNoLEAST16): Likewise.
10190         [C99-based-standards] (SCNuLEAST16): Likewise.
10191         [C99-based-standards] (SCNxLEAST16): Likewise.
10192         [C99-based-standards] (PRIdFAST16): Likewise.
10193         [C99-based-standards] (PRIiFAST16): Likewise.
10194         [C99-based-standards] (PRIoFAST16): Likewise.
10195         [C99-based-standards] (PRIuFAST16): Likewise.
10196         [C99-based-standards] (PRIxFAST16): Likewise.
10197         [C99-based-standards] (PRIXFAST16): Likewise.
10198         [C99-based-standards] (SCNdFAST16): Likewise.
10199         [C99-based-standards] (SCNiFAST16): Likewise.
10200         [C99-based-standards] (SCNoFAST16): Likewise.
10201         [C99-based-standards] (SCNuFAST16): Likewise.
10202         [C99-based-standards] (SCNxFAST16): Likewise.
10203         [C99-based-standards] (PRId32): Likewise.
10204         [C99-based-standards] (PRIi32): Likewise.
10205         [C99-based-standards] (PRIo32): Likewise.
10206         [C99-based-standards] (PRIu32): Likewise.
10207         [C99-based-standards] (PRIx32): Likewise.
10208         [C99-based-standards] (PRIX32): Likewise.
10209         [C99-based-standards] (SCNd32): Likewise.
10210         [C99-based-standards] (SCNi32): Likewise.
10211         [C99-based-standards] (SCNo32): Likewise.
10212         [C99-based-standards] (SCNu32): Likewise.
10213         [C99-based-standards] (SCNx32): Likewise.
10214         [C99-based-standards] (PRIdLEAST32): Likewise.
10215         [C99-based-standards] (PRIiLEAST32): Likewise.
10216         [C99-based-standards] (PRIoLEAST32): Likewise.
10217         [C99-based-standards] (PRIuLEAST32): Likewise.
10218         [C99-based-standards] (PRIxLEAST32): Likewise.
10219         [C99-based-standards] (PRIXLEAST32): Likewise.
10220         [C99-based-standards] (SCNdLEAST32): Likewise.
10221         [C99-based-standards] (SCNiLEAST32): Likewise.
10222         [C99-based-standards] (SCNoLEAST32): Likewise.
10223         [C99-based-standards] (SCNuLEAST32): Likewise.
10224         [C99-based-standards] (SCNxLEAST32): Likewise.
10225         [C99-based-standards] (PRIdFAST32): Likewise.
10226         [C99-based-standards] (PRIiFAST32): Likewise.
10227         [C99-based-standards] (PRIoFAST32): Likewise.
10228         [C99-based-standards] (PRIuFAST32): Likewise.
10229         [C99-based-standards] (PRIxFAST32): Likewise.
10230         [C99-based-standards] (PRIXFAST32): Likewise.
10231         [C99-based-standards] (SCNdFAST32): Likewise.
10232         [C99-based-standards] (SCNiFAST32): Likewise.
10233         [C99-based-standards] (SCNoFAST32): Likewise.
10234         [C99-based-standards] (SCNuFAST32): Likewise.
10235         [C99-based-standards] (SCNxFAST32): Likewise.
10236         [C99-based-standards] (PRId64): Likewise.
10237         [C99-based-standards] (PRIi64): Likewise.
10238         [C99-based-standards] (PRIo64): Likewise.
10239         [C99-based-standards] (PRIu64): Likewise.
10240         [C99-based-standards] (PRIx64): Likewise.
10241         [C99-based-standards] (PRIX64): Likewise.
10242         [C99-based-standards] (SCNd64): Likewise.
10243         [C99-based-standards] (SCNi64): Likewise.
10244         [C99-based-standards] (SCNo64): Likewise.
10245         [C99-based-standards] (SCNu64): Likewise.
10246         [C99-based-standards] (SCNx64): Likewise.
10247         [C99-based-standards] (PRIdLEAST64): Likewise.
10248         [C99-based-standards] (PRIiLEAST64): Likewise.
10249         [C99-based-standards] (PRIoLEAST64): Likewise.
10250         [C99-based-standards] (PRIuLEAST64): Likewise.
10251         [C99-based-standards] (PRIxLEAST64): Likewise.
10252         [C99-based-standards] (PRIXLEAST64): Likewise.
10253         [C99-based-standards] (SCNdLEAST64): Likewise.
10254         [C99-based-standards] (SCNiLEAST64): Likewise.
10255         [C99-based-standards] (SCNoLEAST64): Likewise.
10256         [C99-based-standards] (SCNuLEAST64): Likewise.
10257         [C99-based-standards] (SCNxLEAST64): Likewise.
10258         [C99-based-standards] (PRIdFAST64): Likewise.
10259         [C99-based-standards] (PRIiFAST64): Likewise.
10260         [C99-based-standards] (PRIoFAST64): Likewise.
10261         [C99-based-standards] (PRIuFAST64): Likewise.
10262         [C99-based-standards] (PRIxFAST64): Likewise.
10263         [C99-based-standards] (PRIXFAST64): Likewise.
10264         [C99-based-standards] (SCNdFAST64): Likewise.
10265         [C99-based-standards] (SCNiFAST64): Likewise.
10266         [C99-based-standards] (SCNoFAST64): Likewise.
10267         [C99-based-standards] (SCNuFAST64): Likewise.
10268         [C99-based-standards] (SCNxFAST64): Likewise.
10269         [C99-based-standards] (PRIdMAX): Likewise.
10270         [C99-based-standards] (PRIiMAX): Likewise.
10271         [C99-based-standards] (PRIoMAX): Likewise.
10272         [C99-based-standards] (PRIuMAX): Likewise.
10273         [C99-based-standards] (PRIxMAX): Likewise.
10274         [C99-based-standards] (PRIXMAX): Likewise.
10275         [C99-based-standards] (SCNdMAX): Likewise.
10276         [C99-based-standards] (SCNiMAX): Likewise.
10277         [C99-based-standards] (SCNoMAX): Likewise.
10278         [C99-based-standards] (SCNuMAX): Likewise.
10279         [C99-based-standards] (SCNxMAX): Likewise.
10280         [C99-based-standards] (PRIdPTR): Likewise.
10281         [C99-based-standards] (PRIiPTR): Likewise.
10282         [C99-based-standards] (PRIoPTR): Likewise.
10283         [C99-based-standards] (PRIuPTR): Likewise.
10284         [C99-based-standards] (PRIxPTR): Likewise.
10285         [C99-based-standards] (PRIXPTR): Likewise.
10286         [C99-based-standards] (SCNdPTR): Likewise.
10287         [C99-based-standards] (SCNiPTR): Likewise.
10288         [C99-based-standards] (SCNoPTR): Likewise.
10289         [C99-based-standards] (SCNuPTR): Likewise.
10290         [C99-based-standards] (SCNxPTR): Likewise.
10291         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10292         allow.
10293         * conform/data/stdint.h-data: Update comments to clarify
10294         requirements.
10295         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
10296         type.
10297         [C99-based standards] (INT8_MAX): Likewise.
10298         [C99-based standards] (INT16_MIN): Likewise.
10299         [C99-based standards] (INT16_MAX): Likewise.
10300         [C99-based standards] (INT32_MIN): Likewise.
10301         [C99-based standards] (INT32_MAX): Likewise.
10302         [C99-based standards] (INT64_MIN): Likewise.
10303         [C99-based standards] (INT64_MAX): Likewise.
10304         [C99-based standards] (UINT8_MAX): Likewise.
10305         [C99-based standards] (UINT16_MAX): Likewise.
10306         [C99-based standards] (UINT32_MAX): Likewise.
10307         [C99-based standards] (UINT64_MAX): Likewise.
10308         [C99-based standards] (INT_LEAST8_MIN): Likewise.
10309         [C99-based standards] (INT_LEAST8_MAX): Likewise.
10310         [C99-based standards] (INT_LEAST16_MIN): Likewise.
10311         [C99-based standards] (INT_LEAST16_MAX): Likewise.
10312         [C99-based standards] (INT_LEAST32_MIN): Likewise.
10313         [C99-based standards] (INT_LEAST32_MAX): Likewise.
10314         [C99-based standards] (INT_LEAST64_MIN): Likewise.
10315         [C99-based standards] (INT_LEAST64_MAX): Likewise.
10316         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10317         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10318         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10319         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10320         [C99-based standards] (INT_FAST8_MIN): Likewise.
10321         [C99-based standards] (INT_FAST8_MAX): Likewise.
10322         [C99-based standards] (INT_FAST16_MIN): Likewise.
10323         [C99-based standards] (INT_FAST16_MAX): Likewise.
10324         [C99-based standards] (INT_FAST32_MIN): Likewise.
10325         [C99-based standards] (INT_FAST32_MAX): Likewise.
10326         [C99-based standards] (INT_FAST64_MIN): Likewise.
10327         [C99-based standards] (INT_FAST64_MAX): Likewise.
10328         [C99-based standards] (UINT_FAST8_MAX): Likewise.
10329         [C99-based standards] (UINT_FAST16_MAX): Likewise.
10330         [C99-based standards] (UINT_FAST32_MAX): Likewise.
10331         [C99-based standards] (UINT_FAST64_MAX): Likewise.
10332         [C99-based standards] (INTPTR_MIN): Likewise.
10333         [C99-based standards] (INTPTR_MAX): Likewise.
10334         [C99-based standards] (UINTPTR_MAX): Likewise.
10335         [C99-based standards] (INTMAX_MIN): Likewise.
10336         [C99-based standards] (INTMAX_MAX): Likewise.
10337         [C99-based standards] (UINTMAX_MAX): Likewise.
10338         [C99-based standards] (PTRDIFF_MIN): Likewise.
10339         [C99-based standards] (PTRDIFF_MAX): Likewise.
10340         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10341         [C99-based standards] (SIZE_MAX): Likewise.
10342         [C99-based standards] (WCHAR_MAX): Likewise.
10343         [C99-based standards] (WINT_MAX): Likewise.
10344         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
10345         constraint on value.
10346         [C99-based standards] (WCHAR_MIN): Likewise.
10347         [C99-based standards] (WINT_MIN): Likewise.
10348         [C99-based standards] (*_t): Allow.
10349         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10350         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10351         Include math.h-data and complex.h-data.  Remove all expectations
10352         of math.h and complex.h contents.
10353         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10354         at end of line.
10355         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10356         (struct tm): Expect tag.
10357         [C99-based-standards] (wcstof): Expect function.
10358         [C99-based-standards] (wcstold): Likewise.
10359         [C99-based-standards] (wcstoll): Likewise.
10360         [C99-based-standards] (wcstoull): Likewise.
10361         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10362         macro-int-constant.  Specify type.
10363         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
10364         constraint on value.
10365         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10366         Specify type.
10367         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10368         Specify value.
10369         [ISO C standards]: Do not allow headers.
10370         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10371         wcs[abcdefghijklmnopqrstuvwxyz]*.
10372         [ISO C standards] (*_t): Do not allow.
10373         * conform/data/wctype.h-data [C99-based standards] (iswblank):
10374         Expect function.
10375         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10376         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10377         Specify type.
10378         [ISO C standards]: Do not allow headers.
10379         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10380         is[abcdefghijklmnopqrstuvwxyz]*.
10381         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10382         to[abcdefghijklmnopqrstuvwxyz]*.
10383         [ISO C standards] (*_t): Do not allow.
10384         * conform/data/stdalign.h-data: New file.
10385         * conform/data/stdbool.h-data: Likewise.
10386         * conform/data/stdnoreturn.h-data: Likewise.
10387
10388 2012-11-07  Roland McGrath  <roland@hack.frob.com>
10389
10390         [BZ #14815]
10391         * manual/filesys.texi (Directory Entries): Typo fix.
10392         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10393
10394 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10395
10396         * elf/elf.h (EM_AARCH64): New macro.
10397         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10398         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10399         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10400         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10401         (R_AARCH64_TLSDESC): Likewise.
10402         (NT_ARM_TLS): Likewise.
10403         (NT_ARM_HW_BREAK): Likewise.
10404         (NT_ARM_HW_WATCH): Likewise.
10405
10406 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10407
10408         [BZ #14811]
10409         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10410         (__ieee754_powl): Saturate nonzero exponents with absolute value
10411         below 0x1p-79 to +/- 0x1p-79.
10412         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10413         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10414         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10415         nonzero exponents with absolute value below 0x1p-32 to +/-
10416         0x1p-32.
10417         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10418         (__ieee754_powl): Saturate nonzero exponents with absolute value
10419         below 0x1p-79 to +/- 0x1p-79.
10420         * math/libm-test.inc (pow_test): Add more tests.
10421
10422 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10423
10424         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10425         _dl_s390_cap_flags with kernel. Increase string length.
10426         (_dl_s390_platforms): Add z196 and zEC12.
10427
10428 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10429
10430         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10431         Change XOPEN21K to XOPEN2K.
10432
10433 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
10434
10435         * string/memmove.c: Use memcpy when possible.
10436
10437 2012-11-06  Andreas Jaeger  <aj@suse.de>
10438
10439         * po/eo.po: Update from translation team.
10440
10441 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
10442
10443         [BZ #14793]
10444         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10445         exponent and small x and y exponents, scale x or y up.  Increase
10446         by 2 the exponent used in scaling up.
10447         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10448         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10449         * math/libm-test.inc (fma_test): Add more tests.
10450         (fma_test_towardzero): Likewise.
10451         (fma_test_downward): Likewise.
10452         (fma_test_upward): Likewise.
10453
10454 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
10455
10456         [BZ #14805]
10457         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10458         fenv_t *.
10459
10460         [BZ #14801]
10461         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10462         namespace for names of struct fields.
10463         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10464         fenv_t fields.
10465         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10466         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10467
10468 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10469
10470         [BZ #3665]
10471         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10472
10473 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
10474
10475         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10476         PTR_DEMANGLE.
10477
10478         [BZ #5246]
10479         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10480         PTR_DEMANGLE.
10481
10482 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
10483
10484         [BZ #14797]
10485         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10486         definitely overflow as x * y not x * y + z.
10487         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10488         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10489         * math/libm-test.inc (fma_test): Add more tests.
10490         (fma_test_towardzero): Likewise.
10491         (fma_test_downward): Likewise.
10492         (fma_test_upward): Likewise.
10493
10494 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
10495
10496         [BZ #157]
10497
10498         * include/stub-tag.h: Remove file.
10499         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10500         '#include' of it.
10501         * manual/maint.texi (Porting): Don't reference it.
10502         * Makerules ($(objpfx)stubs): Likewise.
10503         * dirent/closedir.c: Don't include <stub-tag.h>.
10504         * dirent/dirfd.c: Likewise.
10505         * dirent/fdopendir.c: Likewise.
10506         * dirent/getdents.c: Likewise.
10507         * dirent/getdents64.c: Likewise.
10508         * dirent/opendir.c: Likewise.
10509         * dirent/readdir.c: Likewise.
10510         * dirent/readdir64.c: Likewise.
10511         * dirent/readdir64_r.c: Likewise.
10512         * dirent/readdir_r.c: Likewise.
10513         * dirent/rewinddir.c: Likewise.
10514         * dirent/seekdir.c: Likewise.
10515         * dirent/telldir.c: Likewise.
10516         * gmon/profil.c: Likewise.
10517         * grp/setgroups.c: Likewise.
10518         * inet/if_index.c: Likewise.
10519         * io/access.c: Likewise.
10520         * io/chdir.c: Likewise.
10521         * io/chmod.c: Likewise.
10522         * io/chown.c: Likewise.
10523         * io/close.c: Likewise.
10524         * io/dup.c: Likewise.
10525         * io/dup2.c: Likewise.
10526         * io/dup3.c: Likewise.
10527         * io/euidaccess.c: Likewise.
10528         * io/faccessat.c: Likewise.
10529         * io/fchdir.c: Likewise.
10530         * io/fchmod.c: Likewise.
10531         * io/fchmodat.c: Likewise.
10532         * io/fchown.c: Likewise.
10533         * io/fchownat.c: Likewise.
10534         * io/fcntl.c: Likewise.
10535         * io/flock.c: Likewise.
10536         * io/fstatfs.c: Likewise.
10537         * io/fstatfs64.c: Likewise.
10538         * io/fstatvfs.c: Likewise.
10539         * io/fstatvfs64.c: Likewise.
10540         * io/futimens.c: Likewise.
10541         * io/fxstat.c: Likewise.
10542         * io/fxstat64.c: Likewise.
10543         * io/fxstatat.c: Likewise.
10544         * io/fxstatat64.c: Likewise.
10545         * io/getcwd.c: Likewise.
10546         * io/isatty.c: Likewise.
10547         * io/lchmod.c: Likewise.
10548         * io/lchown.c: Likewise.
10549         * io/link.c: Likewise.
10550         * io/linkat.c: Likewise.
10551         * io/lseek.c: Likewise.
10552         * io/lseek64.c: Likewise.
10553         * io/lxstat64.c: Likewise.
10554         * io/mkdir.c: Likewise.
10555         * io/mkdirat.c: Likewise.
10556         * io/mkfifo.c: Likewise.
10557         * io/mkfifoat.c: Likewise.
10558         * io/open.c: Likewise.
10559         * io/open64.c: Likewise.
10560         * io/openat.c: Likewise.
10561         * io/openat64.c: Likewise.
10562         * io/pipe.c: Likewise.
10563         * io/pipe2.c: Likewise.
10564         * io/poll.c: Likewise.
10565         * io/posix_fadvise.c: Likewise.
10566         * io/posix_fadvise64.c: Likewise.
10567         * io/posix_fallocate.c: Likewise.
10568         * io/posix_fallocate64.c: Likewise.
10569         * io/read.c: Likewise.
10570         * io/readlink.c: Likewise.
10571         * io/readlinkat.c: Likewise.
10572         * io/rmdir.c: Likewise.
10573         * io/sendfile.c: Likewise.
10574         * io/sendfile64.c: Likewise.
10575         * io/statfs.c: Likewise.
10576         * io/statfs64.c: Likewise.
10577         * io/statvfs.c: Likewise.
10578         * io/statvfs64.c: Likewise.
10579         * io/symlink.c: Likewise.
10580         * io/symlinkat.c: Likewise.
10581         * io/ttyname.c: Likewise.
10582         * io/ttyname_r.c: Likewise.
10583         * io/umask.c: Likewise.
10584         * io/unlink.c: Likewise.
10585         * io/unlinkat.c: Likewise.
10586         * io/utime.c: Likewise.
10587         * io/utimensat.c: Likewise.
10588         * io/write.c: Likewise.
10589         * io/xmknod.c: Likewise.
10590         * io/xmknodat.c: Likewise.
10591         * io/xstat.c: Likewise.
10592         * io/xstat64.c: Likewise.
10593         * login/getpt.c: Likewise.
10594         * login/grantpt.c: Likewise.
10595         * login/unlockpt.c: Likewise.
10596         * math/e_acoshl.c: Likewise.
10597         * math/e_acosl.c: Likewise.
10598         * math/e_asinl.c: Likewise.
10599         * math/e_atan2l.c: Likewise.
10600         * math/e_atanhl.c: Likewise.
10601         * math/e_coshl.c: Likewise.
10602         * math/e_expl.c: Likewise.
10603         * math/e_fmodl.c: Likewise.
10604         * math/e_gammal_r.c: Likewise.
10605         * math/e_hypotl.c: Likewise.
10606         * math/e_j0l.c: Likewise.
10607         * math/e_j1l.c: Likewise.
10608         * math/e_jnl.c: Likewise.
10609         * math/e_lgammal_r.c: Likewise.
10610         * math/e_log10l.c: Likewise.
10611         * math/e_log2l.c: Likewise.
10612         * math/e_logl.c: Likewise.
10613         * math/e_powl.c: Likewise.
10614         * math/e_rem_pio2l.c: Likewise.
10615         * math/e_sinhl.c: Likewise.
10616         * math/e_sqrtl.c: Likewise.
10617         * math/fclrexcpt.c: Likewise.
10618         * math/fedisblxcpt.c: Likewise.
10619         * math/feenablxcpt.c: Likewise.
10620         * math/fegetenv.c: Likewise.
10621         * math/fegetexcept.c: Likewise.
10622         * math/fegetround.c: Likewise.
10623         * math/feholdexcpt.c: Likewise.
10624         * math/fesetenv.c: Likewise.
10625         * math/fesetround.c: Likewise.
10626         * math/feupdateenv.c: Likewise.
10627         * math/fgetexcptflg.c: Likewise.
10628         * math/fraiseexcpt.c: Likewise.
10629         * math/fsetexcptflg.c: Likewise.
10630         * math/ftestexcept.c: Likewise.
10631         * math/k_cosl.c: Likewise.
10632         * math/k_rem_pio2l.c: Likewise.
10633         * math/k_sinl.c: Likewise.
10634         * math/k_tanl.c: Likewise.
10635         * math/s_asinhl.c: Likewise.
10636         * math/s_atanl.c: Likewise.
10637         * math/s_cbrtl.c: Likewise.
10638         * math/s_erfl.c: Likewise.
10639         * math/s_expm1l.c: Likewise.
10640         * math/s_log1pl.c: Likewise.
10641         * math/s_tanhl.c: Likewise.
10642         * misc/acct.c: Likewise.
10643         * misc/brk.c: Likewise.
10644         * misc/chflags.c: Likewise.
10645         * misc/chroot.c: Likewise.
10646         * misc/fchflags.c: Likewise.
10647         * misc/fgetxattr.c: Likewise.
10648         * misc/flistxattr.c: Likewise.
10649         * misc/fremovexattr.c: Likewise.
10650         * misc/fsetxattr.c: Likewise.
10651         * misc/fsync.c: Likewise.
10652         * misc/ftruncate.c: Likewise.
10653         * misc/futimes.c: Likewise.
10654         * misc/futimesat.c: Likewise.
10655         * misc/getdomain.c: Likewise.
10656         * misc/getdtsz.c: Likewise.
10657         * misc/gethostid.c: Likewise.
10658         * misc/gethostname.c: Likewise.
10659         * misc/getloadavg.c: Likewise.
10660         * misc/getpagesize.c: Likewise.
10661         * misc/getsysstats.c: Likewise.
10662         * misc/getxattr.c: Likewise.
10663         * misc/gtty.c: Likewise.
10664         * misc/ioctl.c: Likewise.
10665         * misc/lgetxattr.c: Likewise.
10666         * misc/listxattr.c: Likewise.
10667         * misc/llistxattr.c: Likewise.
10668         * misc/lremovexattr.c: Likewise.
10669         * misc/lsetxattr.c: Likewise.
10670         * misc/lutimes.c: Likewise.
10671         * misc/madvise.c: Likewise.
10672         * misc/mincore.c: Likewise.
10673         * misc/mlock.c: Likewise.
10674         * misc/mlockall.c: Likewise.
10675         * misc/mmap.c: Likewise.
10676         * misc/mprotect.c: Likewise.
10677         * misc/msync.c: Likewise.
10678         * misc/munlock.c: Likewise.
10679         * misc/munlockall.c: Likewise.
10680         * misc/munmap.c: Likewise.
10681         * misc/preadv.c: Likewise.
10682         * misc/preadv64.c: Likewise.
10683         * misc/ptrace.c: Likewise.
10684         * misc/pwritev.c: Likewise.
10685         * misc/pwritev64.c: Likewise.
10686         * misc/readv.c: Likewise.
10687         * misc/reboot.c: Likewise.
10688         * misc/remap_file_pages.c: Likewise.
10689         * misc/removexattr.c: Likewise.
10690         * misc/revoke.c: Likewise.
10691         * misc/select.c: Likewise.
10692         * misc/setdomain.c: Likewise.
10693         * misc/setegid.c: Likewise.
10694         * misc/seteuid.c: Likewise.
10695         * misc/sethostid.c: Likewise.
10696         * misc/sethostname.c: Likewise.
10697         * misc/setregid.c: Likewise.
10698         * misc/setreuid.c: Likewise.
10699         * misc/setxattr.c: Likewise.
10700         * misc/sstk.c: Likewise.
10701         * misc/stty.c: Likewise.
10702         * misc/swapoff.c: Likewise.
10703         * misc/swapon.c: Likewise.
10704         * misc/sync.c: Likewise.
10705         * misc/syncfs.c: Likewise.
10706         * misc/syscall.c: Likewise.
10707         * misc/truncate.c: Likewise.
10708         * misc/ualarm.c: Likewise.
10709         * misc/usleep.c: Likewise.
10710         * misc/ustat.c: Likewise.
10711         * misc/utimes.c: Likewise.
10712         * misc/vhangup.c: Likewise.
10713         * misc/writev.c: Likewise.
10714         * posix/_exit.c: Likewise.
10715         * posix/alarm.c: Likewise.
10716         * posix/execve.c: Likewise.
10717         * posix/fexecve.c: Likewise.
10718         * posix/fork.c: Likewise.
10719         * posix/fpathconf.c: Likewise.
10720         * posix/getaddrinfo.c: Likewise.
10721         * posix/getegid.c: Likewise.
10722         * posix/geteuid.c: Likewise.
10723         * posix/getgid.c: Likewise.
10724         * posix/getgroups.c: Likewise.
10725         * posix/getlogin.c: Likewise.
10726         * posix/getlogin_r.c: Likewise.
10727         * posix/getpgid.c: Likewise.
10728         * posix/getpid.c: Likewise.
10729         * posix/getppid.c: Likewise.
10730         * posix/getresgid.c: Likewise.
10731         * posix/getresuid.c: Likewise.
10732         * posix/getsid.c: Likewise.
10733         * posix/getuid.c: Likewise.
10734         * posix/glob64.c: Likewise.
10735         * posix/nanosleep.c: Likewise.
10736         * posix/pathconf.c: Likewise.
10737         * posix/pause.c: Likewise.
10738         * posix/posix_madvise.c: Likewise.
10739         * posix/pread.c: Likewise.
10740         * posix/pread64.c: Likewise.
10741         * posix/pwrite.c: Likewise.
10742         * posix/pwrite64.c: Likewise.
10743         * posix/sched_getaffinity.c: Likewise.
10744         * posix/sched_getp.c: Likewise.
10745         * posix/sched_gets.c: Likewise.
10746         * posix/sched_primax.c: Likewise.
10747         * posix/sched_primin.c: Likewise.
10748         * posix/sched_rr_gi.c: Likewise.
10749         * posix/sched_setaffinity.c: Likewise.
10750         * posix/sched_setp.c: Likewise.
10751         * posix/sched_sets.c: Likewise.
10752         * posix/sched_yield.c: Likewise.
10753         * posix/setgid.c: Likewise.
10754         * posix/setlogin.c: Likewise.
10755         * posix/setpgid.c: Likewise.
10756         * posix/setresgid.c: Likewise.
10757         * posix/setresuid.c: Likewise.
10758         * posix/setsid.c: Likewise.
10759         * posix/setuid.c: Likewise.
10760         * posix/sleep.c: Likewise.
10761         * posix/spawni.c: Likewise.
10762         * posix/sysconf.c: Likewise.
10763         * posix/times.c: Likewise.
10764         * posix/wait.c: Likewise.
10765         * posix/wait3.c: Likewise.
10766         * posix/wait4.c: Likewise.
10767         * posix/waitpid.c: Likewise.
10768         * resolv/gai_sigqueue.c: Likewise.
10769         * resource/getpriority.c: Likewise.
10770         * resource/getrlimit.c: Likewise.
10771         * resource/getrusage.c: Likewise.
10772         * resource/nice.c: Likewise.
10773         * resource/setpriority.c: Likewise.
10774         * resource/setrlimit.c: Likewise.
10775         * resource/ulimit.c: Likewise.
10776         * rt/aio_cancel.c: Likewise.
10777         * rt/aio_fsync.c: Likewise.
10778         * rt/aio_read.c: Likewise.
10779         * rt/aio_sigqueue.c: Likewise.
10780         * rt/aio_suspend.c: Likewise.
10781         * rt/aio_write.c: Likewise.
10782         * rt/clock_getres.c: Likewise.
10783         * rt/clock_gettime.c: Likewise.
10784         * rt/clock_nanosleep.c: Likewise.
10785         * rt/clock_settime.c: Likewise.
10786         * rt/lio_listio.c: Likewise.
10787         * rt/mq_close.c: Likewise.
10788         * rt/mq_getattr.c: Likewise.
10789         * rt/mq_notify.c: Likewise.
10790         * rt/mq_open.c: Likewise.
10791         * rt/mq_receive.c: Likewise.
10792         * rt/mq_send.c: Likewise.
10793         * rt/mq_setattr.c: Likewise.
10794         * rt/mq_timedreceive.c: Likewise.
10795         * rt/mq_timedsend.c: Likewise.
10796         * rt/mq_unlink.c: Likewise.
10797         * rt/shm_open.c: Likewise.
10798         * rt/shm_unlink.c: Likewise.
10799         * rt/timer_create.c: Likewise.
10800         * rt/timer_delete.c: Likewise.
10801         * rt/timer_getoverr.c: Likewise.
10802         * rt/timer_gettime.c: Likewise.
10803         * rt/timer_settime.c: Likewise.
10804         * setjmp/__longjmp.c: Likewise.
10805         * setjmp/setjmp.c: Likewise.
10806         * signal/kill.c: Likewise.
10807         * signal/killpg.c: Likewise.
10808         * signal/raise.c: Likewise.
10809         * signal/sigaction.c: Likewise.
10810         * signal/sigaltstack.c: Likewise.
10811         * signal/sigblock.c: Likewise.
10812         * signal/sigignore.c: Likewise.
10813         * signal/sigintr.c: Likewise.
10814         * signal/signal.c: Likewise.
10815         * signal/sigpause.c: Likewise.
10816         * signal/sigpending.c: Likewise.
10817         * signal/sigqueue.c: Likewise.
10818         * signal/sigreturn.c: Likewise.
10819         * signal/sigset.c: Likewise.
10820         * signal/sigsetmask.c: Likewise.
10821         * signal/sigstack.c: Likewise.
10822         * signal/sigsuspend.c: Likewise.
10823         * signal/sigtimedwait.c: Likewise.
10824         * signal/sigvec.c: Likewise.
10825         * signal/sigwait.c: Likewise.
10826         * signal/sigwaitinfo.c: Likewise.
10827         * signal/sysv_signal.c: Likewise.
10828         * socket/accept.c: Likewise.
10829         * socket/accept4.c: Likewise.
10830         * socket/bind.c: Likewise.
10831         * socket/connect.c: Likewise.
10832         * socket/getpeername.c: Likewise.
10833         * socket/getsockname.c: Likewise.
10834         * socket/getsockopt.c: Likewise.
10835         * socket/isfdtype.c: Likewise.
10836         * socket/listen.c: Likewise.
10837         * socket/recv.c: Likewise.
10838         * socket/recvfrom.c: Likewise.
10839         * socket/recvmsg.c: Likewise.
10840         * socket/send.c: Likewise.
10841         * socket/sendmsg.c: Likewise.
10842         * socket/sendto.c: Likewise.
10843         * socket/setsockopt.c: Likewise.
10844         * socket/shutdown.c: Likewise.
10845         * socket/sockatmark.c: Likewise.
10846         * socket/socket.c: Likewise.
10847         * socket/socketpair.c: Likewise.
10848         * stdio-common/ctermid.c: Likewise.
10849         * stdio-common/cuserid.c: Likewise.
10850         * stdio-common/remove.c: Likewise.
10851         * stdio-common/rename.c: Likewise.
10852         * stdio-common/renameat.c: Likewise.
10853         * stdio-common/tempname.c: Likewise.
10854         * stdlib/getcontext.c: Likewise.
10855         * stdlib/makecontext.c: Likewise.
10856         * stdlib/setcontext.c: Likewise.
10857         * stdlib/swapcontext.c: Likewise.
10858         * stdlib/system.c: Likewise.
10859         * streams/fattach.c: Likewise.
10860         * streams/fdetach.c: Likewise.
10861         * streams/getmsg.c: Likewise.
10862         * streams/getpmsg.c: Likewise.
10863         * streams/putmsg.c: Likewise.
10864         * streams/putpmsg.c: Likewise.
10865         * sysdeps/unix/bsd/getpt.c: Likewise.
10866         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10867         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10868         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10870         Likewise.
10871         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10872         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10873         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10874         * sysvipc/msgctl.c: Likewise.
10875         * sysvipc/msgget.c: Likewise.
10876         * sysvipc/msgrcv.c: Likewise.
10877         * sysvipc/msgsnd.c: Likewise.
10878         * sysvipc/semctl.c: Likewise.
10879         * sysvipc/semget.c: Likewise.
10880         * sysvipc/semop.c: Likewise.
10881         * sysvipc/semtimedop.c: Likewise.
10882         * sysvipc/shmat.c: Likewise.
10883         * sysvipc/shmctl.c: Likewise.
10884         * sysvipc/shmdt.c: Likewise.
10885         * sysvipc/shmget.c: Likewise.
10886         * termios/tcdrain.c: Likewise.
10887         * termios/tcflow.c: Likewise.
10888         * termios/tcflush.c: Likewise.
10889         * termios/tcgetattr.c: Likewise.
10890         * termios/tcgetpgrp.c: Likewise.
10891         * termios/tcsendbrk.c: Likewise.
10892         * termios/tcsetattr.c: Likewise.
10893         * termios/tcsetpgrp.c: Likewise.
10894         * time/adjtime.c: Likewise.
10895         * time/clock.c: Likewise.
10896         * time/getitimer.c: Likewise.
10897         * time/gettimeofday.c: Likewise.
10898         * time/setitimer.c: Likewise.
10899         * time/settimeofday.c: Likewise.
10900         * time/stime.c: Likewise.
10901         * time/time.c: Likewise.
10902
10903 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
10904
10905         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10906         /usr/old/bin.
10907
10908         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10909         instead of spaces.
10910         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10911
10912 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
10913
10914         [BZ #14796]
10915         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10916         FE_TONEAREST before applying Dekker multiplication and Knuth
10917         addition.  Clear inexact exceptions and check for exact zero
10918         results afterwards.
10919         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10920         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10921         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10922         * math/libm-test.inc (fma_test): Add more tests.
10923         (fma_test_towardzero): Likewise.
10924         (fma_test_downward): Likewise.
10925         (fma_test_upward): Likewise.
10926         * sysdeps/generic/math_private.h (default_libc_fesetround): New
10927         function.
10928         (libc_fesetround): New macro.
10929         (libc_fesetroundf): Likewise.
10930         (libc_fesetroundl): Likewise.
10931         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10932         function.
10933         (libc_fesetround_387): Likewise.
10934         (libc_fesetroundf): New macro.
10935         (libc_fesetround): Likewise.
10936         (libc_fesetroundl): Likewise.
10937         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10938         function.
10939         (libc_fesetroundf): New macro.
10940         (libc_fesetround): Likewise.
10941         (libc_fesetroundl): Likewise.
10942         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10943         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10944         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10945         libm_hidden_ver.
10946         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10947         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10948         libm_hidden_def.
10949         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10950         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10951         libm_hidden_ver.
10952         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10953         libm_hidden_def.
10954
10955         [BZ #3439]
10956         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10957         integer constant usable in #if and use that to give value to enum
10958         constant.
10959         (FE_DIVBYZERO): Likewise.
10960         (FE_UNDERFLOW): Likewise.
10961         (FE_OVERFLOW): Likewise.
10962         (FE_INVALID): Likewise.
10963         (FE_INVALID_SNAN): Likewise.
10964         (FE_INVALID_ISI): Likewise.
10965         (FE_INVALID_IDI): Likewise.
10966         (FE_INVALID_ZDZ): Likewise.
10967         (FE_INVALID_IMZ): Likewise.
10968         (FE_INVALID_COMPARE): Likewise.
10969         (FE_INVALID_SOFTWARE): Likewise.
10970         (FE_INVALID_SQRT): Likewise.
10971         (FE_INVALID_INTEGER_CONVERSION): Likewise.
10972         (FE_TONEAREST): Likewise.
10973         (FE_TOWARDZERO): Likewise.
10974         (FE_UPWARD): Likewise.
10975         (FE_DOWNWARD): Likewise.
10976         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10977         (FE_DIVBYZERO): Likewise.
10978         (FE_OVERFLOW): Likewise.
10979         (FE_UNDERFLOW): Likewise.
10980         (FE_INEXACT): Likewise.
10981         (FE_TONEAREST): Likewise.
10982         (FE_DOWNWARD): Likewise.
10983         (FE_UPWARD): Likewise.
10984         (FE_TOWARDZERO): Likewise.
10985         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10986         (FE_UNDERFLOW): Likewise.
10987         (FE_OVERFLOW): Likewise.
10988         (FE_DIVBYZERO): Likewise.
10989         (FE_INVALID): Likewise.
10990         (FE_TONEAREST): Likewise.
10991         (FE_TOWARDZERO): Likewise.
10992         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10993         (FE_OVERFLOW): Likewise.
10994         (FE_UNDERFLOW): Likewise.
10995         (FE_DIVBYZERO): Likewise.
10996         (FE_INEXACT): Likewise.
10997         (FE_TONEAREST): Likewise.
10998         (FE_TOWARDZERO): Likewise.
10999         (FE_UPWARD): Likewise.
11000         (FE_DOWNWARD): Likewise.
11001         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11002         (FE_DIVBYZERO): Likewise.
11003         (FE_OVERFLOW): Likewise.
11004         (FE_UNDERFLOW): Likewise.
11005         (FE_INEXACT): Likewise.
11006         (FE_TONEAREST): Likewise.
11007         (FE_DOWNWARD): Likewise.
11008         (FE_UPWARD): Likewise.
11009         (FE_TOWARDZERO): Likewise.
11010
11011 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
11012
11013         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11014
11015 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
11016
11017         * scripts/cross-test-ssh.sh (command): Use newlines to separate
11018         commands.  Quote $PWD.
11019         (blacklist_exports): Don't use remove_newlines.  Replace "declare
11020         -x" by "export".
11021         (remove_newlines): Remove.
11022
11023 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
11024
11025         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11026         * stdlib/stdlib.h (atof): Moved to ...
11027         * include/bits/stdlib-float.h: Here.  New file.
11028         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11029         * stdlib/bits/stdlib-float.h: New file.
11030         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11031         -mno-sse -mno-mmx.
11032         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11033         <xmmintrin.h>.
11034
11035 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
11036
11037         * conform/conformtest.pl (@headers): Add fenv.h.
11038         * conform/data/fenv.h-data: New file.
11039         * include/fenv.h [_ISOMAC]: Disable all contents of file except
11040         include of <math/fenv.h>.
11041
11042         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11043         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11044         && !UNIX98].  Enables tests for XOPEN2K8.
11045         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11046         POSIX2008]: Likewise.
11047
11048         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11049         (struct rusage): Do not expect type or its members.
11050
11051         [BZ #3439]
11052         * math/math.h (FP_NAN): Define macro to integer constant usable in
11053         #if and use that to give value to enum constant.
11054         (FP_INFINITE): Likewise.
11055         (FP_ZERO): Likewise.
11056         (FP_SUBNORMAL): Likewise.
11057         (FP_NORMAL): Likewise.
11058
11059 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
11060
11061         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11062         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11063         arguments.
11064
11065 2012-11-02  Roland McGrath  <roland@hack.frob.com>
11066
11067         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11068         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11069         autoconf-time if not.
11070         * configure.in: Remove AC_PREREQ.
11071
11072 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11073
11074         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11075         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11076         of the internal implementation.
11077
11078 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
11079
11080         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11081         except include of <misc/sys/syslog.h>.
11082
11083 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
11084
11085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11086         function returns with a NULL context exit with zero.
11087
11088 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11089
11090         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11091
11092 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
11093
11094         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11095         (run_program_cmd): This.
11096         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11097         (tst_langinfo): New variable.  Use it.
11098
11099 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
11100
11101         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11102         floating point opcodes.
11103
11104 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
11105
11106         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11107         variable.
11108
11109         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11110
11111         * sysdeps/mach/hurd/powerpc: Remove directory.
11112         * sysdeps/mach/powerpc: Likewise.
11113
11114 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
11115
11116         * scripts/check-local-headers.sh: Ignore c++ headers.
11117
11118 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
11119
11120         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11121         __libc_cleanup_region_start argument.
11122
11123 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
11124
11125         [BZ #14784]
11126         [BZ #14785]
11127         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11128         x * y using scaling, not as x * y + z.
11129         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11130         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11131         * math/libm-test.inc (fma_test): Add more tests.
11132         (fma_test_towardzero): Likewise.
11133         (fma_test_downward): Likewise.
11134         (fma_test_upward): Likewise.
11135
11136 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
11137
11138         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11139
11140 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
11141
11142         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11143         New variable.
11144
11145 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
11146
11147         * rt/tst-shm.c (worker): Correct checking for mmap failure.
11148
11149 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
11150
11151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11152         Fix sort order.
11153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11154         Likewise.
11155
11156 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11157
11158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11159         Fix the order of the list for glibc 2.17.
11160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11161         Likewise.
11162
11163 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
11164
11165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11166
11167 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
11168
11169         [BZ #14610]
11170         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11171         for low part of x being zero before using __atanl (y).
11172         * math/libm-test.inc (atan2_test): Add another test.
11173
11174         * manual/install.texi (Configuring and compiling): Document
11175         general use of test-wrapper and test-wrapper-env.
11176         * INSTALL: Regenerated.
11177
11178         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11179         (__fma): Do not extract and scale down low bits on after-rounding
11180         systems when result rounded to normal precision would have normal
11181         exponent.
11182         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11183         (__fmal): Do not extract and scale down low bits on after-rounding
11184         systems when result rounded to normal precision would have normal
11185         exponent.
11186         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11187         (__fmal): Do not extract and scale down low bits on after-rounding
11188         systems when result rounded to normal precision would have normal
11189         exponent.
11190         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11191         macro.
11192         (fma_test): Add more tests.
11193         (fma_test_towardzero): Likewise.
11194         (fma_test_downward): Likewise.
11195         (fma_test_upward): Likewise.
11196
11197 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
11198
11199         * sysdeps/i386/tininess.h: Renamed to ...
11200         * sysdeps/x86/tininess.h: This.
11201         * sysdeps/x86_64/tininess.h: Removed.
11202
11203 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
11204
11205         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11206         input.  Use $(build-program-cmd).
11207         ($(objpfx)tst-array1-static.out): Likewise.
11208         ($(objpfx)tst-array2.out): Likewise.
11209         ($(objpfx)tst-array3.out): Likewise.
11210         ($(objpfx)tst-array4.out): Likewise.
11211         ($(objpfx)tst-array5.out): Likewise.
11212         ($(objpfx)tst-array5-static.out): Likewise.
11213
11214 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
11215
11216         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11217         if defined.
11218
11219         * nss/nsswitch.h (nss_interface_function): Provide new
11220         macro for use with NSS functions.
11221         * grp/initgroups.c: Use new macro.
11222         * nss/getXXbyYY.c: Likewise.
11223         * nss/getXXbyYY_r.c: Likewise.
11224         * nss/getXXent.c: Likewise.
11225         * nss/getXXent_r.c: Likewise.
11226         * sysdeps/posix/getaddrinfo.c: Likewise.
11227
11228 2012-10-30  Andreas Jaeger  <aj@suse.de>
11229
11230         * po/ru.po: Update Russion translation from translation project.
11231
11232 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
11233
11234         [BZ #14152]
11235         [BZ #14783]
11236         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11237         result and shift together with sticky bit instead of replicating
11238         round-to-nearest rounding.
11239         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11240         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11241         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
11242         missing underflow exceptions.
11243         (fma_test_towardzero): Add more tests.
11244         (fma_test_downward): Likewise.
11245         (fma_test_upward): Likewise.
11246
11247         [BZ #14047]
11248         * sysdeps/generic/tininess.h: New file.
11249         * sysdeps/i386/tininess.h: Likewise.
11250         * sysdeps/sh/tininess.h: Likewise.
11251         * sysdeps/x86_64/tininess.h: Likewise.
11252         * stdlib/tst-strtod-underflow.c: Likewise.
11253         * stdlib/tst-tininess.c: Likewise.
11254         * stdlib/strtod_l.c: Include <tininess.h>.
11255         (round_and_return): Do not set errno for exact underflow cases.
11256         Force an underflow exception when setting errno for underflow.
11257         Determine underflow based on rounding to normal precision if
11258         TININESS_AFTER_ROUNDING.
11259         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11260         ERANGE for exact underflow cases.
11261         * stdlib/Makefile (tests): Add tst-tininess and
11262         tst-strtod-underflow.
11263         ($(objpfx)tst-tininess): Use $(link-libm).
11264         ($(objpfx)tst-strtod-underflow): Likewise.
11265
11266 2012-10-30  Andreas Jaeger  <aj@suse.de>
11267
11268         [BZ#14767]
11269         * elf/Makefile (tests): Remove conditional for have-initfini-array
11270         since this is now always required and the variable does not exist
11271         anymore.
11272         (tests-static): Likewise.
11273         (modules-names): Likewise.
11274
11275         * po/eo.po: Add Esperanto translation from translation project.
11276
11277         * elf/tst-array1.c (fini_array): Make writeable so that it can be
11278         merged with constructor/destructor.
11279         (init_array): Likewise.
11280         * elf/tst-array2dep.c (fini_array): Likewise.
11281         (init_array): Likewise.
11282
11283 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
11284
11285         * manual/message.texi: Delete @cartouche tags.
11286
11287 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
11288
11289         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11290         EOPNOTSUPP.
11291         * sysdeps/mach/hurd/fsync.c: Likewise.
11292
11293         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11294         [_POSIX_REALTIME_SIGNALS]: Change condition to
11295         [_POSIX_REALTIME_SIGNALS > 0].
11296
11297 2012-10-27  Andreas Jaeger  <aj@suse.de>
11298
11299         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11300         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11301         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11302         [__WORDSIZE != 64]: Likewise.
11303
11304 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
11305
11306         *  iconvdata/tst-table.sh: Remove ${SHELL}.
11307         *  iconvdata/tst-tables.sh: Likewise.
11308
11309 2012-10-25  David S. Miller  <davem@davemloft.net>
11310
11311         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11312         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11313         of strtoull.
11314
11315         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11316         ifunc-impl-list.c
11317         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11318         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11319         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11320         file.
11321
11322 2012-10-25  Roland McGrath  <roland@hack.frob.com>
11323
11324         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11325         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11326         __getdirentries.
11327
11328 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
11329             Jim Blandy  <jimb@codesourcery.com>
11330
11331         * scripts/cross-test-ssh.sh: New file.
11332         * manual/install.texi (Configuring and compiling): Document use of
11333         cross-test-ssh.sh.
11334         * INSTALL: Regenerated.
11335
11336 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
11337
11338         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11339         EOPNOTSUPP.
11340
11341 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
11342
11343         * Makeconfig (run-program-prefix): Fix comment.
11344
11345 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
11346             Jim Blandy  <jimb@codesourcery.com>
11347
11348         * Makeconfig (test-wrapper): New variable,
11349         (test-wrapper-env): Likewise.
11350         [$(cross-compiling) = yes && $(test-wrapper) != ""]
11351         (run-built-tests): Define to yes.
11352         (run-program-prefix): Use $(test-wrapper).
11353         (built-program-cmd): Likewise.
11354         * Rules (make-test-out): Use $(test-wrapper-env) and
11355         $(host-built-program-cmd).
11356         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11357         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11358         tst-pathopt.sh.
11359         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11360         $(test-wrapper-env) to tst-rtld-load-self.sh.
11361         ($(objpfx)order2.out): Use $(test-wrapper).
11362         ($(objpfx)tst-initorder.out): Likewise.
11363         ($(objpfx)tst-initorder2.out): Likewise.
11364         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11365         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11366         (test_wrapper_env): New variable.  Use it to run ld.so.
11367         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11368         Use it to run ld.so.
11369         (test_wrapper_env): Likewise.
11370         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11371         $(test-wrapper) to run-iconv-test.sh.
11372         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11373         (ICONV): Use $test_wrapper.
11374         * posix/Makefile ($(objpfx)globtest.out): Pass
11375         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11376         globtest.sh, not $(run-program-prefix).
11377         * posix/globtest.sh (run_via_rtld_prefix): New variable.
11378         (test_wrapper): Likewise.
11379         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
11380         set together with run_via_rtld_prefix.
11381         (run_program_prefix): Define in terms of test_wrapper and
11382         run_via_rtld_prefix.
11383
11384 2012-10-24  Roland McGrath  <roland@hack.frob.com>
11385
11386         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11387         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11388         Targets removed.
11389
11390         [BZ #14743]
11391         * include/time.h: Remove librt_hidden_proto (clock_gettime).
11392         Declare __clock_getres, __clock_gettime, __clock_settime,
11393         __clock_nanosleep, and __clock_getcpuclockid.
11394         * rt/clock_gettime.c: Define __clock_gettime as an alias.
11395         Remove librt_hidden_def (clock_gettime).
11396         * sysdeps/unix/clock_gettime.c: Likewise.
11397         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11398         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11399         * rt/clock_getres.c: Define __clock_getres as an alias.
11400         * sysdeps/posix/clock_getres.c: Likewise.
11401         * rt/clock_settime.c: Define __clock_settime as an alias.
11402         * sysdeps/unix/clock_settime.c: Likewise.
11403         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11404         * sysdeps/unix/clock_nanosleep.c: Likewise.
11405         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11406         * rt/clock-compat.c: New file.
11407         * rt/Makefile (librt-routines): Add clock-compat and move
11408         $(clock-routines) to ...
11409         (routines): ... here, new variable.
11410         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11411         Don't add get_clockfreq here.
11412         * rt/Versions (libc: GLIBC_2.17): New version set.
11413         Add clock_* symbols here.
11414         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
11415         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11416         (GLIBC_2.17): Add clock_* symbols.
11417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11419         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11421         Likewise.
11422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11423         Likewise.
11424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11425         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11426         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11428         * NEWS: Mention the move.
11429
11430         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11431         Use __open, __read, __close rather than their public counterparts.
11432         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11433         (__get_clockfreq_via_cpuinfo): Likewise.
11434         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11435         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11436
11437         * config.h.in (HAVE_IFUNC): New #undef.
11438         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11439         was successful.
11440         * configure: Regenerated.
11441
11442 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
11443
11444         * configure.in: Move READELF check to start of file.
11445         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11446         libc_cv_asm_gnu_indirect_function in the process.
11447         * configure: Regenerated.
11448
11449 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
11450
11451         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11452         send the output to /dev/null.
11453         (libc_cv_cc_with_libunwind): Likewise.
11454         (libc_cv_as_noexecstack): Likewise.
11455         * configure: Regenerate.
11456
11457 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
11458
11459         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11460
11461         * posix/globtest.sh (TMPDIR): Do not set.
11462         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11463         (testout): Likewise.
11464
11465 2012-10-24  Andreas Jaeger  <aj@suse.de>
11466
11467         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11468         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11469         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11470         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11471         posix_fadvise64, posix_fallocate64.
11472
11473         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11474         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11475         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11476         Likewise.
11477         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11478         Likewise.
11479         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11480
11481         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11482         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11483         <bits/fcntl-linux.h>.
11484         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11485
11486         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11487         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11488         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11489         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11490         [__WORDSIZE != 64]: Likewise.
11491
11492 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
11493
11494         * Makeconfig (run-built-tests): New variable.
11495         * Rules [$(cross-compiling) = yes]: Change condition to
11496         [$(run-built-tests) = no].
11497         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11498         to [$(run-built-tests) = yes].
11499         * elf/Makefile [$(cross-compiling) = no]: Likewise
11500         * grp/Makefile [$(cross-compiling) = no]: Likewise.
11501         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11502         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11503         * intl/Makefile [$(cross-compiling) = no]: Likewise.
11504         * io/Makefile [$(cross-compiling) = no]: Likewise.
11505         * libio/Makefile [$(cross-compiling) = no]: Likewise.
11506         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11507         * misc/Makefile [$(cross-compiling) = no]: Likewise.
11508         * posix/Makefile [$(cross-compiling) = no]: Likewise.
11509         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11510         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11511         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11512         * string/Makefile [$(cross-compiling) = no]: Likewise.
11513
11514         * posix/Makefile ($(objpfx)globtest.out): Pass
11515         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11516         $(rtld-installed-name).
11517         * posix/globtest.sh (elf_objpfx): Remove variable.
11518         (rtld_installed_name): Likewise.
11519         (library_path): Likewise.
11520         (run_program_prefix): New variable.  Use for running globtest
11521         binary.
11522
11523 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
11524             Joseph Myers  <joseph@codesourcery.com>
11525
11526         * Makeconfig (host-built-program-cmd): New variable.
11527         * elf/Makefile (tst-stackguard1-ARGS): Use
11528         $(host-built-program-cmd).
11529         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11530         (tst-spawn-ARGS): Likewise.
11531         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11532
11533 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
11534             Jim Blandy  <jimb@codesourcery.com>
11535
11536         * Makeconfig (run-via-rtld-prefix): New variable.
11537         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11538         (built-program-cmd): Likewise.
11539
11540 2012-10-22  Andreas Jaeger  <aj@suse.de>
11541
11542         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11543         __O_RSYNC if it exists, otherwise to O_SYNC.
11544
11545 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
11546             Joseph Myers  <joseph@codesourcery.com>
11547
11548         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11549         /dev/null.
11550         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11551         from /dev/null
11552         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11553         /dev/null.
11554
11555 2012-10-22  Andreas Jaeger  <aj@suse.de>
11556
11557         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11558         Define always.
11559         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11560
11561         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11562         bits/fcntl-linux.h.
11563
11564         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11565         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11566
11567         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11568         to __O_LARGEFILE.
11569         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11570         to __O_LARGEFILE.
11571
11572 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
11573             Joseph Myers  <joseph@codesourcery.com>
11574
11575         * config.make.in (NM): New variable.
11576
11577 2012-10-21  Andreas Jaeger  <aj@suse.de>
11578
11579         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11580         definitions and declarations that are provided by
11581         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11582
11583 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
11584
11585         [BZ #14683]
11586         * elf/Makefile (tests-static): Add tst-leaks1-static.
11587         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11588         ($(objpfx)tst-leaks1-static): New rule.
11589         ($(objpfx)tst-leaks1-static-mem): Likewise.
11590         (tst-leaks1-static-ENV): New macro.
11591         * elf/dl-open.c (dl_open_worker): Check the main application
11592         only if SHARED is defined.
11593         * elf/tst-leaks1-static.c: New file.
11594
11595 2012-10-20  Andreas Jaeger  <aj@suse.de>
11596
11597         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11598         generic values for Linux.
11599         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11600         and declarations that are provided by <bits/fcntl-linux.h> and
11601         include <bits/fcntl-linux.h>.
11602         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11603         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11604
11605 2012-10-20  Roland McGrath  <roland@hack.frob.com>
11606
11607         * io/fcntl.h: Move include of <bits/types.h> to the top and
11608         include it unconditionally.
11609
11610 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
11611
11612         * wcsmbs/Makefile (tests-ifunc): New variable.
11613         (tests): Add $(tests-ifunc).
11614         * wcsmbs/test-wcschr-ifunc.c: New file.
11615         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11616         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11617         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11618         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11619         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11620
11621         * string/Makefile (tests-ifunc): New variable.
11622         (tests): Add $(tests-ifunc).
11623         * string/test-memccpy.c (TEST_NAME): New macro.
11624         * string/test-memchr.c (TEST_NAME): Likewise.
11625         * string/test-memcmp.c (TEST_NAME): Likewise.
11626         * string/test-memcpy.c (TEST_NAME): Likewise.
11627         * string/test-memmem.c (TEST_NAME): Likewise.
11628         * string/test-memmove.c (TEST_NAME): Likewise.
11629         * string/test-memset.c (TEST_NAME): Likewise.
11630         * string/test-rawmemchr.c (TEST_NAME): Likewise.
11631         * string/test-stpcpy.c (TEST_NAME): Likewise.
11632         * string/test-stpncpy.c (TEST_NAME): Likewise.
11633         * string/test-strcasecmp.c (TEST_NAME): Likewise.
11634         * string/test-strcasestr.c (TEST_NAME): Likewise.
11635         * string/test-strcat.c (TEST_NAME): Likewise.
11636         * string/test-strchr.c (TEST_NAME): Likewise.
11637         * string/test-strcmp.c(TEST_NAME): Likewise.
11638         * string/test-strcpy.c (TEST_NAME): Likewise.
11639         * string/test-strcspn.c (TEST_NAME): Likewise.
11640         * string/test-strlen.c (TEST_NAME): Likewise.
11641         * string/test-strncasecmp.c (TEST_NAME): Likewise.
11642         * string/test-strncmp.c (TEST_NAME): Likewise.
11643         * string/test-strncpy.c (TEST_NAME): Likewise.
11644         * string/test-strnlen.c (TEST_NAME): Likewise.
11645         * string/test-strpbrk.c (TEST_NAME): Likewise.
11646         * string/test-strrchr.c (TEST_NAME): Likewise.
11647         * string/test-strspn.c (TEST_NAME): Likewise.
11648         * string/test-strstr.c (TEST_NAME): Likewise.
11649         * string/test-bcopy-ifunc.c: New file.
11650         * string/test-bzero-ifunc.c: Likewise.
11651         * string/test-memccpy-ifunc.c: Likewise.
11652         * string/test-memchr-ifunc.c: Likewise.
11653         * string/test-memcmp-ifunc.c: Likewise.
11654         * string/test-memcpy-ifunc.c: Likewise.
11655         * string/test-memmem-ifunc.c: Likewise.
11656         * string/test-memmove-ifunc.c: Likewise.
11657         * string/test-mempcpy-ifunc.c: Likewise.
11658         * string/test-memset-ifunc.c: Likewise.
11659         * string/test-rawmemchr-ifunc.c: Likewise.
11660         * string/test-stpcpy-ifunc.c: Likewise.
11661         * string/test-stpncpy-ifunc.c: Likewise.
11662         * string/test-strcasecmp-ifunc.c: Likewise.
11663         * string/test-strcasestr-ifunc.c: Likewise.
11664         * string/test-strcat-ifunc.c: Likewise.
11665         * string/test-strchr-ifunc.c: Likewise.
11666         * string/test-strchrnul-ifunc.c: Likewise.
11667         * string/test-strcmp-ifunc.c: Likewise.
11668         * string/test-strcpy-ifunc.c: Likewise.
11669         * string/test-strcspn-ifunc.c: Likewise.
11670         * string/test-strlen-ifunc.c: Likewise.
11671         * string/test-strncasecmp-ifunc.c: Likewise.
11672         * string/test-strncat-ifunc.c: Likewise.
11673         * string/test-strncmp-ifunc.c: Likewise.
11674         * string/test-strncpy-ifunc.c: Likewise.
11675         * string/test-strnlen-ifunc.c: Likewise.
11676         * string/test-strpbrk-ifunc.c: Likewise.
11677         * string/test-strrchr-ifunc.c: Likewise.
11678         * string/test-strspn-ifunc.c: Likewise.
11679         * string/test-strstr-ifunc.c: Likewise.
11680
11681         * debug/Makefile (tests-ifunc): New variable.
11682         (tests): Add $(tests-ifunc).
11683         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11684         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11685         * debug/test-stpcpy_chk-ifunc.c: New file.
11686         * debug/test-strcpy_chk-ifunc.c: Likewise.
11687
11688 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11689
11690         [BZ #13601]
11691         * elf/dl-load.c (open_verify): Retry read if the entire ELF
11692         header is not read in.
11693
11694 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
11695
11696         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
11697         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
11698         directly.  Pass built executable to script as
11699         $(built-program-cmd).
11700         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
11701         $testprogram without using LD_LIBRARY_PATH and $ldso.
11702
11703         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11704         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11705         $(rtld-installed-name).
11706         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11707         (rtld_installed_name): Likewise.
11708         (library_path): Likewise.
11709         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
11710         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11711         $(run-program-prefix) to tst-tables.sh.
11712         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
11713         it to run tst-table-from and tst-table-to.
11714         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11715         Pass it to tst-table.sh.
11716         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11717         $(run-program-prefix) to tst-gettext.sh.
11718         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11719         tst-translit.sh.
11720         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11721         tst-gettext2.sh.
11722         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
11723         to run tst-gettext.
11724         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
11725         to run tst-gettext2.
11726         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
11727         to run tst-translit.
11728         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11729         $(run-program-prefix) to tst-mtrace.sh.
11730         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
11731         to run tst-mtrace.
11732         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11733         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11734         $(rtld-installed-name).
11735         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11736         (rtld_installed_name): Likewise.
11737         (run_program_prefix): New variable.  Use it to run wordexp-test.
11738
11739         * Makeconfig (ARCH): Remove all definitions.
11740         (machine): Likewise.
11741         [ARCH]: Remove conditional code.
11742         [!objdir]: Give error.
11743         [!objdir] (objpfx): Remove.
11744         [!objdir] (common-objpfx): Likewise.
11745         [!objdir] (common-objdir): Likewise.
11746         * configure.in (config_makefile): Remove.  Hardcode Makefile in
11747         AC_CONFIG_FILES call.
11748         * configure: Regenerated.
11749
11750         [BZ #13888]
11751         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11752         or TMPDIR.
11753         (testout): Likewise.
11754
11755         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11756         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11757         $(rtld-installed-name).
11758         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11759         (rtld_installed_name): Likwise.
11760         (runit): Remove function.
11761         (run_getconf): New variable,  Use it for running getconf binary.
11762
11763 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
11764
11765         [BZ #14716]
11766         * string/test-memmem.c (check_result): New function.
11767         (do_one_test): Use it.
11768         (check1): New function.
11769         (test_main): Use it.
11770
11771 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
11772
11773         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11774
11775 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
11776
11777         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11778         (_G_LSEEK64): Likewise.
11779         (_G_MMAP64): Likewise.
11780         (_G_FSTAT64): Likewise.
11781         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11782         (_G_LSEEK64): Likewise.
11783         (_G_MMAP64): Likewise.
11784         (_G_FSTAT64): Likewise.
11785         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11786         unconditional.  Call __mmap64 directly.
11787         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11788         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
11789         __lseek64 directly.
11790         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11791         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
11792         __mmap64 directly.
11793         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11794         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
11795         __lseek64 directly.
11796         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11797         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
11798         __lseek64 directly.
11799         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11800         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
11801         __lseek64 directly.
11802         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11803         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
11804         __fxstat64 directly.
11805         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11806         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11807         unconditional.
11808         (freopen64) [!_G_OPEN64]: Remove conditional code.
11809         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11810         unconditional.
11811         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11812         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11813         unconditional.
11814         (ftello64) [!_G_LSEEK64]: Remove conditional code.
11815         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11816         unconditional.
11817         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11818         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11819         unconditional.
11820         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11821         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11822         unconditional.
11823         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11824         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11825         unconditional.
11826         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11827         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11828         unconditional.
11829         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11830
11831 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11832
11833         [BZ #12140]
11834         * manual/memory.texi (Malloc Tunable Parameters): Add note
11835         about free list pointers overwriting some perturb bytes.
11836         Wording suggested by Roland McGrath.
11837
11838 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
11839
11840         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11841         (lgamma_test): Likewise.
11842         (tgamma_test): Likewise.
11843
11844 2012-10-16  Florian Weimer  <fweimer@redhat.com>
11845
11846         [BZ #14700]
11847         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11848         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11849
11850 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
11851
11852         * NEWS: Mention BZ #14716.
11853         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11854         when removing AVAILABLE1_USES_J macro.
11855
11856 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
11857
11858         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11859         (__bswap_64): __uint64_t for unsigned 64-bit int.
11860
11861 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
11862
11863         * include/string.h (memmem): Declare libc hidden alias.
11864         * string/memmem.c (memmem): Define libc hidden alias.
11865         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11866         __read, __close instead of open, read, close.
11867
11868 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
11869
11870         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11871         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11872         global and hidden.
11873         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11874         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11875         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11876         Likewise.
11877         (__rawmemchr_sse2): Likewise.
11878         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11879         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11880         (__strchr_sse2): Likewise.
11881         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11882         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11883         (__strcasecmp_sse2): Likewise.
11884         (__strncasecmp_sse2): Likewise.
11885         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11886         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11887         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11888         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11889         (__strrchr_sse2): Likewise.
11890         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11891         ifunc-impl-list.c.
11892         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11893         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11894         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11895         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11896         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11897         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11898         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11899         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11900         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11901         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11902         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11903         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11904         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11905         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11906         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11907         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11908         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11909         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11910         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11911         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11912         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11913         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11914         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11915         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11916         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11917         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11918         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11919         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11920         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11921         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11922
11923         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11924         global and hidden.
11925         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11926         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11927         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11928         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11929         Likewise.
11930         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11931         Likewise.
11932         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11933         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11934         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11935         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11936         ifunc-impl-list.c.
11937         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11938         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11939         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11940         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11941         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11942         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11943         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11944         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11945         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11946         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11947         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11948         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11949         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11950         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11951         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11952         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11953         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11954         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11955         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11956         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11957         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11958         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11959         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11960         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11961         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11962         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11963         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11964         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11965         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11966         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11967         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11968         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11969         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11970         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11971         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11972         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11973         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11974         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11975         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11976         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11977         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11978
11979         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11980         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11981         * include/ifunc-impl-list.h: New file.
11982         * misc/ifunc-impl-list.c: Likewise.
11983         * misc/Makefile (routines): Add ifunc-impl-list.
11984         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11985         * string/test-string.h: Include <ifunc-impl-list.h>.
11986         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11987         impl_array): New variables.
11988         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11989         are defined.
11990         (test_init): Call __libc_ifunc_impl_list to initialize
11991         func_list if TEST_IFUNC and TEST_NAME are defined.
11992
11993         * string/Makefile (strop-tests): Add bcopy and bzero.
11994         * string/test-bcopy.c: New file.
11995         * string/test-bzero.c: Likewise.
11996         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11997         defined.
11998         * string/test-memset.c: Support bzero test if TEST_BZERO is
11999         defined.
12000         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12001         __libc_memmove.
12002         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12003         __libc_memset.
12004         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12005         of memset.
12006
12007 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
12008
12009         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12010         * configure: Regenerated.
12011
12012         * Makeconfig (+link-static-before-libc): Don't include
12013         $(link-static-libc).
12014
12015         * libio/libio.h (_IO_pos_t): Remove.
12016
12017 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
12018
12019         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
12020         McGrath.
12021
12022 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
12023
12024         * crypt/crypt-entry.c: Include fips-private.h.
12025         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12026         * crypt/md5c-test.c (main): Tolerate disabled MD5.
12027         * sysdeps/unix/sysv/linux/fips-private.h: New file.
12028         * sysdeps/generic/fips-private.h: New file, dummy fallback.
12029
12030 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
12031
12032         * crypt/crypt-private.h: Include stdbool.h.
12033         (_ufc_setup_salt_r): Return bool.
12034         * crypt/crypt-entry.c: Include errno.h.
12035         (__crypt_r): Return NULL with EINVAL for bad salt.
12036         * crypt/crypt_util.c (bad_for_salt): New.
12037         (_ufc_setup_salt_r): Check that salt is long enough and within
12038         the specified alphabet.
12039         * crypt/badsalttest.c: New file.
12040         * crypt/Makefile (tests): Add it.
12041         ($(objpfx)badsalttest): New.
12042
12043 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
12044
12045         * NEWS: Add entry for BZ #14602.
12046
12047 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
12048
12049         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12050         type-generic.
12051         * math/libm-test.inc: Update comment listing what functions and
12052         macros are tested.
12053         (isgreater_test): New function.
12054         (isgreaterequal_test): Likewise.
12055         (isless_test): Likewise.
12056         (islessequal_test): Likewise.
12057         (islessgreater_test): Likewise.
12058         (isunordered_test): Likewise.
12059         (main): Call the new functions.
12060
12061 2012-10-09  Roland McGrath  <roland@hack.frob.com>
12062
12063         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12064         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12065         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12066         * sysdeps/i386/configure: Regenerated.
12067         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12068         * sysdeps/mach/configure: Regenerated.
12069         * sysdeps/mach/hurd/configure: Regenerated.
12070         * sysdeps/powerpc/configure: Regenerated.
12071         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12072         * sysdeps/powerpc/powerpc64/configure: Regenerated.
12073         * sysdeps/s390/s390-32/configure: Regenerated.
12074         * sysdeps/s390/s390-64/configure: Regenerated.
12075         * sysdeps/sh/configure: Regenerated.
12076         * sysdeps/sparc/configure: Regenerated.
12077         * sysdeps/unix/sysv/linux/configure: Regenerated.
12078         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12079         * sysdeps/x86_64/configure: Regenerated.
12080
12081         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12082         defined.  Don't check if MAP is NULL.
12083
12084 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
12085
12086         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12087         (_G_stat64): Likewise.
12088         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12089         (_G_stat64): Likewise.
12090         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12091         instead of struct _G_stat64.
12092         * libio/fileops.c (mmap_remap_check): Likewise.
12093         (decide_maybe_mmap): Likewise.
12094         (_IO_new_file_seekoff): Likewise.
12095         (_IO_file_stat): Likewise.
12096         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12097         _G_off64_t.
12098         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12099         instead of struct _G_stat64.
12100         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12101
12102 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
12103
12104         [BZ #14602]
12105         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12106         Replace with ...
12107         (CHECK_EOL): New macro.
12108         (two_way_short_needle): Check beginning of haystack for EOL.  Use
12109         CHECK_EOL.
12110         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12111         Replace with CHECK_EOL.
12112         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12113         Replace with CHECK_EOL.
12114
12115 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
12116
12117         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12118         type-generic.
12119         * math/libm-test.inc: Update comment listing what functions and
12120         macros are tested.
12121         (finite_test): New function.
12122         (isinf_test): Likewise.
12123         (isnan_test): Likewise.
12124         (fpclassify_test): Test subnormal input.
12125         (isfinite_test): Likewise.
12126         (isnormal_test): Likewise.
12127         (main): Call the new functions.
12128
12129 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
12130
12131         [BZ #14660]
12132         * Makerules (%.dynsym): Force C locale when running
12133         $(OBJDUMP) --dynamic-syms.
12134
12135 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
12136
12137         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12138         <stdint.h>.
12139
12140 2012-10-06  David S. Miller  <davem@davemloft.net>
12141
12142         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12143         upper 32-bits of the length value in %o2 since we use branch-on-register
12144         tests which consider the entire 64-bit register.
12145
12146 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
12147
12148         * string/test-strstr.c (check2): Add a test for page boundary.
12149
12150 2012-10-05  David S. Miller  <davem@davemloft.net>
12151
12152         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12153         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12154         file.
12155         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12156         sysdep_routines.
12157         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12158         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12159         and bzero when HWCAP_SPARC_CRYPTO is present.
12160
12161 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
12162
12163         [BZ #14602]
12164         * string/test-strstr.c (check2): New function.
12165         (test_main): Call check2.
12166
12167         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12168         and bug-strchr1.
12169         * string/bug-strcasestr1.c (do_test): Moved to ...
12170         * string/test-strcasestr.c (check1): Here.  New function.
12171         (do_one_test): Break out result checking code into ...
12172         (check_result): This.  New function.
12173         (do_one_test): Call check_result.
12174         (test_main): Call check1.
12175         * string/bug-strchr1.c (do_test): Moved to ...
12176         * string/test-strchr.c (check1): Here.  New function.
12177         (do_one_test): Break out result checking code into ...
12178         (check_result): This.  New function.
12179         (do_one_test): Call check_result.
12180         (test_main): Call check1.
12181         * string/bug-strstr1.c (main): Moved to ...
12182         * string/test-strstr.c (check1): Here.  New function.
12183         (do_one_test): Break out result checking code into ...
12184         (check_result): This.  New function.
12185         (do_one_test): Call check_result.
12186         (test_main): Call check1.
12187         * string/bug-strcasestr1.c: Removed.
12188         * string/bug-strchr1.c: Likewise.
12189         * string/bug-strstr1.c: Likewise.
12190
12191         * elf/Makefile (dl-routines): Add hwcaps.
12192         * elf/dl-support.c (_dl_important_hwcaps): Removed.
12193         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12194         (_dl_important_hwcaps): Moved to ...
12195         * elf/dl-hwcaps.c: Here.  New file.
12196         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12197
12198         [BZ #14557]
12199         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12200         if IS_IN_rtld isn't defined.
12201
12202         * elf/dl-support.c (_dl_sysinfo_map): New.
12203         Include "get-dynamic-info.h" and "setup-vdso.h".
12204         (_dl_non_dynamic_init): Call setup_vdso.
12205         * elf/dynamic-link.h: Don't include <assert.h>.
12206         (elf_get_dynamic_info): Moved to ...
12207         * elf/get-dynamic-info.h: Here.  New file.
12208         * elf/dynamic-link.h: Include "get-dynamic-info.h".
12209         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12210         * elf/setup-vdso.h: Here.  New file.
12211         * elf/rtld.c: Include "setup-vdso.h".
12212         (dl_main): Call setup_vdso.
12213
12214 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
12215
12216         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12217         creal in comment listing functions tested.  List finite, isinf,
12218         isnan, isless, islessequal, isgreater, isgreaterequal,
12219         islessgreater, isunordered, lgamma_r and pow10 as functions and
12220         macros not tested.  Mention which functions not tested are aliases
12221         for other functions.  Fix typo.  Note that signs of NaNs are not
12222         tested.
12223
12224         * scripts/config.guess: Update from config.git.
12225         * scripts/config.sub: Likewise.
12226
12227 2012-10-04  Roland McGrath  <roland@hack.frob.com>
12228
12229         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12230         * misc/madvise.c (madvise): Renamed to __madvise.
12231         Make madvise a weak alias.
12232         * include/sys/mman.h: Declare __madvise.
12233         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12234         * sysdeps/unix/syscalls.list
12235         (madvise): Make __madvise the strong name, and madvise a weak alias.
12236         * sysdeps/unix/sysv/linux/syscalls.list
12237         (madvise, mmap): Remove redundant entries.
12238         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12239         * malloc/malloc.c (mtrim): Likewise.
12240         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12241
12242 2012-10-03  Roland McGrath  <roland@hack.frob.com>
12243
12244         * sysdeps/mach/hurd/dl-cache.c: File removed.
12245         * config.h.in (USE_LDCONFIG): New #undef.
12246         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12247         * configure: Regenerated.
12248         * elf/Makefile (dl-routines): Add dl-cache only under
12249         [$(use-ldconfig) = yes].
12250         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12251         cache on [USE_LDCONFIG].
12252         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12253         [USE_LDCONFIG].
12254         * elf/rtld.c (dl_main): Likewise.
12255
12256 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
12257
12258         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12259         _SC_LEVEL4_CACHE_LINESIZE.
12260
12261 2012-10-03  Roland McGrath  <roland@hack.frob.com>
12262
12263         * sysdeps/unix/bsd/confstr.h: File removed.
12264
12265 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
12266
12267         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12268         sys/sdt-config.h.
12269
12270 2012-10-02  Roland McGrath  <roland@hack.frob.com>
12271
12272         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12273         Make 'mapoff' field ElfW(Off) rather than off_t.
12274
12275 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
12276
12277         * nscd/Makefile: Remove nscd-cflags and all its users.
12278         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12279         (CFLAGS-nonlib): Add compiler flags for nscd modules.
12280
12281         [BZ #10631]
12282         * malloc.c (malloc_printerr): Clarify error message.
12283
12284 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
12285
12286         [BZ #14648]
12287         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12288         Set bit_FMA_Usable if FMA is supported.
12289         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12290         macro.
12291         (bit_FMA4_Usable): Updated.
12292         (index_FMA_Usable): New macro.
12293         (CPUID_FMA): Likewise
12294         (HAS_FMA): Defined with bit_FMA_Usable.
12295
12296 2012-10-01  Roland McGrath  <roland@hack.frob.com>
12297
12298         * bits/types.h (__swblk_t): Type removed.
12299         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12300         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12301         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12302         (__SWBLK_T_TYPE): Likewise.
12303         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12304         (__SWBLK_T_TYPE): Likewise.
12305         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12306         (__SWBLK_T_TYPE): Likewise.
12307         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12308         (__SWBLK_T_TYPE): Likewise.
12309
12310 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
12311             Honza Horak <hhorak@redhat.com>
12312
12313         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12314         (xdr_mapname): Use YPMAXMAP as maxsize.
12315         (xdr_peername): Use YPMAXPEER as maxsize.
12316         (xdr_keydat): Use YPAXRECORD as maxsize.
12317         (xdr_valdat): Use YPMAXRECORD as maxsize.
12318
12319 2012-10-01  Roland McGrath  <roland@hack.frob.com>
12320
12321         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12322
12323         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12324         * csu/init-first.c: ... here.
12325         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12326         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12327         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12328         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12329         * sysdeps/i386/init-first.c: File removed.
12330         * sysdeps/sh/init-first.c: File removed.
12331
12332 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
12333
12334         [BZ #14645]
12335         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12336         if x * y might underflow to zero and z is zero.
12337         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12338         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12339         * math/libm-test.inc (min_subnorm_value): New variable.
12340         (fma_test): Add more tests.
12341         (fma_test_towardzero): Likewise.
12342         (fma_test_downward): Likewise
12343         (fma_test_upward): Likewise.
12344         (initialize): Set min_subnorm_value.
12345
12346 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
12347
12348         [BZ #14638]
12349         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12350         0 + 0.
12351         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12352         mode for addition resulting in exact zero.
12353         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12354         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12355         exact 0 + 0.
12356         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12357         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12358         * math/libm-test.inc (fma_test): Add more tests.
12359         (fma_test_towardzero): New function.
12360         (fma_test_downward): Likewise.
12361         (fma_test_upward): Likewise.
12362         (main): Call the new functions.
12363
12364 2012-09-28  David S. Miller  <davem@davemloft.net>
12365
12366         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12367
12368 2012-09-28  Roland McGrath  <roland@hack.frob.com>
12369
12370         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12371         instead of SIGALRM.
12372
12373         * sysdeps/gnu/_G_config.h: Moved to ...
12374         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12375         * sysdeps/mach/hurd/_G_config.h: Moved to ...
12376         * sysdeps/generic/_G_config.h: ... here.
12377
12378         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
12379
12380         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12381
12382         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12383         Conditionalize target on [libnss_test1.so-version].
12384
12385         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12386
12387         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12388         (elfobjdir): Move out of conditionals.
12389
12390         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12391         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12392         (__nss_lookup_function): Conditionalize label remove_from_tree on
12393         [!DO_STATIC_NSS || SHARED], matching its only use.
12394
12395 2012-09-28  David S. Miller  <davem@davemloft.net>
12396
12397         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12398         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12399         file.
12400         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12401         sysdep_routines.
12402         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12403         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12404         when HWCAP_SPARC_CRYPTO is present.
12405
12406 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12407
12408         * io/tst-mknodat.c: Create a FIFO instead of a socket.
12409
12410 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
12411
12412         [BZ #6530]
12413         * stdio-common/vfprintf.c (process_string_arg): Revert
12414         2000-07-22 change.
12415
12416 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
12417
12418         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12419         for testcase.
12420         * stdio-common/tst-sprintf.c: Include <locale.h>
12421         (main): Test sprintf's handling of incomplete multibyte
12422         characters.
12423
12424 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
12425
12426         * elf/dl-runtime.c (VERSYMIDX): Removed.
12427         * elf/dl-version.c (VERSYMIDX): Likewise.
12428         * elf/do-rel.h (VERSYMIDX): Likewise.
12429         (VALIDX): Likewise.
12430         * elf/dynamic-link.h (VERSYMIDX): Likewise.
12431         * elf/rtld.c (VALIDX): Likewise.
12432         (ADDRIDX): Likewise.
12433         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12434         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12435         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12436         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12437         (VALIDX): Likewise.
12438         (ADDRIDX): Likewise.
12439
12440 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12441
12442         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12443
12444 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
12445
12446         [BZ #11438]
12447         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12448         to global scope.
12449         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12450         addresses are in the same scope as 192.0.2/24.
12451         * posix/gai.conf: Document new scope table defaults.
12452
12453 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12454
12455         [BZ #5298]
12456         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12457         for ftell.  Compute offsets from write pointers instead.
12458         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12459
12460 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12461
12462         [BZ #14543]
12463         * libio/Makefile (tests): New test case tst-fseek.
12464         * libio/tst-fseek.c: New test case to verify that fseek/ftell
12465         combination works in wide mode.
12466         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12467         state when the external buffer state changes.
12468
12469 2012-09-27  David S. Miller  <davem@davemloft.net>
12470
12471         [BZ #14376]
12472         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12473         pass reloc->r_addend in as the 'high' argument to
12474         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12475
12476         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12477
12478 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12479
12480         * rt/tst-aio2.c: Include <pthread.h>.
12481         * rt/tst-aio3.c: Likewise.
12482
12483 2012-09-27  Steve Ellcey  <sellcey@mips.com>
12484
12485         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12486
12487 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
12488
12489         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12490         contents on [SHARED].
12491
12492 2012-09-26  Marek Polacek  <polacek@redhat.com>
12493
12494         [BZ #14530]
12495         [BZ #13741]
12496         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12497         for C++ and GCC <4.3 as well as for non GCC compilers.
12498
12499 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
12500
12501         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12502
12503 2012-09-25  Roland McGrath  <roland@hack.frob.com>
12504
12505         * Makefile.in (all, install): Declare with .PHONY.
12506         Reported by Michael Hope <michael.hope@linaro.org>.
12507
12508 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12509
12510         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12511         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12512         system header.
12513         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12514         Likewise.
12515         (sydep_routines): Add the new and the internal functions.
12516         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12517         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12519         (GLIBC_2.17): Add the new function.
12520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12521         (GLIBC_2.17): Likewise.
12522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12523         (GLIBC_2.17): Likewise.
12524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12525         (GLIBC_2.17): Likewise.
12526         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12527
12528 2012-09-25  Alan Modra  <amodra@gmail.com>
12529
12530         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12531         Add release barrier before setting once_control to say
12532         initialisation is done.  Add hints on lwarx.  Use macro in
12533         place of isync.
12534         (clear_once_control): Add release barrier.
12535
12536 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
12537
12538         [BZ #13629]
12539         * math/s_clog.c (__clog): Handle more values close to |z| = 1
12540         specially.
12541         * math/s_clog10.c (__clog10): Likewise.
12542         * math/s_clog10f.c (__clog10f): Likewise.
12543         * math/s_clog10l.c (__clog10l): Likewise.
12544         * math/s_clogf.c (__clogf): Likewise.
12545         * math/s_clogl.c (__clogl): Likewise.
12546         * math/Makefile (libm-calls): Add x2y2m1.
12547         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12548         (__x2y2m1): Likewise.
12549         (__x2y2m1l): Likewise.
12550         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12551         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12552         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12553         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12554         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12555         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12556         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12557         * sysdeps/i386/fpu/libm-test-ulps: Update.
12558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12559
12560         [BZ #14621]
12561         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12562         int as type of variable DEPTH.
12563         (glob): Use size_t instead of int as type of variables NEWCOUNT
12564         and OLD_PATHC.
12565
12566 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12567
12568         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12569         Add s_sincosf-sse2.
12570         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12571         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12572         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12573         macros for using routine as __sincosf_ia32.
12574         Use macro for function declaration and weak_alias.
12575         * sysdeps/i386/fpu/libm-test-ulps: Update.
12576
12577         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12578         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12579
12580         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12581         subnormal argument.
12582         * math/s_cexpf.c (__cexpf): Likewise.
12583         * math/s_csinf.c (__csinf): Likewise.
12584         * math/s_csinhf.c (__csinhf): Likewise.
12585         * math/s_ctanf.c (__ctanf): Likewise.
12586         * math/s_ctanhf.c (__ctanhf): Likewise.
12587         * math/s_ccosh.c (__ccoshf): Likewise.
12588         * math/s_cexp.c (__cexpl): Likewise.
12589         * math/s_csin.c (__csin): Likewise.
12590         * math/s_csinh.c (__csinh): Likewise.
12591         * math/s_ctan.c (__ctan): Likewise.
12592         * math/s_ctanh.c (ctanh): Likewise.
12593         * math/s_ccoshl.c (__ccoshl): Likewise.
12594         * math/s_cexpl.c (__cexpl): Likewise.
12595         * math/s_csinl.c (__csinl): Likewise.
12596         * math/s_csinhl.c (__csinhl): Likewise.
12597         * math/s_ctanl.c (__ctanl): Likewise.
12598         * math/s_ctanhl.c (__ctanhl): Likewise.
12599
12600 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
12601
12602         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12603         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12604         (_IO_off_t): Define to __off_t, not _G_off_t.
12605         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12606         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12607         (_IO_wint_t): Define to wint_t, not _G_wint_t.
12608         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12609         type of __dummy and __dummy2 fields.
12610         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12611         (_G_ssize_t): Likewise.
12612         (_G_off_t): Likewise.
12613         (_G_pid_t): Likewise.
12614         (_G_uid_t): Likewise.
12615         (_G_wchar_t): Likewise.
12616         (_G_wint_t): Likewise.
12617         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12618         (_G_ssize_t): Likewise.
12619         (_G_off_t): Likewise.
12620         (_G_pid_t): Likewise.
12621         (_G_uid_t): Likewise.
12622         (_G_wchar_t): Likewise.
12623         (_G_wint_t): Likewise.
12624         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12625         (_G_ssize_t): Likewise.
12626         (_G_off_t): Likewise.
12627         (_G_pid_t): Likewise.
12628         (_G_uid_t): Likewise.
12629         (_G_wchar_t): Likewise.
12630         (_G_wint_t): Likewise.
12631
12632 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12633
12634         * malloc/arena.c: Include malloc-sysdep.h.
12635         (shrink_heap): Use check_may_shrink_heap to decide if madvise
12636         is sufficient to shrink the heap or an unmap is needed.
12637         * sysdeps/generic/malloc-sysdep.h: New file.  Define
12638         new function check_may_shrink_heap.
12639         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
12640         new function check_may_shrink_heap.
12641
12642 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12643
12644         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12645         comments.
12646
12647 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
12648
12649         * catgets/test-gencat.sh: Add "set -e".
12650         * elf/tst-pathopt.sh: Likewise.
12651         * grp/tst_fgetgrent.sh: Likewise.
12652         * iconvdata/run-iconv-test.sh: Likewise.
12653         * intl/tst-gettext.sh: Likewise.
12654         * intl/tst-gettext2.sh: Likewise.
12655         * intl/tst-gettext4.sh: Likewise.
12656         * intl/tst-gettext6.sh: Likewise.
12657         * intl/tst-translit.sh: Likewise.
12658         * io/ftwtest-sh: Likewise.
12659         * libio/test-freopen.sh: Likewise.
12660         * malloc/tst-mtrace.sh: Likewise.
12661         * posix/globtest.sh: Likewise.
12662         * posix/tst-getconf.sh: Likewise.
12663         * posix/wordexp-tst.sh: Likewise.
12664         * stdio-common/tst-printf.sh: Likewise.
12665         * stdio-common/tst-unbputc.sh: Likewise.
12666         * stdlib/tst-fmtmsg.sh: Likewise.
12667         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12668         * catgets/Makefile: Do not specify -e option when running
12669         testsuite shell scripts.
12670         * elf/Makefile: Likewise.
12671         * grp/Makefile: Likewise.
12672         * iconvdata/Makefile: Likewise.
12673         * intl/Makefile: Likewise.
12674         * io/Makefile: Likewise.
12675         * libio/Makefile: Likewise.
12676         * malloc/Makefile: Likewise.
12677         * posix/Makefile: Likewise.
12678         * stdio-common/Makefile: Likewise.
12679         * stdlib/Makefile: Likewise.
12680         * sysdeps/x86_64/Makefile: Likewise.
12681
12682         * io/ftwtest-sh: Add copyright header.
12683         * posix/globtest.sh: Likewise.
12684         * posix/tst-getconf.sh: Likewise.
12685         * posix/wordexp-tst.sh: Likewise.
12686         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12687
12688 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
12689
12690         [BZ #13679]
12691         * Makeconfig (+link): Defined as $(+link-static) if
12692         $(build-shared) isn't yes.
12693         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12694         isn't yes.
12695         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12696
12697         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12698
12699         [BZ #14562]
12700         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12701         new chunk size with MALLOC_ALIGN_MASK.
12702
12703 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
12704
12705         [BZ #5044]
12706         * stdio-common/printf_fphex.c: Include <stdbool.h> and
12707         <rounding-mode.h>.
12708         (__printf_fphex): Determine rounding using get_rounding_mode and
12709         round_away.
12710         * stdio-common/tst-printf-round.c (struct hex_test): New
12711         structure.
12712         (hex_tests): New variable.
12713         (test_hex_in_one_mode): New function.
12714         (do_test): Also run tests for hex float output.
12715
12716 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
12717
12718         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12719         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12720         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12721         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12722         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12723         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12724         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12725         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12726
12727 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
12728
12729         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12730         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12731         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12732         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12733
12734 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
12735
12736         [BZ #14579]
12737         * elf/rtld.c (dl_main): Limit the check for self loading to normal
12738         mode only.
12739         * elf/tst-rtld-load-self.sh: New test.
12740         * elf/Makefile: Run it.
12741
12742 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
12743
12744         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12745         (tst-writev-ENV): Remove.
12746         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12747
12748 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
12749
12750         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12751
12752 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
12753
12754         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12755         unconditional.
12756         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12757         Likewise.
12758         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12759         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12760         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12761         Likewise.
12762
12763 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
12764
12765         [BZ #14587]
12766         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12767         * config.make.in (have-cpp-asm-debuginfo): Removed.
12768         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12769         * configure: Regenerated.
12770
12771 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
12772
12773         [BZ #5044]
12774         * stdio-common/printf_fp.c: Include <stdbool.h> and
12775         <rounding-mode.h>.
12776         (___printf_fp): Determine rounding using get_rounding_mode and
12777         round_away.
12778         * stdio-common/tst-printf-round.c: New file.
12779         * stdio-common/Makefile (tests): Add tst-printf-round.
12780         (link-libm): New variable.
12781         ($(objpfx)tst-printf-round): Depend in $(link-libm).
12782
12783 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
12784
12785         [BZ #14576]
12786         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12787         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12788         Likewise.
12789         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12790         Likewise.
12791
12792 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
12793
12794         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12795         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12796         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12797         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12798
12799 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
12800
12801         [BZ #14518]
12802         * include/rounding-mode.h: New file.
12803         * sysdeps/generic/get-rounding-mode.h: Likewise.
12804         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12805         * stdlib/strtod_l.c: Include <rounding-mode.h>.
12806         (MAX_VALUE): New macro.
12807         (MIN_VALUE): Likewise.
12808         (overflow_value): New function.
12809         (underflow_value): Likewise.
12810         (round_and_return): Use overflow_value and underflow_value to
12811         determine return values in overflow and underflow cases.  Use
12812         round_away to determine rounding depending on rounding mode.
12813         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12814         determine return values in overflow and underflow cases.
12815         * stdlib/tst-strtod-round.c: Include <fenv.h>.
12816         (struct test_results): New structure.
12817         (struct test): Use struct test_results to store expected results
12818         for all rounding modes.
12819         (TEST): Include expected results for all rounding modes.
12820         (test_in_one_mode): New function.
12821         (do_test): Use test_in_one_mode to compute and check results.
12822         Check results for all rounding modes.
12823         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12824         $(link-libm).
12825
12826 2012-12-09  Allan McRae  <allan@archlinux.org>
12827
12828         * sysdeps/i386/fpu/libm-test-ulps: Update
12829
12830 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
12831
12832         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12833         (_G_int32_t): Likewise.
12834         (_G_uint16_t): Likewise.
12835         (_G_uint32_t): Likewise.
12836         (_G_HAVE_BOOL): Likewise.
12837         (_G_HAVE_ATEXIT): Likewise.
12838         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12839         (_G_HAVE_IO_FILE_OPEN): Likewise.
12840         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12841         (_G_int32_t): Likewise.
12842         (_G_uint16_t): Likewise.
12843         (_G_uint32_t): Likewise.
12844         (_G_HAVE_BOOL): Likewise.
12845         (_G_HAVE_ATEXIT): Likewise.
12846         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12847         (_G_HAVE_IO_FILE_OPEN): Likewise.
12848         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12849         (_G_int32_t): Likewise.
12850         (_G_uint16_t): Likewise.
12851         (_G_uint32_t): Likewise.
12852         (_G_HAVE_BOOL): Likewise.
12853         (_G_HAVE_ATEXIT): Likewise.
12854         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12855         (_G_HAVE_IO_FILE_OPEN): Likewise.
12856
12857 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
12858
12859         * csu/libc-tls.c: Update copyright years.
12860
12861 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
12862
12863         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12864         [!_G_USING_THUNKS]: Remove conditional code.
12865         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12866         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12867
12868         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12869         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12870         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12871         (_G_VTABLE_LABEL_PREFIX): Likewise.
12872         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12873         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12874         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12875         (_G_VTABLE_LABEL_PREFIX): Likewise.
12876         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12877         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12878         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12879         (_G_VTABLE_LABEL_PREFIX): Likewise.
12880         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12881
12882 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
12883
12884         * libio/Makefile: Include ../Makeconfig before tests.
12885         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12886         only if $(build-shared) is yes.
12887
12888         * iconv/gconv_db.c: Update copyright years.
12889
12890 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12891
12892         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12893         unwind info if defined PIC. Fix special cases description.
12894         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12895
12896         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12897         DP_HI_MASK entry.
12898         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12899
12900 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
12901
12902         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12903
12904         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12905         is NULL.
12906
12907         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12908         (LDLIBS-tst-chk4): This.
12909         (LDFLAGS-tst-chk5): Renamed to ...
12910         (LDLIBS-tst-chk5): This.
12911         (LDFLAGS-tst-chk6): Renamed to ...
12912         (LDLIBS-tst-chk6): This.
12913         (LDFLAGS-tst-lfschk4): Renamed to ...
12914         (LDLIBS-tst-lfschk4): This.
12915         (LDFLAGS-tst-lfschk5): Renamed to ...
12916         (LDLIBS-tst-lfschk5): This.
12917         (LDFLAGS-tst-lfschk6): Renamed to ...
12918         (LDLIBS-tst-lfschk6): This.
12919
12920         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12921         on $(common-objpfx)soversions.mk.
12922
12923 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
12924
12925         [BZ #10014]
12926         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12927         example host name.
12928
12929 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12930
12931         * malloc/arena.c (arena_get_retry): New function that gets
12932         another arena for the caller to try its request on.
12933         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12934         current arena cannot fulfill the request.
12935         (__libc_memalign): Likewise.
12936         (__libc_memalign): Likewise.
12937         (__libc_pvalloc): Likewise.
12938         (__libc_calloc): Likewise.
12939
12940 2012-09-05  John Tobey  <john.tobey@gmail.com>
12941
12942         [BZ #13542]
12943         * manual/arith.texi (Operations on Complex): Fix description
12944         of carg branch cut.
12945
12946 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12947
12948         [BZ #10014]
12949         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12950         host name.
12951
12952         [BZ #10038]
12953         * manual/memory.texi (Memory): Make order of menu items match
12954         order of sections.
12955
12956 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12957
12958         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12959         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
12960         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12961
12962 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12963
12964         * csu/libc-tls.c (static_dtv): Renamed to ...
12965         (_dl_static_dtv): This.  Make it global.
12966         (_dl_initial_dtv): Removed.
12967         (__libc_setup_tls): Updated.
12968         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12969         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12970         DL_INITIAL_DTV.
12971
12972 2012-09-06  Petr Machata  <pmachata@redhat.com>
12973
12974         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12975         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12976         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12977         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12978
12979 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12980
12981         [BZ #14545]
12982         * csu/libc-tls.c (_dl_initial_dtv): New variable.
12983         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12984         freeing dtv[-1].
12985
12986 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12987
12988         [BZ #14544]
12989         * Makeconfig (link-static-before-libc): Replace $(+prector)
12990         with $(+prectorT).
12991         (link-static-after-libc): Replace $(+postctor) with
12992         $(+postctorT).
12993         (link-bounded): Replace $(+prector)/$(+postctor) with
12994         $(+prectorT)/$(+postctorT).
12995         (+prectorT): New macro.
12996         (+postctorT): Likewise.
12997
12998 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12999
13000         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13001         (round_str): Handle values above the maximum for IBM long double
13002         as inexact.
13003         * stdlib/tst-strtod-round.c (tests): Regenerated.
13004
13005 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13006
13007         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13008         assembler flag.
13009         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13010         zarch_nohighgprs around the zarch optimized routines.
13011         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13012         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13013         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13014         for zarch.
13015
13016 2012-09-05  David S. Miller  <davem@davemloft.net>
13017
13018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13019
13020         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13021         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13022         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13023         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13024         entries.
13025
13026 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13027
13028         * malloc/arena.c: Fold copyright years.
13029         * malloc/mcheck.c, malloc/memusage.c: Likewise.
13030
13031 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13032
13033         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13034
13035 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13036
13037         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
13038
13039 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13040
13041         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13042         change internal state upon failure.
13043
13044 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13045
13046         * malloc/mcheck.c (mcheck_check_all): Fix typo.
13047         * malloc/memusage.c (mmap): Likewise.
13048         (mmap64, mremap): Likewise.  Adjust name in comment.
13049
13050 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13051
13052         * libio/fileops.c: Fix typos in comments.
13053         * libio/oldfileops.c: Likewise.
13054         * libio/wfileops.c: Likewise.
13055
13056 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13057
13058         [BZ #1349]
13059         * malloc/Makefile (tests): Add tst-malloc-usable test case.
13060         (tst-malloc-usable-ENV): Set environment for test case.
13061         * malloc/hooks.c (malloc_check_get_size): New function to get
13062         requested size.
13063         * malloc/malloc.c (musable): Use malloc_check_get_size.
13064         * malloc/tst-malloc-usable.c: New test case.
13065
13066 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
13067
13068         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13069
13070 2012-09-05  Allan McRae  <allan@archlinux.org>
13071
13072         [BZ #13966]
13073         * configure.in (CXX_SYSINCLUDES): Use compiler output to
13074         determine header location.
13075         * configure: Regenerated.
13076
13077 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
13078
13079         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13080         float format.
13081         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13082         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13083         format.
13084         (test): Regenerate.
13085
13086 2012-09-04  David S. Miller  <davem@davemloft.net>
13087
13088         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13089         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13090         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13091
13092 2012-09-04  Florian Weimer  <fweimer@redhat.com>
13093
13094         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13095         failures.
13096
13097         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13098
13099 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
13100
13101         [BZ #9914]
13102         * libio/iogetdelim.c: Include <limits.h>.
13103         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13104         + len + 1 would overflow.
13105
13106 2012-09-03  Andreas Jaeger  <aj@suse.de>
13107
13108         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13109         * sysdeps/i386/fpu/libm-test-ulps: Update.
13110
13111 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13112
13113         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13114         Add s_sinf-sse2, s_conf-sse2.
13115
13116         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13117         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13118         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13119         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13120
13121         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13122         for using routine as __sinf_ia32.
13123         Use macro for function declaration and weak_alias.
13124         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13125         for using routine as __cosf_ia32.
13126         Use macro for function declaration and weak_alias.
13127
13128         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13129         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13130
13131         * sysdeps/x86_64/fpu/s_sinf.S: New file.
13132         * sysdeps/x86_64/fpu/s_cosf.S: New file.
13133         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13134
13135         * math/libm-test.inc (cos_test): Add more test cases.
13136         (sin_test): Likewise.
13137         (sincos_test): Likewise.
13138
13139 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13140
13141         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13142         (IFUNC_RESOLVE): Make pointers to the specialized implementations
13143         hidden.
13144         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13145
13146 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
13147
13148         [BZ #14538]
13149         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13150         first element of the GOT.
13151         (elf_machine_load_address): Return the difference between
13152         the runtime address of _DYNAMIC and elf_machine_dynamic ().
13153
13154 2012-09-01  Allan McRae  <allan@archlinux.org>
13155
13156         [BZ #13412]
13157         * configure.in (AWK): Require gawk version 3.0 or later.
13158         * configure: Regenerated.
13159
13160 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
13161
13162         * sysdeps/unix/sysv/linux/kernel-features.h
13163         (__ASSUME_POSIX_CPU_TIMERS): Remove.
13164         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13165         [__NR_clock_getres]: Make code unconditional.
13166         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13167         (clock_getcpuclockid): Remove code left unreachable by removal of
13168         conditionals.
13169         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13170         code unconditional.
13171         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13172         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13173         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13174         Make code unconditional.
13175         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13176         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13177         * sysdeps/unix/sysv/linux/clock_settime.c
13178         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13179         conditional code.
13180         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13181         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13182
13183 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
13184
13185         [BZ #14476]
13186         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13187         scripts/test-installation.pl.
13188
13189         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13190         and $ld_so_version if it is set.
13191
13192 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13193
13194         [BZ #14516]
13195         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13196         failure if reading from procfs failed.
13197         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13198
13199 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
13200
13201         * sysdeps/unix/sysv/linux/kernel-features.h
13202         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13203         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13204         Remove conditional code.
13205         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13206         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13207         Remove conditional code.
13208         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13209         * sysdeps/unix/sysv/linux/i386/fxstat.c
13210         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13211         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13212         * sysdeps/unix/sysv/linux/i386/fxstatat.c
13213         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13214         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13215         * sysdeps/unix/sysv/linux/i386/lxstat.c
13216         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13217         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13218         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13219         Remove conditional code.
13220         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13221         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13222         Remove conditional code.
13223         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13224         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13225         <kernel-features.h>.
13226         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13227         Remove.
13228         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13229         Remove conditional code.
13230         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13231         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13232         Remove conditional.
13233
13234 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
13235
13236         [BZ #5400]
13237         * NEWS: Add fixed bug number.
13238
13239 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
13240
13241         [BZ #14519]
13242         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13243         underflowing exponent in case of negative sign.
13244         * stdlib/tst-strtod-round-data: Add more tests.
13245         * stdlib/tst-strtod-round.c (tests): Regenerated.
13246
13247         [BZ #3479]
13248         * stdlib/strtod_l.c (NDIG): Remove.
13249         (HEXNDIG): Likewise.
13250         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13251         smallest representable value.
13252         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13253         lie within an exact representation of 1/2 ulp of the result.
13254         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13255         unconditionally.
13256         (TENS_P9_IDX): Define unconditionally.
13257         (TENS_P9_SIZE): Likewise.
13258         (TENS_P10_IDX): Likewise.
13259         (TENS_P10_SIZE): Likewise.
13260         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13261         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13262         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13263         entries for 10^2^13 and 10^2^14.
13264         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13265         (TENS_P13_IDX): Define.
13266         (TENS_P13_SIZE): Likewise.
13267         (TENS_P14_IDX): Likewise.
13268         (TENS_P14_SIZE): Likewise.
13269         (_fpioconst_pow10): Change array size to
13270         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
13271         unconditional.
13272         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13273         1024]: Add entries for 10^2^13 and 10^2^14.
13274         [LAST_POW10 > _LAST_POW10]: Remove #error.
13275         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13276         (_fpioconst_pow10): Change array size to
13277         FPIOCONST_POW10_ARRAY_SIZE.
13278         * stdlib/gen-fpioconst.c: New file.
13279         * stdlib/gen-tst-strtod-round.c: Likewise.
13280         * stdlib/tst-strtod-round-data: Likewise.
13281         * stdlib/tst-strtod-round.c: Likewise.
13282         * stdlib/Makefile (tests): Add tst-strtod-round.
13283
13284         [BZ #14459]
13285         * stdlib/strtod_l.c: Include <stdint.h>.
13286         (NDEBUG): Do not define.
13287         (round_and_return): Change EXPONENT parameter to type intmax_t.
13288         Rearrange calculations to avoid internal overflow possibilities.
13289         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13290         Rearrange calculations to avoid internal overflow possibilities.
13291         Assert that number fits inside MPNSIZE limbs.
13292         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13293         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
13294         calculations and add assertions to avoid internal overflow
13295         possibilities.  Add casts to avoid signed/unsigned operations.
13296         * stdlib/tst-strtod-overflow.c: New file.
13297         * stdlib/Makefile (tests): Add tst-strtod-overflow.
13298
13299 2012-08-25  Marek Polacek  <polacek@redhat.com>
13300
13301         * time/time.h: Fix some typos in comments.
13302
13303 2012-08-23  Roland McGrath  <roland@hack.frob.com>
13304
13305         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13306         * posix/tst-rfc3484-2.c: Likewise.
13307         * posix/tst-rfc3484-3.c: Likewise.
13308
13309 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
13310
13311         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13312         (EF_ARM_ABI_FLOAT_HARD): Likewise.
13313
13314 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
13315
13316         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13317         #include of fxstatat64.c.
13318
13319 2012-08-22  Roland McGrath  <roland@hack.frob.com>
13320
13321         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13322         * shadow/getspent_r.c: Likewise.
13323         * shadow/getspnam.c: Likewise.
13324         * shadow/getspnam_r.c: Likewise.
13325         * gshadow/getsgent.c: Likewise.
13326         * gshadow/getsgent_r.c: Likewise.
13327         * gshadow/getsgnam.c: Likewise.
13328         * gshadow/getsgnam_r.c: Likewise.
13329         * inet/getnetbyad.c: Likewise.
13330         * inet/getnetbyad_r.c: Likewise.
13331         * inet/getnetbynm.c: Likewise.
13332         * inet/getnetbynm_r.c: Likewise.
13333         * inet/getnetent.c: Likewise.
13334         * inet/getnetent_r.c: Likewise.
13335         * inet/getproto.c: Likewise.
13336         * inet/getproto_r.c: Likewise.
13337         * inet/getprtent.c: Likewise.
13338         * inet/getprtent_r.c: Likewise.
13339         * inet/getprtname.c: Likewise.
13340         * inet/getprtname_r.c: Likewise.
13341         * inet/getrpcbyname.c: Likewise.
13342         * inet/getrpcbyname_r.c: Likewise.
13343         * inet/getrpcbynumber.c: Likewise.
13344         * inet/getrpcbynumber_r.c: Likewise.
13345         * inet/getrpcent.c: Likewise.
13346         * inet/getrpcent_r.c: Likewise.
13347         * inet/getaliasent.c: Likewise.
13348         * inet/getaliasent_r.c: Likewise.
13349         * inet/getaliasname.c: Likewise.
13350         * inet/getaliasname_r.c: Likewise.
13351         * nscd/getgrgid_r.c: Likewise.
13352         * nscd/getgrnam_r.c: Likewise.
13353         * nscd/gethstbyad_r.c: Likewise.
13354         * nscd/gethstbynm3_r.c: Likewise.
13355         * nscd/getpwnam_r.c: Likewise.
13356         * nscd/getpwuid_r.c: Likewise.
13357         * nscd/getsrvbynm_r.c: Likewise.
13358         * nscd/getsrvbypt_r.c: Likewise.
13359         * nscd/gai.c: Likewise.
13360
13361         * configure.in (build_nscd): New substituted variable, set
13362         by --disable-build-nscd and defaults to $use_nscd.
13363         * configure: Regenerated.
13364         * config.make.in (build-nscd): New substituted variable.
13365         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13366         Change conditional to require [$(build-nscd) = yes] as well.
13367         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13368
13369         [BZ# 13696]
13370         * configure.in (use_nscd): New substituted variable, set by
13371         --disable-nscd.  If enabled, define USE_NSCD.
13372         * configure: Regenerated.
13373         * config.h.in: Add USE_NSCD.
13374         * config.make.in (use-nscd): New substituted variable.
13375         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13376         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13377         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13378         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13379         (CFLAGS-getgrnam_r.c): Likewise.
13380         (CFLAGS-initgroups.c): Likewise.
13381         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13382         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13383         Variables removed.
13384         * inet/getnetgrent_r.c
13385         (nscd_setnetgrent): New function, broken out of ...
13386         (setnetgrent): ... here.  Call it.
13387         (innetgr): Conditionalize nscd bits on [USE_NSCD].
13388         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13389         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13390         * nscd/Makefile (routines, aux): Move definitions after include of
13391         Makeconfig.  Conditionalize on [$(use-nscd) != no].
13392         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13393         Conditionalize on [USE_NSCD].
13394         (is_nscd, nscd_init_cb): Likewise.
13395         (nss_load_library): Conditionalize init callback on [USE_NSCD].
13396         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13397         * nss/nss_db/db-init.c: Likewise.
13398         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13399         [USE_NSCD].
13400         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13401         (make_request): Use it.
13402         (cache_valid_p): New function.
13403         (__check_pf): Use it.
13404         * NEWS: Add item for --disable-nscd.
13405
13406 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
13407
13408         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13409         to support sed >= 4.2.1-20-ga9bf076.
13410         * configure: Regenerated.
13411
13412 2012-08-22  Roland McGrath  <roland@hack.frob.com>
13413
13414         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13415         Conditionalize whole body on [IREL].
13416
13417 2012-08-22  Jeff Law <law@redhat.com>
13418
13419         [BZ #14505]
13420         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13421         if the family is PF_UNSPEC.
13422
13423 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
13424
13425         * Makerules (lib-version): Rename from V.
13426         (install-lib-nosubdir): Change V to lib-version.
13427
13428 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
13429
13430         [BZ #14252]
13431         * powerpc32/power6/wcschr.c: New file.
13432         * powerpc32/power6/wcscpy.c: New file.
13433         * powerpc32/power6/wcsrchr.c: New file.
13434         * powerpc64/power6/wcschr.c: New file.
13435         * powerpc64/power6/wcscpy.c: New file.
13436         * powerpc64/power6/wcsrchr.c: New file.
13437
13438 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
13439
13440         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13441         (two_way_short_needle): Use it.
13442         * string/strstr.c (AVAILABLE1_USES_J): Define.
13443         * string/strcasestr.c: Likewise.
13444
13445         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13446         array references.
13447         * string/strcasestr.c (TOLOWER): Make side-effect safe.
13448
13449         [BZ #11607]
13450         * NEWS: Add an entry.
13451         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13452         define their defaults.
13453         (two_way_short_needle): Detect end-of-string on-the-fly.
13454         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13455         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13456         * string/bug-strcasestr1.c: New test.
13457         * string/Makefile: Run it.
13458
13459 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
13460
13461         [BZ #11607]
13462         * string/str-two-way.h (two_way_short_needle): Optimize matching of
13463         the first character.
13464
13465 2012-08-21  Roland McGrath  <roland@hack.frob.com>
13466
13467         * csu/elf-init.c (__libc_csu_irel): Function removed.
13468         * csu/libc-start.c (apply_irel): New function.
13469         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13470
13471 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
13472
13473         * sysdeps/unix/sysv/linux/kernel-features.h
13474         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13475         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13476         <kernel-features.h>.
13477         [__NR_fadvise64_64]: Make code unconditional.
13478         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13479         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13480         !__NR_fadvise64_64)]: Likewise.
13481         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13482         !__NR_fadvise64_64))]: Likewise.
13483         [__NR_fadvise64]: Make code unconditional.
13484         [!__NR_fadvise64]: Remove conditional code.
13485         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13486         <kernel-features.h>.
13487         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13488         unconditional.
13489         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13490         conditional code.
13491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13492         not include <kernel-features.h>.
13493         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13494         unconditional.
13495         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13496         conditional code.
13497         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13498         include <kernel-features.h>.
13499         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13500         unconditional.
13501         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13502         conditional code.
13503
13504 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
13505
13506         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13507         slight instruction rearrangements per scrollpipe analysis.
13508         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13509
13510 2012-08-20  Roland McGrath  <roland@hack.frob.com>
13511
13512         * manual/syslog.texi (syslog; vsyslog, closelog):
13513         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13514         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13515
13516         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13517         DSOCAPS to match condition on defining it.
13518
13519 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
13520
13521         * sysdeps/unix/sysv/linux/kernel-features.h
13522         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13524         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13525         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13527         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13528         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13530         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13531         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13532
13533         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13534         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13535
13536         * sysdeps/unix/sysv/linux/kernel-features.h
13537         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13538         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13539         unconditional.
13540         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13541         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13542         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13543         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13544         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13545         Make code unconditional.
13546         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13547         (__mmap64) [!__NR_mmap2]: Likewise.
13548         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13549         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13550         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13551         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13552         [__NR_mmap2]: Make code unconditional.
13553         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13554         (__mmap64) [!__NR_mmap2]: Likewise.
13555
13556 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13557
13558         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13559
13560 2012-08-18  Andreas Jaeger  <aj@suse.de>
13561
13562         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13563
13564 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
13565
13566         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13567         * include/unistd.h (__have_sock_cloexec): Likewise.
13568         (__have_pipe2): Likewise.
13569         (__have_dup3): Likewise.
13570
13571 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
13572
13573         [BZ #9685]
13574         * include/unistd.h (__have_pipe2): Change define into an extern int.
13575         (__have_dup3): Likewise.
13576         * socket/have_sock_cloexec.c: Include fcntl.h.
13577         (__have_pipe2): New variable.
13578         (__have_dup3): Likewise.
13579
13580 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
13581
13582         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13583
13584 2012-08-17  Marek Polacek  <polacek@redhat.com>
13585
13586         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13587         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13588
13589 2012-08-17  Roland McGrath  <roland@hack.frob.com>
13590
13591         * configure.in: Add AC_SUBST for sysheaders.
13592         * configure: Regenerated.
13593         * config.make.in (sysheaders): New substituted variable.
13594
13595         * sysdeps/unix/mkfifo.c: Moved ...
13596         * sysdeps/posix/mkfifo.c: ... here.
13597         * sysdeps/unix/mkfifoat.c: Moved ...
13598         * sysdeps/posix/mkfifoat.c: ... here.
13599
13600         * sysdeps/unix/utime.c: Moved ...
13601         * sysdeps/posix/utime.c: ... here.
13602
13603         * sysdeps/unix/time.c: Moved ...
13604         * sysdeps/posix/time.c: ... here.
13605         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13606         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
13607
13608         * sysdeps/unix/nice.c: Moved ...
13609         * sysdeps/posix/nice.c: ... here.
13610
13611         * sysdeps/unix/alarm.c: Moved ...
13612         * sysdeps/posix/alarm.c: ... here.
13613
13614         * intl/Makefile ($(codeset_mo)): Depend on the input file.
13615
13616 2012-08-17  Jeff Law <law@redhat.com>
13617
13618         * intl/Makefile (codeset_mo): New variable.
13619         ($(codeset_mo)): New target.
13620         (tst-codeset.out): Depend on that.  Remove explicit rule.
13621         (tst-gettext3.out, tst-gettext5.out): Likewise.
13622         (LOCPATH-ENV, tst-codeset-ENV): New variables.
13623         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13624         * intl/tst-codeset.sh: Remove.
13625         * intl/tst-gettext3.sh: Likewise.
13626         * intl/tst-gettext5.sh: Likewise.
13627
13628 2012-08-17  Roland McGrath  <roland@hack.frob.com>
13629
13630         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
13631         * sysdeps/unix/syscalls.list: ... here.
13632
13633         * sysdeps/posix/getaddrinfo.c
13634         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13635         (gaiconf_init, gaiconf_reload): Use them.
13636         [!_STATBUF_ST_NSEC]
13637         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13638         Define using time_t rather than struct timespec.
13639
13640         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13641         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13642         Macros removed.
13643         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13644         [!NO_THREADS].
13645         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13646         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13647         Likewise.
13648
13649         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13650         __libc_cleanup_push argument.
13651
13652         * bits/param.h: New file.
13653         * misc/sys/param.h: New file.
13654         * include/sys/param.h: New file.
13655         * misc/Makefile (headers): Add bits/param.h.
13656         * sysdeps/generic/sys/param.h: File removed.
13657         * sysdeps/unix/sysv/linux/bits/param.h: New file.
13658         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13659         * sysdeps/mach/hurd/bits/param.h: New file.
13660         * sysdeps/mach/hurd/sys/param.h: File removed.
13661
13662         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13663         last change.
13664
13665         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13666         [_IO_MTSAFE_IO].
13667         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13668         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13669         New macros.
13670
13671         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13672         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13673         rather than -D_IO_MTSAFE_IO conditionally.
13674         * stdio-common/Makefile (CPPFLAGS): Likewise.
13675         * wcsmbs/Makefile (CPPFLAGS): Likewise.
13676         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13677         Use $(libio-mtsafe).
13678         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13679         of -D_IO_MTSAFE_IO.
13680         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13681         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13682         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13683         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13684         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13685         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13686         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13687         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13688         (CFLAGS-fread_u_chk.c): Likewise.
13689         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13690         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13691         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13692         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13693         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13694         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13695         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13696         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13697         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13698
13699         * libio/Makefile: Test [$(libc-reentrant) = yes]
13700         instead of [$(filter %REENTRANT, $(defines)) nonempty].
13701
13702         * Makeconfig
13703         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13704         * sysdeps/pthread/configure: File removed.
13705         * sysdeps/pthread/Makeconfig: New file.
13706         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13707         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13708
13709 2012-08-16  Gary Benson  <gbenson@redhat.com>
13710
13711         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13712         unmapping the first object in a namespace.
13713
13714 2012-08-16  Roland McGrath  <roland@hack.frob.com>
13715
13716         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13717         (__internal_setnetgrent): ... this.  Add internal_function to
13718         definition.  Add libc_hidden_def.
13719         (setnetgrent): Update caller.
13720         (internal_endnetgrent): Renamed to ...
13721         (__internal_endnetgrent): ... this.  Add internal_function to
13722         definition.  Add libc_hidden_def.
13723         (endnetgrent): Update caller.
13724         (internal_getnetgrent_r): Renamed to ...
13725         (__internal_getnetgrent_r): ... this.  Add internal_function to
13726         definition.  Add libc_hidden_def.
13727         (__getnetgrent_r): Update caller.
13728         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
13729
13730 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
13731
13732         * stdlib/longlong.h: Update from GCC.
13733
13734 2012-08-16  Roland McGrath  <roland@hack.frob.com>
13735
13736         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13737         on _QL, which is set by umul_ppmm but never used.
13738         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13739         variables, which are set by GMP macros but never used.
13740         * stdio-common/_itowa.c (_itowa): Likewise.
13741         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13742         * stdlib/mod_1.c (mpn_mod_1): Likewise.
13743
13744 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
13745
13746         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13747         struct La_sh_regs is not constant.
13748         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13749         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13750         and struct La_sparc64_regs are not constant.
13751
13752 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
13753
13754         * sysdeps/unix/sysv/linux/kernel-features.h
13755         (__ASSUME_POSIX_TIMERS): Remove.
13756         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13757         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13758         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13759         Make code unconditional.
13760         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13761         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13762         Make code unconditional.
13763         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13764         * sysdeps/unix/sysv/linux/clock_nanosleep.c
13765         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13766         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13767         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13768         Make code unconditional.
13769         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13770         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13771         (__libc_missing_posix_timers): Remove.
13772
13773 2012-08-15  Roland McGrath  <roland@hack.frob.com>
13774
13775         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13776         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13777
13778         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13779
13780         * elf/dl-sym.c: Include <stdlib.h>.
13781
13782         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13783         constants, which avoids warnings in 32-bit builds.
13784
13785         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13786         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13787
13788         * misc/lseek.c: File moved to ...
13789         * io/lseek.c: ... here.
13790
13791         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13792
13793         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13794         shifting LEN more than 31 bits at once.
13795
13796 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13797
13798         [BZ #14195]
13799         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13800         segmentation fault for a case of two empty input strings.
13801         * string/test-strncasecmp.c (check1): Renamed to...
13802         (bz12205): ...this.
13803         (bz14195): Add new testcase for two empty input strings and N > 0.
13804         (test_main): Call new testcase, adapt for renamed function.
13805
13806 2012-08-15  Andreas Jaeger  <aj@suse.de>
13807
13808         [BZ #14090]
13809         * crypt/md5test2.c: New test, based on test supplied by Serge
13810         Belyshev <belyshev@depni.sinp.msu.ru>.
13811         * crypt/Makefile (xtests): Add md5test-giant..
13812         * crypt/Makefile ($(objpfx)md5test-giant): Add.
13813
13814 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
13815
13816         [BZ #14090]
13817         * crypt/md5.c (md5_process_block): Don't assume the buffer
13818         length is less than 2**32.
13819         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13820         length is less than 2**64.
13821
13822 2012-08-15  Roland McGrath  <roland@hack.frob.com>
13823
13824         * string/str-two-way.h: Include <sys/param.h>.
13825         (MAX): Macro removed.
13826
13827         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13828         Move #define and #undef of memmove to just before and after
13829         including <string.h>.
13830
13831         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13832         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13833         and after including <string.h>.  Move declarations of
13834         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13835         to before #include "string/memmove.c".
13836
13837         * include/dirent.h: Declare __getdirentries.
13838
13839         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13840         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13841
13842 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
13843
13844         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13845         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13846         * sysdeps/i386/configure: Regenerated.
13847         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13848         STABS_CURRENT_FILE, and STABS_FUN.
13849         (END): Remove call to STABS_FUN_END.
13850         (STABS_CURRENT_FILE1): Delete.
13851         (STABS_CURRENT_FILE): Likewise.
13852         (STABS_FUN): Likewise.
13853         (STABS_FUN_END): Likewise.
13854         (STABS_FUN2): Likewise.
13855         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13856         * sysdeps/x86_64/configure: Regenerated.
13857
13858 2012-08-14  Roland McGrath  <roland@hack.frob.com>
13859
13860         * elf/dl-open.c: Include <atomic.h>.
13861         * elf/dl-lookup.c: Likewise.
13862
13863 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
13864
13865         * sysdeps/unix/sysv/linux/kernel-features.h
13866         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13867         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13868         unconditionally.
13869         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13870         unconditionally.
13871         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13872         condition on __ASSUME_CLONE_THREAD_FLAGS.
13873
13874 2012-08-14  Andreas Jaeger  <aj@suse.de>
13875
13876         * sysdeps/i386/fpu/libm-test-ulps: Update.
13877
13878 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
13879
13880         * include/atomic.h (atomic_exchange_and_add): Split into ...
13881         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13882         New atomic macros.
13883
13884 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
13885
13886         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13887
13888 2012-08-13  Jeff Law <law@redhat.com>
13889
13890         * manual/stdio.texi (snprintf): Clarify handling of the trailing
13891         null byte in the output string.
13892
13893 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
13894
13895         * sysdeps/unix/sysv/linux/kernel-features.h
13896         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13897         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13898         (__ASSUME_ARG_MAX_STACK_BASED): Define.
13899         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13900         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13901         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
13902         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13903
13904 2012-08-09  Jeff Law <law@redhat.com>
13905
13906         [BZ #13939]
13907         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13908         When avoid_arena is set, don't retry in the that arena.  Pick the
13909         next one, whatever it might be.
13910         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13911         (arena_lock): Pass in new parameter to arena_get2.
13912         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13913         arena_get2.
13914         (__libc_malloc): Unify retrying after main arena failure with
13915         __libc_memalign version.
13916         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13917
13918 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13919
13920         [BZ #14166]
13921         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13922         to __redirect_strstr.
13923         (__strstr_sse42): Use typeof __redirect_strstr.
13924         (__strstr_ia32): Likewise.
13925         (__libc_strstr): New prototype.
13926         (strstr): Renamed to ...
13927         (__libc_strstr): This.
13928         (strstr): New strong alias of __libc_strstr.
13929         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13930         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13931         __redirect_time.
13932         Include <time.h>.
13933         (__libc_time): New prototype.
13934         (time_ifunc): Replace time with __libc_time.
13935         (time): New strong alias and hidden definition of __libc_time.
13936         (__GI_time): Remove strong alias.
13937         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13938         Include <stddef.h>.
13939         (memmove): Redefined to __redirect_memmove.
13940         (__memmove_sse2): Use typeof __redirect_memmove.
13941         (__memmove_ssse3): Likewise.
13942         (__memmove_ssse3_back): Likewise.
13943         (__libc_memmove): New prototype.
13944         (memmove): Renamed to ...
13945         (__libc_memmove): This.
13946         (memmove): New strong alias of __libc_memmove.
13947
13948 2012-08-08  Mark Salter  <msalter@redhat.com>
13949
13950         * elf/elf.h
13951         (R_MN10300_TLS_GD): Define.
13952         (R_MN10300_TLS_LD): Likewise.
13953         (R_MN10300_TLS_LDO): Likewise.
13954         (R_MN10300_TLS_GOTIE): Likewise.
13955         (R_MN10300_TLS_IE): Likewise.
13956         (R_MN10300_TLS_LE): Likewise.
13957         (R_MN10300_TLS_DTPMOD): Likewise.
13958         (R_MN10300_TLS_DTPOFF): Likewise.
13959         (R_MN10300_TLS_TPOFF): Likewise.
13960         (R_MN10300_SYM_DIFF): Likewise.
13961         (R_MN10300_ALIGN): Likewise.
13962         (R_MN10300_NUM): Update.
13963
13964 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
13965
13966         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13967         Remove.
13968
13969 2012-08-08  Roland McGrath  <roland@hack.frob.com>
13970
13971         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13972
13973         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13974         sysdeps/unix -> sysdeps/posix move.
13975         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13976
13977 2012-08-07      Allan McRae     <allan@archlinux.org>
13978
13979         [BZ #14303]
13980         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13981         (SUNOS_CPP): Likewise.
13982         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13983         not found.
13984         (open_input): Call CPP using execvp.
13985
13986 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
13987
13988         * sysdeps/unix/sysv/linux/kernel-features.h
13989         (__ASSUME_PROT_GROWSUPDOWN): Remove.
13990         (__ASSUME_NO_CLONE_DETACHED): Likewise.
13991         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13992         (__ASSUME_WAITID_SYSCALL): Likewise.
13993         * sysdeps/unix/sysv/linux/dl-execstack.c
13994         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13995         code unconditional.
13996         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13997         conditional code.
13998         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13999         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14000         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14001         code.
14002         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14003         unconditional.
14004         [__ASSUME_WAITID_SYSCALL]: Likewise.
14005         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14006
14007 2012-08-07  Roland McGrath  <roland@hack.frob.com>
14008
14009         * sysdeps/unix/closedir.c: Renamed to ...
14010         * sysdeps/posix/closedir.c: ... here.
14011         * sysdeps/unix/dirfd.c: Renamed to ...
14012         * sysdeps/posix/dirfd.c: ... here.
14013         * sysdeps/unix/dirstream.h: Renamed to ...
14014         * sysdeps/posix/dirstream.h: ... here.
14015         * sysdeps/unix/fdopendir.c: Renamed to ...
14016         * sysdeps/posix/fdopendir.c: ... here.
14017         * sysdeps/unix/opendir.c: Renamed to ...
14018         * sysdeps/posix/opendir.c: ... here.
14019         * sysdeps/unix/readdir.c: Renamed to ...
14020         * sysdeps/posix/readdir.c: ... here.
14021         * sysdeps/unix/readdir_r.c: Renamed to ...
14022         * sysdeps/posix/readdir_r.c: ... here.
14023         * sysdeps/unix/rewinddir.c: Renamed to ...
14024         * sysdeps/posix/rewinddir.c: ... here.
14025         * sysdeps/unix/seekdir.c: Renamed to ...
14026         * sysdeps/posix/seekdir.c: ... here.
14027         * sysdeps/unix/telldir.c: Renamed to ...
14028         * sysdeps/posix/telldir.c: ... here.
14029         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14030         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14031         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14032         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14033
14034         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14035         * bits/fcntl.h: ... here.
14036
14037         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14038         not 0.
14039         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14040         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14041         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14042         (struct flock): Move l_start, l_len to the beginning.
14043         Use __pid_t for l_pid.
14044         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14045         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14046         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14047         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14048         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14049         [__USE_LARGEFILE64] (struct flock64): New type.
14050         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14051
14052         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14053         * bits/dirent.h: ... here.
14054
14055         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14056         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14057
14058 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
14059
14060         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14061         Change from 2.6.0 to 2.6.16.
14062         * sysdeps/unix/sysv/linux/configure: Regenerated.
14063         * sysdeps/unix/sysv/linux/kernel-features.h
14064         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14065         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14066         version.
14067         (__ASSUME_UTIMES): Likewise.
14068         (__ASSUME_CLONE_STOPPED): Remove.
14069         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14070         architectures, not kernel version.
14071         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14072         (__ASSUME_NO_CLONE_DETACHED): Likewise.
14073         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14074         (__ASSUME_WAITID_SYSCALL): Likewise.
14075         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14076         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14077         * README: State 2.6.16 as minimum Linux kernel version.  Do not
14078         refer to older versions.
14079
14080 2012-08-06  Roland McGrath  <roland@hack.frob.com>
14081
14082         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14083         Define alphasort64 as an alias.
14084         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14085         Define versionsort64 as an alias.
14086         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14087         Define scandir64 as an alias.
14088         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14089         Define scandirat64 as an alias.
14090         * dirent/alphasort64.c (alphasort64):
14091         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14092         * dirent/versionsort64.c: Likewise.
14093         * dirent/scandir64.c: Likewise.
14094         * dirent/scandirat64.c: Likewise.
14095         * sysdeps/wordsize-64/alphasort.c: File removed.
14096         * sysdeps/wordsize-64/alphasort64.c: File removed.
14097         * sysdeps/wordsize-64/scandir.c: File removed.
14098         * sysdeps/wordsize-64/scandir64.c: File removed.
14099         * sysdeps/wordsize-64/scandirat.c: File removed.
14100         * sysdeps/wordsize-64/scandirat64.c: File removed.
14101         * sysdeps/wordsize-64/versionsort.c: File removed.
14102         * sysdeps/wordsize-64/versionsort64.c: File removed.
14103         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14104         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14105         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14106         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14107         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14108         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14109         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14110         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14111
14112         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14113         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14114         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14115         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14116         [defined __arch64__ || defined __sparcv9]
14117         (__INO_T_MATCHES_INO64_T): New macro.
14118         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14119         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14120         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14121         * sysdeps/unix/sysv/linux/bits/dirent.h
14122         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14123         (_DIRENT_MATCHES_DIRENT64): New macro.
14124
14125         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14126         Define lockf64 as an alias.
14127         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14128         Define fseeko64 as an alias.
14129         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14130         Define ftello64 as an alias.
14131         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14132         Define _IO_fgetpos64 and fgetpos64 as aliases.
14133         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14134         Define _IO_fsetpos64 and fsetpos64 as aliases.
14135         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14136         Conditionalize body on this.
14137         * libio/fseeko64.c: Likewise.
14138         * libio/ftello64.c: Likewise.
14139         * libio/iofgetpos64.c: Likewise.
14140         * libio/iofsetpos64.c: Likewise.
14141         * sysdeps/wordsize-64/lockf.c: File removed.
14142         * sysdeps/wordsize-64/lockf64.c: File removed.
14143         * sysdeps/wordsize-64/fseeko.c: File removed.
14144         * sysdeps/wordsize-64/fseeko64.c: File removed.
14145         * sysdeps/wordsize-64/ftello.c: File removed.
14146         * sysdeps/wordsize-64/ftello64.c: File removed.
14147         * sysdeps/wordsize-64/iofgetpos.c: File removed.
14148         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14149         * sysdeps/wordsize-64/iofsetpos.c: File removed.
14150         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14151         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14152         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14153         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14154         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14155         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14156         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14157         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14158         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14159         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14160         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14161
14162         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14163         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14164         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14165         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14166         [defined __arch64__ || defined __sparcv9]
14167         (__OFF_T_MATCHES_OFF64_T): New macro.
14168         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14169         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14170         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14171         (__OFF_T_MATCHES_OFF64_T): New macro.
14172
14173 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
14174
14175         * stdlib/secure-getenv.c (__secure_getenv): Replace
14176         GLIBC_2_16 with GLIBC_2_17.
14177
14178 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
14179
14180         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14181         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14182
14183 2012-08-03  David S. Miller  <davem@davemloft.net>
14184
14185         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14186
14187 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
14188
14189         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14190         Remove.
14191         (__ASSUME_CORRECT_SI_PID): Likewise.
14192         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14193         (__ASSUME_TMPFS_NAME): Likewise.
14194         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14195         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14196         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14197         (HAVE_AUX_SECURE): Make definition unconditional.
14198         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14199         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14200
14201 2012-08-03  Roland McGrath  <roland@hack.frob.com>
14202
14203         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14204         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14205         * sysdeps/mach/hurd/eloop-threshold.h: New file.
14206         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14207         __eloop_threshold instead of SYMLOOP_MAX.
14208
14209         * sysdeps/generic/eloop-threshold.h: New file.
14210         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14211         of MAXSYMLINKS.
14212         * elf/chroot_canon.c (chroot_canon): Likewise.
14213
14214 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
14215
14216         [BZ #13717]
14217         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14218         Change to 2.6.0 everywhere.
14219         * sysdeps/unix/sysv/linux/configure: Regenerated.
14220         * sysdeps/unix/sysv/linux/kernel-features.h
14221         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14222         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14223         kernel versions.
14224         (__ASSUME_POSIX_TIMERS): Define unconditionally.
14225         (__ASSUME_FUTEX_REQUEUE): Remove.
14226         (__ASSUME_STATFS64): Define unconditionally.
14227         (__ASSUME_AT_SECURE): Likewise.
14228         (__ASSUME_CORRECT_SI_PID): Likewise.
14229         (__ASSUME_TGKILL): Define without depending on kernel version for
14230         i386.
14231         (__ASSUME_UTIMES): Likewise.
14232         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14233         kernel version.
14234         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14235         (__ASSUME_TMPFS_NAME): Likewise.
14236         * README: Update reference to Linux kernel versions.
14237
14238 2012-08-02  Marek Polacek  <polacek@redhat.com>
14239
14240         [BZ# 14150]
14241         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
14242         libc_cv_asm_type_prefix with %.
14243         * configure: Regenerated.
14244         * include/libc-symbols.h: Remove comment about
14245         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14246         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14247         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14248         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14249         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14250         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14251         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14252         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14253         * elf/tst-unique2mod1.c: Likewise.
14254         * elf/tst-unique1mod2.c: Likewise.
14255         * elf/tst-unique1mod1.c: Likewise.
14256         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14257         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14258         Replace ASM_TYPE_DIRECTIVE with .type.
14259         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14260         * sysdeps/i386/sysdep.h: Likewise.
14261         * sysdeps/x86_64/sysdep.h: Likewise.
14262         * sysdeps/sh/sysdep.h: Likewise.
14263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14264         Do not define ASM_TYPE_DIRECTIVE.
14265         * sysdeps/powerpc/sysdep.h: Likewise.
14266         * sysdeps/powerpc/powerpc32/sysdep.h:
14267         Replace ASM_TYPE_DIRECTIVE with .type.
14268         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14269         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14270         * sysdeps/i386/fpu/e_powf.S: Likewise.
14271         * sysdeps/i386/fpu/e_expl.S: Likewise.
14272         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14273         * sysdeps/i386/fpu/e_acosh.S: Likewise.
14274         * sysdeps/i386/fpu/e_pow.S: Likewise.
14275         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14276         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14277         * sysdeps/i386/fpu/s_expm1.S: Likewise.
14278         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14279         * sysdeps/i386/fpu/e_log2.S: Likewise.
14280         * sysdeps/i386/fpu/e_log2l.S: Likewise.
14281         * sysdeps/i386/fpu/e_scalb.S: Likewise.
14282         * sysdeps/i386/fpu/e_powl.S: Likewise.
14283         * sysdeps/i386/fpu/e_log10f.S: Likewise.
14284         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14285         * sysdeps/i386/fpu/e_logl.S: Likewise.
14286         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14287         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14288         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14289         * sysdeps/i386/fpu/e_log2f.S: Likewise.
14290         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14291         * sysdeps/i386/fpu/e_log.S: Likewise.
14292         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14293         * sysdeps/i386/fpu/e_logf.S: Likewise.
14294         * sysdeps/i386/fpu/e_log10l.S: Likewise.
14295         * sysdeps/i386/fpu/e_atanh.S: Likewise.
14296         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14297         * sysdeps/i386/fpu/e_log10.S: Likewise.
14298         * sysdeps/i386/fpu/s_frexp.S: Likewise.
14299         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14300         * sysdeps/i386/fpu/s_asinh.S: Likewise.
14301         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14302         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14303         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14304         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14305         * sysdeps/i386/i686/strtok.S: Likewise.
14306         * sysdeps/i386/i386-mcount.S: Likewise.
14307         * sysdeps/i386/strtok.S: Likewise.
14308         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14309         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14310         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14311         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14312         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14313         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14314         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14315         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14316         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14317         * sysdeps/x86_64/_mcount.S: Likewise.
14318         * sysdeps/x86_64/strtok.S: Likewise.
14319         * sysdeps/sh/_mcount.S: Likewise.
14320
14321 2012-08-01  Roland McGrath  <roland@hack.frob.com>
14322
14323         * libio/iofopen.c: Include <fcntl.h>.
14324         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14325         (_IO_fopen64, fopen64): Define as aliases.
14326         * libio/iofopen64.c: Include <fcntl.h>.
14327         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14328         Conditionalize body on this.
14329         * sysdeps/wordsize-64/iofopen.c: File removed.
14330         * sysdeps/wordsize-64/iofopen64.c: File removed.
14331
14332 2012-08-01  Marek Polacek  <polacek@redhat.com>
14333
14334         * libc/Makeconfig: Use elf in place of binfmt-subdir.
14335         Use dlfcn directly instead of a variable.
14336         (binfmt-subdir): Do not define.
14337         (dlfcn): Likewise.
14338
14339 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
14340
14341         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14342         Remove all definitions.
14343         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14344         <kernel-features.h>.
14345         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14346         (miss_F_GETOWN_EX): Remove all definitions.
14347         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14348         macro definition.
14349         [!__ASSUME_FCNTL64]: Remove conditional code.
14350         [__ASSUME_FCNTL64]: Make code unconditional.
14351         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14352         <kernel-features.h>.
14353         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14354         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14355         (lockf64) [__NR_fcntl64]: Make code unconditional.
14356         (lockf64) [__ASSUME_FCNTL64]: Likewise.
14357
14358         * sysdeps/unix/sysv/linux/kernel-features.h
14359         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14360         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14361         Make code unconditional.
14362         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14363         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14365         [__NR_vfork]: Make code unconditional.
14366         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14367         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14369         [__NR_vfork]: Make code unconditional.
14370         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14371         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14372
14373 2012-08-01  Roland McGrath  <roland@hack.frob.com>
14374
14375         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14376         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14377
14378         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14379         Define mkstemp64 as an alias.
14380         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14381         Define mkstemps64 as an alias.
14382         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14383         Define mkostemp64 as an alias.
14384         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14385         Define mkostemps64 as an alias.
14386         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14387         Conditionalize body on this.
14388         * misc/mkostemp64.c: Likewise.
14389         * misc/mkostemps64.c: Likewise.
14390         * misc/mkstemps64.c: Likewise.
14391         * sysdeps/wordsize-64/mkstemp64.c: File removed.
14392         * sysdeps/wordsize-64/mkostemp64.c: File removed.
14393         * sysdeps/wordsize-64/mkostemp.c: File removed.
14394         * sysdeps/wordsize-64/mkstemp.c: File removed.
14395         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14396         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14397         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14398         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14399
14400         [BZ #14138]
14401         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14402         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14403         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14404         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14405
14406         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14407         compat_symbol macros from <shlib-compat.h> rather than the underlying
14408         default_symbol_version and symbol_version macros, so that DEFAULT
14409         lines in shlib-versions are respected.
14410         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14411
14412 2012-08-01  Florian Weimer  <fweimer@redhat.com>
14413
14414         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14415         Declare with warn_unused_result.
14416         (setgid, setregid, setegid, setresgid): Likewise.
14417         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14418         Likewise.
14419         * WUR-REPORT: Remove set*id functions.
14420
14421 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
14422
14423         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14424
14425 2012-07-31  Roland McGrath  <roland@hack.frob.com>
14426
14427         [BZ #10191]
14428         * include/sys/socket.h (__libc_accept, __libc_accept4):
14429         Add attribute_hidden.
14430         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14431
14432         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14433         use of PTR_MANGLE.
14434         * inet/getnetgrent_r.c (setup): Likewise.
14435
14436         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14437
14438 2012-07-31  David S. Miller  <davem@davemloft.net>
14439
14440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14441
14442 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
14443
14444         [BZ #13629]
14445         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14446         value between 1.0 and 2.0 and smaller part has absolute value less
14447         than 1.0.
14448         * math/s_clog10.c (__clog10): Likewise.
14449         * math/s_clog10f.c (__clog10f): Likewise.
14450         * math/s_clog10l.c (__clog10l): Likewise.
14451         * math/s_clogf.c (__clogf): Likewise.
14452         * math/s_clogl.c (__clogl): Likewise.
14453         * math/libm-test.inc (clog_test): Add more tests.
14454         (clog10_test): Likewise.
14455         * sysdeps/i386/fpu/libm-test-ulps: Update.
14456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14457
14458 2012-07-31  Florian Weimer  <fweimer@redhat.com>
14459
14460         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14461         Exit with zero in case no suitable GID is found, and write a
14462         message to standard error.
14463
14464 2012-07-30  Roland McGrath  <roland@hack.frob.com>
14465
14466         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14467         rather than to 1.
14468         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14469         (MAXPATHLEN): Removed.
14470         (NOGROUP, NODEV): New macros.
14471         (setbit, clrbit, isset, isclr): New macros.
14472         (howmany, roundup, powerof2): New macros.
14473         (DEV_BSIZE): New macro.
14474
14475         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14476         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14477
14478         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14479         definition on [!__NO_LONG_DOUBLE_MATH].
14480
14481         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14482         PTR_MANGLE and PTR_DEMANGLE.
14483
14484         * socket/accept4.c (accept4): Rename to __libc_accept4.
14485         Define accept4 as a weak alias.
14486
14487         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14488         on [_DIRENT_HAVE_D_TYPE].
14489         * io/ftw.c (ftw_dir): Likewise.
14490
14491         * io/xmknod.c (__xmknod): Don't check PATH for being null.
14492
14493         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14494
14495         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14496         Use the BSD numbers rather than the arbitrary ones we had.
14497         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14498         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14499         (SIGXCPU, SIGXFSZ): New macros.
14500         (_NSIG): Now 32.
14501
14502         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14503         initializer on [_LIBC_REENTRANT].
14504
14505         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14506         definitions inside [_POSIX_MAPPED_FILES].
14507
14508         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14509
14510         * dirent/opendir.c: Include <fcntl.h>.
14511
14512         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14513         (__libc_getspecific): Likewise.
14514         (__libc_key_create): Likewise.
14515
14516         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14517         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14518         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14519         (tmpfile64): Define as alias.
14520         * sysdeps/wordsize-64/tmpfile.c: File removed.
14521         * sysdeps/wordsize-64/tmpfile64.c: File removed.
14522         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14523         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14524
14525         * stdio-common/vfscanf.c: Include <stdbool.h>.
14526         * nss/makedb.c: Likewise.
14527         * stdio-common/_i18n_number.h: Likewise.
14528         * argp/argp-help.c: Likewise.
14529         * posix/wordexp.c: Likewise.
14530         * sysdeps/posix/spawni.c: Likewise.
14531         * nss/nss_files/files-initgroups.c: Likewise.
14532         * stdio-common/reg-modifier.c: Include <stdlib.h>.
14533         * nss/nss_files/files-initgroups.c: Likewise.
14534         * nss/nss_db/db-netgrp.c: Likewise.
14535         * nss/nss_db/db-initgroups.c: Likewise.
14536         * io/fchmodat.c: Include <sys/stat.h>.
14537
14538         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14539         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14540
14541         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14542         [HAVE_MMAP].
14543
14544         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14545         Add multiple inclusion protection.
14546
14547 2012-07-27  David S. Miller  <davem@davemloft.net>
14548
14549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14550
14551 2012-07-27  Gary Benson  <gbenson@redhat.com>
14552
14553         [BZ #14298]
14554         * elf/rtld.c: Include <stap-probe.h>.
14555         (dl_main): Added static probes "init_start" and "init_complete".
14556         * elf/dl-load.c: Include <stap-probe.h>.
14557         (lose): Take new parameter "nsid".
14558         Added static probe "map_failed".
14559         (_dl_map_object_from_fd): Pass namespace id to lose.
14560         Added static probe "map_start".
14561         (open_verify): Pass namespace id to lose.
14562         * elf/dl-open.c: Include <stap-probe.h>.
14563         (dl_open_worker) Added static probes "map_complete", "reloc_start"
14564         and "reloc_complete".
14565         * elf/dl-close.c: Include <stap-probe.h>.
14566         (_dl_close_worker): Added static probes "unmap_start" and
14567         "unmap_complete".
14568         * elf/rtld-debugger-interface.txt: New file documenting the above.
14569
14570 2012-07-26  Roland McGrath  <roland@hack.frob.com>
14571
14572         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14573         rather than a string variable.
14574         * sunrpc/rpc_main.c (h_output): Likewise.
14575         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14576
14577 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
14578
14579         * inet/check_native.c: New file.
14580
14581 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
14582
14583         [BZ #13629]
14584         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14585         if larger part has absolute value 1.0.
14586         * math/s_clog10.c (__clog10): Likewise.
14587         * math/s_clog10f.c (__clog10f): Likewise.
14588         * math/s_clog10l.c (__clog10l): Likewise.
14589         * math/s_clogf.c (__clogf): Likewise.
14590         * math/s_clogl.c (__clogl): Likewise.
14591         * math/libm-test.inc (clog_test): Add more tests.
14592         (clog10_test): Likewise.
14593         * sysdeps/i386/fpu/libm-test-ulps: Update.
14594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14595
14596         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14597         (pltexit): Likewise.
14598         (La_regs): Likewise.
14599         (La_retval): Likewise.
14600         (int_retval): Likewise.
14601         Update #error for removed macros to refer only to definitions in
14602         tst-audit.h.
14603         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14604         macro.
14605         (pltexit): Likewise.
14606         (La_regs): Likewise.
14607         (La_retval): Likewise.
14608         (int_retval): Likewise.
14609         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14610         macro.
14611         (pltexit): Likewise.
14612         (La_regs): Likewise.
14613         (La_retval): Likewise.
14614         (int_retval): Likewise.
14615         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14616         macro.
14617         (pltexit): Likewise.
14618         (La_regs): Likewise.
14619         (La_retval): Likewise.
14620         (int_retval): Likewise.
14621         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14622         macro.
14623         (pltexit): Likewise.
14624         (La_regs): Likewise.
14625         (La_retval): Likewise.
14626         (int_retval): Likewise.
14627         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14628         macro.
14629         (pltexit): Likewise.
14630         (La_regs): Likewise.
14631         (La_retval): Likewise.
14632         (int_retval): Likewise.
14633         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14634         macro.
14635         (pltexit): Likewise.
14636         (La_regs): Likewise.
14637         (La_retval): Likewise.
14638         (int_retval): Likewise.
14639         * sysdeps/generic/tst-audit.h: Update comment to refer only to
14640         macro definitions in tst-audit.h.
14641         * sysdeps/i386/tst-audit.h: New file.
14642         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14643         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14644         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14645         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14646         * sysdeps/sh/tst-audit.h: Likewise.
14647         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14648         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14649         * sysdeps/x86_64/tst-audit.h: Likewise.
14650
14651 2012-07-26  Andreas Jaeger  <aj@suse.de>
14652
14653         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14654         ptrace.
14655
14656         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14657         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14658         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14659         PTRACE_O_MASK.
14660         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14661         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14662         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14663
14664         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14665         value.
14666
14667         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14668         _sigsys.
14669         (si_call_addr, si_syscall, si_arch): Define new macro.
14670         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14671         _sigsys.
14672         (si_call_addr, si_syscall, si_arch): Define new marcro.
14673         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14674         _sigsys.
14675         (si_call_addr, si_syscall, si_arch): Define new macro.
14676         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14677         _sigsys.
14678         (si_call_addr, si_syscall, si_arch): Define new macro.
14679
14680 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
14681
14682         [BZ #13717]
14683         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14684         Change to 2.4.21 where previously 2.4.1.
14685         * sysdeps/unix/sysv/linux/configure: Regenerated.
14686         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14687         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14688         Linux kernel version.
14689         (__ASSUME_STD_AUXV): Remove.
14690         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14691         kernel version.
14692         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14693         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14694         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14695         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14696         (__ASSUME_NETLINK_SUPPORT): Likewise.
14697         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14698         (__no_netlink_support): Remove conditional definition.
14699         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14700         Remove.
14701         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14702         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14703         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14704         (if_nameindex_ioctl): Remove.
14705         (if_nameindex_netlink): Do not handle __no_netlink_support.
14706         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14707         code.
14708         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14709         Remove conditional code.
14710         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14711         code.
14712         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14713         unconditional.
14714         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14715         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14716         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14717         Remove.
14718         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14719         [!__ASSUME_STD_AUXV]: Remove conditional code.
14720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14721         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14722         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14724         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14725         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14726         code.
14727         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14729         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14730         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14731         conditional code.
14732         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14734         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14735         code.
14736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14737         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14738         conditional code.
14739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14740         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14741         code unconditional.
14742         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14743         conditional code.
14744         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14745         unconditional.
14746         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14747         conditional code.
14748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14749         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14750         unconditional.
14751         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14752         conditional code.
14753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14754         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14755         code unconditional.
14756         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14757         conditional code.
14758         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14759         unconditional.
14760         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14761         conditional code.
14762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14763         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14764         code unconditional.
14765         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14766         conditional code.
14767         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14768         unconditional.
14769         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14770         conditional code.
14771
14772 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
14773
14774         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14775         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14776         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14777         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14778         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14779         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14780         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14781         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14782         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14783         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14784         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14785         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14786         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14787         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14788         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14789         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14790         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14791         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14792         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14793         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14794         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14795         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14796         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14797
14798 2012-07-25  Florian Weimer  <fweimer@redhat.com>
14799
14800         * Versions.def: Add GLIBC_2.17.
14801         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14802         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14803         Introduce __libc_secure_getenv.
14804         * stdlib/Versions (2.17): Add secure_getenv
14805         (GLIBC_PRIVATE): Add __libc_secure_getenv.
14806         * stdlib/secure-getenv.c: Rename __secure_getenv to
14807         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
14808         symbol __secure_getenv for GLIBC_2.0.
14809         * stdlib/tst-secure-getenv.c: New.
14810         * stdlib/Makefile (tests): Add testcase.
14811         * manual/startup.texi (Environment Access): Document
14812         secure_getenv.
14813         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14814         __libc_secure_getenv.
14815         * inet/ruserpass.c (ruserpass): Likewise.
14816         * malloc/mtrace.c (mtrace): Likewise.
14817         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
14818         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14819         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14820         * sysdeps/posix/tempname.c: Likewise.  Evaluate
14821         HAVE_SECURE_GETENV.
14822         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
14823         __secure_getenv to __libc_secure_getenv.
14824         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
14825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14826         Likewise.
14827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14828         Likewise.
14829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14830         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14831         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14832         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14833         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14836
14837 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
14838
14839         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14840         (struct La_i86_retval): Likewise.
14841         (struct La_x86_64_regs): Likewise.
14842         (struct La_x86_64_retval): Likewise.
14843         (struct La_x32_regs): Likewise.
14844         (struct La_x32_retval): Likewise.
14845         (struct La_ppc32_regs): Likewise.
14846         (struct La_ppc32_retval): Likewise.
14847         (struct La_ppc64_regs): Likewise.
14848         (struct La_ppc64_retval): Likewise.
14849         (struct La_sh_regs): Likewise.
14850         (struct La_sh_retval): Likewise.
14851         (struct La_s390_32_regs): Likewise.
14852         (struct La_s390_32_retval): Likewise.
14853         (struct La_s390_64_regs): Likewise.
14854         (struct La_s390_64_retval): Likewise.
14855         (struct La_sparc32_regs): Likewise.
14856         (struct La_sparc32_retval): Likewise.
14857         (struct La_sparc64_regs): Likewise.
14858         (struct La_sparc64_retval): Likewise.
14859         (struct audit_ifaces): Remove architecture-specific pltenter and
14860         pltexit members.
14861         * sysdeps/i386/ldsodefs.h: New file.
14862         * sysdeps/powerpc/ldsodefs.h: Likewise.
14863         * sysdeps/s390/ldsodefs.h: Likewise.
14864         * sysdeps/sh/ldsodefs.h: Likewise.
14865         * sysdeps/sparc/ldsodefs.h: Likewise.
14866         * sysdeps/x86_64/ldsodefs.h: Likewise.
14867
14868 2012-07-25  Marek Polacek  <polacek@redhat.com>
14869
14870         [BZ #6808]
14871         * math/libm-test.inc (yn_test): Add another test.
14872         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14873         to ERANGE when the result is +-Inf.
14874         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14875         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14876         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14877         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14878
14879 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
14880
14881         * conform/data/time.h-data (NULL): Use macro-constant.  Require
14882         equal to 0.
14883         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
14884         clock_t.
14885         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
14886
14887 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
14888
14889         * configure.in <sysdeps resolving>: Correct printing
14890         Implies_before.
14891         * configure: Regenerate.
14892
14893 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
14894
14895         * math/w_ilogb.c: Include <limits.h>.
14896         * math/w_ilogbl.c: Likewise.
14897
14898 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14899
14900         * manual/lang.texi (__va_copy): Document primarily as ISO C99
14901         va_copy.  Document allowing for unavailable va_copy only as
14902         pre-C99 compatibility.
14903         * manual/string.texi (Copying and Concatenation): Use va_copy
14904         instead of __va_copy in concat example.
14905
14906 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
14907
14908         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14909         (__sendto): Use create_address_port.  Initialize APORT and deallocate
14910         it if not null.
14911
14912         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14913         with O_NOLINK passed to __file_name_lookup.
14914
14915         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14916         with O_NOLINK passed to __file_name_lookup.
14917
14918         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14919         negative N or less than NGIDS.
14920
14921         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14922         type to string_t.  Set ERANGE as errno and return it if NAME is not big
14923         enough.  Use memcpy instead of strncpy.
14924
14925 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14926
14927         * elf/Makefile (check-data): Remove.
14928         (localplt.data): New vpath directive.
14929         ($(objpfx)check-localplt.out): Use localplt.data from vpath
14930         instead of $(check-data).
14931         * scripts/data/localplt-generic.data: Move to ...
14932         * sysdeps/generic/localplt.data: ... here.
14933         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14934         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14935         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14937         ... here.
14938         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14940         ... here.
14941         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14943         ... here.
14944         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14946         ... here.
14947         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14949         ... here.
14950         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14952         ... here.
14953
14954 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14955
14956         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14957         PPC32 and PPC64 files.
14958         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14959         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14960
14961 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14962
14963         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14964         __makecontext_ret to ...
14965         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14966         ... here and call exit if uc_link is NULL.  New file.
14967         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14968         __makecontext_ret.S.
14969         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14970         __makecontext_ret to ...
14971         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14972         ... here and call exit if uc_link is NULL.  New file.
14973         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14974         __makecontext_ret.S.
14975
14976 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14977
14978         * elf/elf.h (R_390_IRELATIVE): New definition.
14979         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14980         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
14981         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14982         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14983         (elf_machine_lazy_rel): Likewise.
14984         * sysdeps/s390/dl-irel.h: New file.
14985         * sysdeps/s390/s390-64/memcpy.S: New asm code.
14986         * sysdeps/s390/s390-64/memset.S: New asm code.
14987         * sysdeps/s390/s390-64/memcmp.S: New asm code.
14988         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14989         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14990         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14991         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14992         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14993         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14994         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14995         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14996         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14997         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14998         * sysdeps/s390/s390-32/memcpy.S: New asm code.
14999         * sysdeps/s390/s390-32/memset.S: New asm code.
15000         * sysdeps/s390/s390-32/memcmp.S: New asm code.
15001
15002 2012-07-17  Marek Polacek  <polacek@redhat.com>
15003
15004         [BZ #14349]
15005         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15006         * sysdeps/s390/s390-64/configure.in: Likewise.
15007         * sysdeps/sparc/configure.in: Likewise.
15008         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15009         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15010         * sysdeps/i386/configure.in: Likewise.
15011         * sysdeps/x86_64/configure.in: Likewise.
15012         * sysdeps/sh/configure.in: Likewise.
15013         * sysdeps/s390/s390-32/configure: Regenerated.
15014         * sysdeps/s390/s390-64/configure: Likewise.
15015         * sysdeps/x86_64/configure: Likewise.
15016         * sysdeps/sh/configure: Likewise.
15017         * sysdeps/powerpc/powerpc64/configure: Likewise.
15018         * sysdeps/powerpc/powerpc32/configure: Likewise.
15019         * sysdeps/sparc/configure: Likwise.
15020         * sysdeps/i386/configure: Likewise.
15021
15022         * elf/dl-open.c: Comment fixes.
15023
15024 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
15025
15026         * Makefile [CXX] (check-data): Remove.
15027         [CXX] (c++-types.data): New vpath directive.
15028         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15029         vpath.  Do not allow for C++ type data being missing.
15030         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15031         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15032         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15033         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15034         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15035         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15036         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15038         ... here.
15039         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15041         ... here.
15042         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15044         ... here.
15045         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15046         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15047         ... here.
15048         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15050         ... here.
15051         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15053         ... here.
15054         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15056         ... here.
15057         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15059
15060         * elf/tls-macros.h (TLS_LE): Move architecture-specific
15061         definitions to architecture-specific files.
15062         (TLS_IE): Likewise.
15063         (TLS_LD): Likewise.
15064         (TLS_GD): Likewise.
15065         * sysdeps/i386/tls-macros.h: New file.
15066         * sysdeps/powerpc/tls-macros.h: Likewise.
15067         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15068         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15069         * sysdeps/sh/tls-macros.h: Likewise.
15070         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15071         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15072         * sysdeps/x86_64/tls-macros.h: Likewise.
15073
15074 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
15075
15076         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15077         zero value for regular exit case.
15078
15079         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15080         (__start_context): Preserve zero value for regular exit case.
15081
15082 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
15083             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15084
15085         * manual/setjmp.texi (setcontext): Clarify normal process
15086         termination when uc_link is the null pointer.
15087         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15088         exit call.
15089
15090 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
15091
15092         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15093         preprocessor.  Test for each exception mask separately.
15094
15095 2012-07-16  Andreas Jaeger  <aj@suse.de>
15096
15097         * po/ru.po: Update from translation team.
15098
15099 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
15100
15101         * conform/data/string.h-data (NULL): Use macro-constant.  Require
15102         equal to 0.
15103         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15104         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15105         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15106         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15107         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15108
15109 2012-07-13  Andreas Jaeger  <aj@suse.de>
15110
15111         * po/fr.po: Update from translation team.
15112
15113 2012-07-12  Marek Polacek  <polacek@redhat.com>
15114
15115         [BZ #14173]
15116         * math/libm-test.inc (yn_test): Add test for BZ #14173.
15117         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15118         loop condition.
15119
15120 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
15121
15122         [BZ #13717]
15123         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15124         Change to 2.4.1 where previously 2.4.0.
15125         * sysdeps/unix/sysv/linux/configure: Regenerated.
15126         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15127         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15128         version.
15129         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15130         (__ASSUME_AT_CLKTCK): Remove.
15131         (__ASSUME_AT_PAGESIZE): Likewise.
15132         (__ASSUME_AT_XID): Likewise.
15133         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15134         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15135         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15136         unconditionally.
15137         (HAVE_AUX_PAGESIZE): Likewise.
15138         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15139         [__ASSUME_AT_CLKTCK]: Make code unconditional.
15140         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15141
15142 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
15143
15144         [BZ #14307]
15145         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15146         the temporary buffer used to invoke __gethostbyname2_r,
15147         __gethostbyaddr_r and gethostbyname4_r to make room for struct
15148         host_data / struct gaih_addrtuple.
15149         * resolv/nss_dns/dns-host.c (global scope): Move definition of
15150         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15151         header file nss/nsswitch.h.
15152         * nss/nsswitch.h (global scope): Add definition of implementation
15153         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15154         resolv/nss_dns/dns-host.c).
15155
15156 2012-07-11  Andreas Jaeger  <aj@suse.de>
15157
15158         * po/fr.po: Update from translation team.
15159
15160         * po/sv.po: Update from translation team
15161         * po/fr.po: Another update from translation team.
15162
15163 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15164
15165         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15166         for subnormals or multiply small sinh result by itself.
15167         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15169
15170 2012-07-11  David S. Miller  <davem@davemloft.net>
15171
15172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15173
15174 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
15175
15176         [BZ #14347]
15177         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15178         (INTERNAL_MARK): Shift it here.
15179
15180 2012-07-10  Marek Polacek  <polacek@redhat.com>
15181
15182         [BZ #14151]
15183         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
15184         libc_cv_asm_global_directive with .globl.
15185         * configure: Regenerated.
15186         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15187         with .globl.
15188         * sysdeps/i386/configure: Regenerated.
15189         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15190         with .globl.
15191         * sysdeps/x86_64/configure: Regenerated.
15192         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15193         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15194         * elf/tst-unique2mod2.c: Likewise.
15195         * elf/tst-unique2mod1.c: Likewise.
15196         * elf/tst-unique1mod2.c: Likewise.
15197         * elf/tst-unique1mod1.c: Likewise.
15198         * sysdeps/s390/s390-32/sysdep.h: Likewise.
15199         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15200         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15201         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15202         * sysdeps/mach/sysdep.h: Likewise.
15203         * sysdeps/i386/sysdep.h: Likewise.
15204         * sysdeps/i386/i386-mcount.S: Likewise.
15205         * sysdeps/x86_64/_mcount.S: Likewise.
15206         * sysdeps/x86_64/sysdep.h: Likewise.
15207         * sysdeps/sh/_mcount.S: Likewise.
15208         * sysdeps/sh/sysdep.h: Likewise.
15209         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15210         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15211         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15212         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15213         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15214         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15215         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15216         * locale/localeinfo.h: Likewise.
15217         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15218         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15219
15220 2012-07-09  Roland McGrath  <roland@hack.frob.com>
15221
15222         [BZ #14336]
15223         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15224         system".
15225         * manual/message.texi (The Uniforum approach): Likewise.
15226         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15227         (glibc iconv Implementation): Likewise.
15228
15229 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
15230
15231         [BZ #14337]
15232         * math/s_clog.c (__clog): Avoid scaling a value down where that
15233         could result in underflow.
15234         * math/s_clog10.c (__clog10): Likewise.
15235         * math/s_clog10f.c (__clog10f): Likewise.
15236         * math/s_clog10l.c (__clog10l): Likewise.
15237         * math/s_clogf.c (__clogf): Likewise.
15238         * math/s_clogl.c (__clogl): Likewise.
15239         * math/libm-test.inc (clog_test): Add more tests.
15240         (clog10_test): Likewise.
15241         * sysdeps/i386/fpu/libm-test-ulps: Update.
15242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15243
15244 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
15245
15246         [BZ #14283]
15247         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15248         by 7 not 8 to examine high bit of fractional part.
15249
15250         [BZ #14042]
15251         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15252         for call to __mcount_internal.
15253         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15254         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15255         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15256
15257 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
15258
15259         [BZ #14154]
15260         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15261         approximation for values within 0x1p-13f of an odd multiple of
15262         pi/4.
15263         * math/libm-test.inc (tan_test): Do not allow spurious underflow
15264         exception.  Add more tests.
15265         * sysdeps/i386/fpu/libm-test-ulps: Update.
15266
15267         [BZ #6778]
15268         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15269         inputs and return -1 for them.  Do not check for +Inf in case not
15270         reachable for +Inf.
15271         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15272         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15273         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15274         and return -1 for them.  Do not check for +Inf in case not
15275         reachable for +Inf.
15276         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15277         define.
15278         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15279         and return -1 for them.  Do not check for +Inf in case not
15280         reachable for +Inf.
15281         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
15282         spurious underflow.
15283         * sysdeps/i386/fpu/libm-test-ulps: Update.
15284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15285
15286 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
15287
15288         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15289
15290 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
15291
15292         [BZ #14157]
15293         [BZ #14331]
15294         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15295         could result in spurious underflow.  Scale down values above
15296         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15297         * math/s_csqrtf.c (__csqrtf): Likewise.
15298         * math/s_csqrtl.c (__csqrtl): Likewise.
15299         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
15300         spurious underflow.
15301         * sysdeps/i386/fpu/libm-test-ulps: Update.
15302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15303
15304 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
15305
15306         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15307         xopen-msg.sed.
15308         * catgets/xopen-msg.awk: New file.
15309         * catgets/xopen-msg.sed: Removed.
15310
15311         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15312         po2text.sed.
15313         * intl/po2test.awk: New file.
15314         * intl/po2test.sed: Removed.
15315
15316 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
15317
15318         [BZ #14328]
15319         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15320         or multiply small sinh result by itself.
15321         * math/s_ctanf.c (__ctanf): Likewise.
15322         * math/s_ctanh.c (__ctanh): Likewise.
15323         * math/s_ctanhf.c (__ctanhf): Likewise.
15324         * math/s_ctanhl.c (__ctanhl): Likewise.
15325         * math/s_ctanl.c (__ctanl): Likewise.
15326         * math/libm-test.inc (ctan_test_tonearest): New function.
15327         (ctan_test_towardzero): Likewise.
15328         (ctan_test_downward): Likewise.
15329         (ctan_test_upward): Likewise.
15330         (ctanh_test_tonearest): Likewise.
15331         (ctanh_test_towardzero): Likewise.
15332         (ctanh_test_downward): Likewise.
15333         (ctanh_test_upward): Likewise.
15334         (main): Call these new functions.
15335         * sysdeps/i386/fpu/libm-test-ulps: Update.
15336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15337
15338 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
15339
15340         * .gitignore: Delete /ports entry.
15341
15342 2012-07-03  Andreas Jaeger  <aj@suse.de>
15343
15344         * po/bg.po: Update from translation team.
15345         * po/cs.po: Likewise.
15346         * po/de.po: Likewise.
15347         * po/hr.po: Likewise.
15348         * po/nl.pl: Likewise.
15349         * po/pl.po: Likewise.
15350         * po/vi.po: Likewise.
15351
15352 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
15353
15354         * Makeconfig [!+link] (+link-before-libc): New variable.
15355         [!+link] (+link-after-libc): Likewise.
15356         [!+link] (+link-tests): Likewise.
15357         [!+link] (+link): Define in terms of $(+link-before-libc) and
15358         $(+link-after-libc).
15359         [!+link-static] (+link-static-before-libc): New variable.
15360         [!+link-static] (+link-static-after-libc): Likewise.
15361         [!+link-static] (+link-static-tests): Likewise.
15362         [!+link-static] (+link-static): Define in terms of
15363         $(+link-static-before-libc) and $(+link-static-after-libc).
15364         [build-shared] (link-libc-before-gnulib): New variable.
15365         [build-shared] (link-libc-tests): Likewise.
15366         [build-shared] (link-libc): Define in terms of
15367         $(link-libc-before-gnulib).
15368         [!build-shared] (link-libc-tests): New variable.
15369         (link-libc-static-tests): New variable.
15370         [!gnulib] (gnulib-arch): New variable.
15371         [!gnulib] (gnulib-tests): Likewise.
15372         [!gnulib] (static-gnulib-arch): Likewise.
15373         [!gnulib] (static-gnulib-tests): Likewise.
15374         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
15375         Define with "=" instead of ":=".
15376         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
15377         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
15378         * Rules (binaries-all-notests): New variable.
15379         (binaries-all-tests): Likewise.
15380         (binaries-static-notests): Likewise.
15381         (binaries-static-tests): Likewise.
15382         (binaries-all): Define using $(binaries-all-notests) and
15383         $(binaries-all-tests).
15384         (binaries-static): Define using $(binaries-static-notests) and
15385         $(binaries-static-tests).
15386         (binaries-shared-tests): New variable.
15387         (binaries-shared-notests): Likewise.
15388         (binaries-shared): Remove variable.
15389         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15390         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15391         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15392         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15393         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15394         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15395         * elf/Makefile (sln-modules): New variable.
15396         (extra-objs): Add $(sln-modules:=.o).
15397         (ldconfig-modules): Add static-stubs.
15398         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15399         * elf/static-stubs.c: New file.
15400
15401         [BZ #14283]
15402         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15403         by 7 not 8 to examine high bit of fractional part.  Use volatile
15404         variables when splitting into final array of floats if
15405         __FLT_EVAL_METHOD__ != 0.
15406         * math/libm-test.inc (cos_test): Add another test.
15407         (sin_test): Likewise.
15408         * sysdeps/i386/fpu/libm-test-ulps: Update.
15409
15410         [BZ #14273]
15411         * math/libm-test.inc (cosh_test): Add more tests.
15412
15413         * version.h (RELEASE): Set to "development".
15414         (VERSION): Set to "2.16.90".
15415
15416 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
15417
15418         * NEWS: Update copyright. Remove last-updated date.
15419         Mention math library bug fixes and timezone data changes.
15420         * README: Mention GNU/Hurd, x32, and HPPA support status.
15421
15422 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
15423
15424         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15425
15426 2012-06-27  Andreas Jaeger  <aj@suse.de>
15427
15428         * manual/contrib.texi (Contributors): Add Samuel Thibault.
15429
15430 2012-06-25  Andreas Jaeger  <aj@suse.de>
15431
15432         * sysdeps/s390/fpu/libm-test-ulps: Update.
15433
15434 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
15435             Thomas Schwinge  <thomas@codesourcery.com>
15436
15437         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15438         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15439         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15440         fanotify_mark.
15441
15442 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
15443
15444         * sysdeps/mach/start.c: Remove file.
15445         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15446         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15447         * sysdeps/sh/init-first.c: Likewise.
15448
15449         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15450         registers for frame unwinding purposes, add CFI directives.
15451         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15452         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15453         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15454         Likewise.
15455
15456         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15457         __fortify_fail returning.
15458         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15459
15460         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15461         sysdeps/sh/____longjmp_chk.S.
15462         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15463         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15464         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15465         (gen-as-const-headers): Append sigaltstack-offsets.sym.
15466
15467         * sysdeps/sh/abort-instr.h: New file.
15468         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15469         process in case exit returns.
15470
15471         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15472         initialize the GOT register before use.
15473
15474         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15475         calculation of ARGC > 4.
15476
15477         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15478         meaningful names to some local labels.
15479
15480 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15481             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15482
15483         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15484         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15485         (__arch_compare_and_exchange_val_16_acq): Likewise.
15486         (__arch_compare_and_exchange_val_32_acq): Likewise.
15487         (atomic_exchange_and_add): Fix gUSA sequence.
15488         (atomic_add): Likewise.
15489         (atomic_add_negative): Likewise.
15490         (atomic_add_zero): Likewise.
15491         (atomic_bit_test_set): Likewise.
15492
15493 2012-06-22  Andreas Schwab  <schwab@redhat.com>
15494
15495         [BZ #13579]
15496         * include/link.h (struct link_map): Add l_free_initfini.
15497         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15498         l_initfini.
15499         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15500         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15501         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15502         set.
15503
15504 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
15505
15506         * configure.in: Use AC_LANG_SOURCE.
15507         * configure: Regenerate.
15508
15509 2012-06-22  Roland McGrath  <roland@hack.frob.com>
15510
15511         * configure.in (libc_cv_localstatedir): New substituted variable.
15512         * configure: Regenerated.
15513         * config.make.in (localstatedir): New variable, substituted from
15514         libc_cv_localstatedir.
15515         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15516         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15517         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15518         * sysdeps/gnu/configure: Regenerated.
15519
15520 2012-06-21  Jeff Law  <law@redhat.com>
15521
15522         [BZ #14277]
15523         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15524         free.  Simplify list management for _LIBC case.
15525
15526 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
15527
15528         [BZ #14273]
15529         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15530         Clear sign bit of 64-bit integer value before comparing against
15531         overflow value.
15532
15533         * sysdeps/mach/configure: Regenerated.
15534
15535 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
15536
15537         [BZ #14278]
15538         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15539
15540 2012-06-21  Jeff Law  <law@redhat.com>
15541
15542         [BZ #13882]
15543         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
15544         uint16_t for elements in the "seen" array to avoid char overflows.
15545         * elf/dl-fini.c (_dl_sort_fini): Likewise.
15546         * elf/dl-open.c (dl_open_worker): Likewise.
15547
15548 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
15549
15550         * scripts/list-sources.sh: Scan PORTS for translations.
15551         * po/libc.pot: Regenerated.
15552
15553 2012-06-21  Andreas Jaeger  <aj@suse.de>
15554
15555         [BZ #12194]
15556         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15557         warning.
15558         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15559         * bits/byteswap-16.h (__bswap_16): Likewise.
15560         * bits/byteswap.h (__bswap_constant_16): Likewise.
15561
15562 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
15563
15564         [BZ #14117]
15565         * sysdeps/i386/fpu_control.h: Removed.
15566         * sysdeps/x86_64/fpu_control.h: Moved to ...
15567         * sysdeps/x86/fpu_control.h: Here.
15568
15569         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15570         (_FPU_SETCW): Likewise.
15571
15572 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
15573
15574         [BZ #14117]
15575         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15576         * sysdeps/x86/fpu/bits/mathinline.h: This.
15577         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15578
15579         [BZ #14050]
15580         [BZ #14117]
15581         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15582         functions if __x86_64__ is defined.
15583
15584 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
15585
15586         * string/endian.h: Add !__ASSEMBLER__ condition for including
15587         conversion interfaces.
15588
15589 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
15590
15591         [BZ #14241]
15592         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15593         of ABS(x) in calculating zero to negative powers other than odd
15594         integers.
15595         * math/libm-test.inc (pow_test): Add more tests.
15596
15597 2012-06-15  Andreas Jaeger  <aj@suse.de>
15598
15599         * manual/contrib.texi (Contributors): Update entry of Liubov
15600         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15601         Machado Filho.
15602
15603 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
15604
15605         * string/string.h: Add __wur to GNU version of strerror_r.
15606
15607 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
15608
15609         [BZ #14229]
15610         * string/Makefile (tests): Add tst-strtok_r.
15611         * string/tst-strtok_r.c: New file.
15612         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15613         RAX_LP/RDX_LP on SAVE_PTR.
15614
15615 2012-06-14  Roland McGrath  <roland@hack.frob.com>
15616
15617         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15618
15619 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
15620
15621         * libm_test.inc (csqrt_test): Allow more spurious underflow
15622         exceptions.
15623         (j0_test): Likewise.
15624         (j1_test): Likewise.
15625         (y0_test): Likewise.
15626         (y1_test): Likewise.
15627
15628 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
15629
15630         * po/Makefile (libc.pot): Use UTF-8 charset.
15631
15632 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
15633
15634         [BZ #14210]
15635         Suppress sign-conversion warning from FD_SET.
15636         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15637         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15638         not unsigned long int.
15639         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15640
15641 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
15642
15643         [BZ #14050]
15644         [BZ #14117]
15645         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15646         __extern_always_inline instead of __extern_inline.
15647         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15648         (__signbit): Likewise.
15649         (__signbitl): Support C++ namespace.
15650         (lrintf): New inline function.
15651         (lrint): Likewise.
15652         (llrintf): Likewise.
15653         (llrint): Likewise.
15654         (fmaxf): Likewise.
15655         (fmax): Likewise.
15656         (fminf): Likewise.
15657         (fmin): Likewise.
15658         (rint): Likewise.
15659         (rintf): Likewise.
15660         (ceil): Likewise.
15661         (ceilf): Likewise.
15662         (floor): Likewise.
15663         (floorf): Likewise.
15664         (nearbyint): Likewise.
15665         (nearbyintf): Likewise.
15666
15667 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
15668
15669         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15670         non-default versions.
15671
15672 2012-06-11  Roland McGrath  <roland@hack.frob.com>
15673
15674         [BZ #14218]
15675         * manual/argp.texi (Argp): Reword argp_parse description slightly.
15676
15677 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
15678
15679         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15680         (FE_UPWARD, FE_DOWNWARD): Don't define.
15681         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15682         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15683
15684         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15685         reading it.
15686         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15687         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15688
15689 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15690
15691         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15692         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15693         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15694         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15695
15696 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
15697
15698         [BZ #14117]
15699         * sysdeps/i386/fpu/bits/fenv.h: Removed.
15700         * sysdeps/i386/fpu/Implies: New file.
15701         * sysdeps/x86_64/fpu/Implies: Likewise.
15702         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15703         * sysdeps/x86/fpu/bits/fenv.h: This.
15704
15705         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15706         __SSE_MATH__.
15707
15708 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15709
15710         [BZ #14134]
15711         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15712         character 0xffff that matches the last element of the
15713         conversion table.
15714
15715 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15716
15717         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15718         fmodl commit.
15719
15720 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15721
15722         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15723         values higher than 25.6283.
15724
15725 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15726
15727         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15728         subnormal exponent extraction and add some __builtin_expect.
15729         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15730         Fix for subnormal mantissa calculation.
15731
15732 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
15733
15734         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15735         cpu2 is -1 and errno is not ENOSYS.
15736
15737 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
15738
15739         [BZ #14117]
15740         * sysdeps/i386/i486/bits/string.h: Renamed to ...
15741         * sysdeps/x86/bits/string.h: This.
15742         * sysdeps/x86_64/bits/string.h: Removed.
15743
15744         * sysdeps/i386/i486/bits/string.h: Define inline functions only
15745         if not compiling for x86-64, but compiling for >= i486.
15746
15747         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15748         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15749
15750         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15751         New macro from Linux kernel 3.4.0.
15752         (FP_XSTATE_MAGIC2): Likewise.
15753         (FP_XSTATE_MAGIC2_SIZE): Likewise.
15754         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15755         (struct _fpx_sw_bytes): New struct.
15756         (struct _xsave_hdr): Likewise.
15757         (struct _ymmh_state): Likewise.
15758         (struct _xstate): Likewise.
15759
15760         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15761         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15762         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15763         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15764         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15765         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15766
15767         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15768         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15769         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15770         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15771         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15772         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15773
15774 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15775
15776         [BZ #13743]
15777         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15778         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15779         (sysdep_headers): Include sys/platform/ppc.h.
15780         * sysdeps/powerpc/test-gettimebase.c: Test for
15781         __ppc_get_timebase() to catch future ISA opcode/insn changes.
15782         * manual/Makefile (appendices): Include platform.texi.
15783         * manual/contrib.texi (Contributors): Update @node pointers.
15784         * manual/maint.texi (Maintenance): Likewise.
15785         (Platform): New node.
15786         * manual/platform.texi: New file.  Document the new features.
15787
15788 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15789             Jakub Jelinek  <jakub@redhat.com>
15790
15791         [BZ #14188]
15792         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15793         where __builtin_expect is unavailable.
15794
15795 2012-06-03  David S. Miller  <davem@davemloft.net>
15796
15797         * stdlib/longlong.h: Updated from GCC.
15798
15799 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
15800
15801         [BZ #14042]
15802         * sysdeps/powerpc/powerpc32/mcount.c: New file.
15803         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15804         __mcount_internal.
15805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15806         (GLIBC_2.16): Likewise.
15807
15808 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15809
15810         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15811
15812 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
15813
15814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15815         (default-abi): New variable.
15816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15817         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15818         variable.
15819         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15820         Likewise.
15821         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15822         Likewise.
15823         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15824         Likewise.
15825
15826         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15827         definition.  Document in comment.
15828
15829 2012-06-01  David S. Miller  <davem@davemloft.net>
15830
15831         * stdlib/longlong.h: Updated from GCC.
15832
15833 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15834
15835         [BZ #14117]
15836         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15837         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15838         sys/debugreg.h sys/io.h here.
15839         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15840         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15841         sys/io.h.
15842         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15843         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15844         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15845         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15846         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15847         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15848
15849         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15850         Define only if __x86_64__ is defined.
15851
15852 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
15853
15854         [BZ #14048]
15855         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15856         Use int64_t for variable i.
15857         * math/libm-test.inc (fmod_test): Add more tests.
15858
15859         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15860         z computation is not scheduled after fetestexcept.
15861         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15862         Use math_force_eval instead of asm to ensure calculation scheduled
15863         before exception test.
15864         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15865         Ensure a1 + u.d computation is not scheduled after fetestexcept.
15866
15867 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
15868
15869         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15870         computation is not scheduled after fetestexcept.
15871
15872 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15873
15874         [BZ #14117]
15875         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15876         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15877
15878 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15879
15880         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15881         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15882
15883 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15884
15885         [BZ #14117]
15886         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15887         <bits/wordsize.h>.
15888         (__WCHAR_MIN): Support __WORDSIZE == 64.
15889         (__WCHAR_MAX): Likewise.
15890
15891         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15892         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15893
15894         [BZ #14183]
15895         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15896         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15897
15898         [BZ #14117]
15899         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15900         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15901
15902         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15903         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15904
15905         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15906         Defined to 1 if __x86_64__ isn't defined.
15907         (_STAT_VER_LINUX_OLD): New.
15908         (st_atime): Remove duplicate.
15909         (st_mtime): Likewise.
15910         (st_ctime): Likewise.
15911
15912 2012-05-31  David S. Miller  <davem@davemloft.net>
15913
15914         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15915         entries.
15916
15917 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
15918
15919         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15920         gen-libm-test.pl.
15921
15922         [BZ #14132]
15923         * elf/dl-reloc.c: Include <_itoa.h>.
15924         (_dl_reloc_bad_type): Remove use of INTUSE.
15925         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15926         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15927         * stdio-common/psiginfo.c (psiginfo): Likewise.
15928         * stdio-common/psignal.c (psignal): Likewise.
15929         * string/strsignal.c (strsignal): Likewise.
15930         * include/signal.h (_sys_siglist): Declare hidden proto.
15931         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
15932         INTVARDEF with libc_hidden_data_def.
15933         * stdio-common/itoa-udigits.c: Likewise.
15934         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15935         (_itoa_lower_digits_internal): Remove declaration.
15936         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15937         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15938         (_sys_sigabbrev_internal): Remove aliases.
15939         (_sys_siglist): Define hidden alias.
15940
15941 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
15942
15943         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15944         bits/sysctl.h.
15945
15946 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15947
15948         [BZ #14117]
15949         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15950         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15951
15952         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15953         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15954         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15955         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15956         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15957         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15958
15959         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15960         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15961         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15962
15963         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15964         with __addr.
15965         (insw): Likewise.
15966         (insl): Likewise.
15967         (outsb): Likewise.
15968         (outsw): Likewise.
15969         (outsl): Likewise.
15970
15971         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15972         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15973         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15974
15975         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15976         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15977         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15978         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15979         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15980         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15981
15982         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15983         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15984
15985         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15986         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15987
15988         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15989         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15990         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15991
15992         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15993         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15994         to ...
15995         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15996
15997         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15998         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15999         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16000
16001         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16002         for x86-64.
16003         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16004
16005 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
16006
16007         * math/math.h (M_El): Use two more decimal places.
16008         (M_LOG2El): Likewise.
16009         (M_LOG10El): Likewise.
16010         (M_LN2l): Likewise.
16011         (M_LN10l): Likewise.
16012         (M_PIl): Likewise.
16013         (M_PI_2l): Likewise.
16014         (M_PI_4l): Likewise.
16015         (M_1_PIl): Likewise.
16016         (M_2_PIl): Likewise.
16017         (M_2_SQRTPIl): Likewise.
16018         (M_SQRT2l): Likewise.
16019         (M_SQRT1_2l): Likewise.
16020
16021 2012-05-31  David S. Miller  <davem@davemloft.net>
16022
16023         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16024         values between float registers.
16025         * sysdeps/sparc/sparc64/memset.S: Likewise.
16026         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16027
16028 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
16029
16030         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16031         -D_FORTIFY_SOURCE=1.
16032         (CPPFLAGS-tst-longjmp_chk.c): Define.
16033         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16034         (CPPFLAGS-tst-longjmp_chk2.c): Define.
16035         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16036         CFLAGS-tst-wchar-h.c.
16037
16038 2012-05-31  Marek Polacek  <polacek@redhat.com>
16039
16040         [BZ #14132]
16041         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16042         __endmntent_internal): Remove declaration.
16043         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16044         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16045         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16046
16047 2012-05-30  David S. Miller  <davem@davemloft.net>
16048
16049         * sysdeps/sparc/sparc32/soft-fp/q_util.c
16050         (___Q_simulate_exceptions): Use real FP ops rather than writing
16051         into the %fsr.
16052         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16053         Likewise.
16054
16055 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16056
16057         [BZ #14117]
16058         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16059         * sysdeps/x86/bits/xtitypes.h: This.
16060
16061         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16062         * sysdeps/x86/bits/wordsize.h: This.
16063
16064         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16065         * sysdeps/x86/bits/huge_vall.h: This.
16066
16067         * sysdeps/i386/bits/select.h: Removed.
16068         * sysdeps/x86_64/bits/select.h: Renamed to ...
16069         * sysdeps/x86/bits/select.h: This.
16070
16071         * sysdeps/i386/bits/setjmp.h: Removed.
16072         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16073         * sysdeps/x86/bits/setjmp.h: This.
16074
16075         * sysdeps/i386/bits/mathdef.h: Removed.
16076         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16077         * sysdeps/x86/bits/mathdef.h: This.
16078
16079 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
16080
16081         [BZ #14132]
16082         * include/sys/socket.h (__connect_internal)
16083         (__libc_sa_len_internal): Remove declaration.
16084         (__connect, __libc_sa_len): Declare hidden_proto.
16085         (SA_LEN): Remove use of INTUSE.
16086         * socket/connect.c: Add libc_hidden_def.
16087         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16088         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16089         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16090         alias.
16091         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16092         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16093         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16094         of adding _internal alias.
16095
16096 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16097
16098         [BZ #14117]
16099         * sysdeps/i386/bits/link.h: Removed.
16100         * sysdeps/i386/bits/linkmap.h: Likewise.
16101         * sysdeps/x86_64/bits/link.h: Renamed to ...
16102         * sysdeps/x86/bits/link.h: This.
16103         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16104         * sysdeps/x86/bits/linkmap.h: This.
16105
16106         * sysdeps/i386/bits/endian.h: Removed.
16107         * sysdeps/x86_64/bits/endian.h: Renamed to ...
16108         * sysdeps/x86/bits/endian.h: This.
16109
16110         * sysdeps/i386/bits/byteswap.h: Removed.
16111         * sysdeps/i386/bits/byteswap-16.h: Likewise.
16112         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16113         * sysdeps/x86/bits/byteswap.h: This.
16114         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16115         * sysdeps/x86/bits/byteswap-16.h: This.
16116         * sysdeps/i386/Implies: Add x86.
16117         * sysdeps/x86_64/Implies: Likewise.
16118
16119 2012-05-30  David S. Miller  <davem@davemloft.net>
16120
16121         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16122         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16123         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16124         (FP_TRAPPING_EXCEPTIONS): Define.
16125         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16126         (FP_TRAPPING_EXCEPTIONS): Define.
16127         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16128         subnormals only when inexact has been signalled or underflow
16129         exceptions are enabled.
16130         (_FP_PACK_CANONICAL): Likewise.
16131
16132 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16133
16134         [BZ #14183]
16135         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16136         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16137
16138 2012-05-30  Richard Henderson  <rth@twiddle.net>
16139
16140         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16141         with #ifndef NOT_IN_libc.
16142
16143         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
16144         marked to avoid plt entry.
16145
16146 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16147
16148         [BZ #14112]
16149         * Makeconfig (default-abi): New macro.
16150         (abi-includes): Likewise.
16151         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
16152         $(abi-$(default-abi)-lib-soname) for soname if defined.
16153         ($(common-objpfx)gnu/lib-names.stmp): Generate from
16154         abi-variants.
16155         * Makefile (installed-stubs): Likewise.
16156         * include/stubs-biarch.h: Removed.
16157         * scripts/lib-names.awk: Only handle one library at a time.
16158         * scripts/soversions.awk: Remove WORDSIZE support.
16159         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16160         entries.
16161         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16162         Removed.
16163         (syscall-list-default-condition): Likewise.
16164         (syscall-list-default-condition): Likewise.
16165         (syscall-list-includes): Likewise.
16166         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16167         syscall-list-* with abi-*.  Handle undefined abi-variants.
16168         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16169         * sysdeps/unix/sysv/linux/i386/Implies: New file.
16170         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16171         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16172         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16173         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16174         Removed.
16175         (syscall-list-32-options): Likewise.
16176         (syscall-list-32-condition): Likewise.
16177         (syscall-list-64-options): Likewise.
16178         (syscall-list-64-condition): Likewise.
16179         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16180         macro.
16181         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16182         Renamed to ...
16183         (abi-*): This.
16184         (abi-64-ld-soname): New macro.
16185         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16186         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16187         Renamed to ...
16188         (abi-*): This.
16189         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16190         * sysdeps/x86_64/x32/shlib-versions: Likewise.
16191
16192 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
16193
16194         * sysdeps/unix/sysv/linux/kernel-features.h
16195         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16196         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16197         include <kernel-features.h>.
16198         [!__NR_ftruncate64]: Remove conditional code.
16199         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16200         [__NR_ftruncate64]: Make code unconditional.
16201         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16202         * sysdeps/unix/sysv/linux/truncate64.c: Do not
16203         include <kernel-features.h>.
16204         [!__NR_ftruncate64]: Remove conditional code.
16205         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16206         [__NR_ftruncate64]: Make code unconditional.
16207         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16209         include <kernel-features.h>.
16210         [!__NR_ftruncate64]: Remove conditional code.
16211         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16212         [__NR_ftruncate64]: Make code unconditional.
16213         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16215         include <kernel-features.h>.
16216         [!__NR_ftruncate64]: Remove conditional code.
16217         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16218         [__NR_ftruncate64]: Make code unconditional.
16219         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16220
16221         * configure.in (libc_cv_fpie): Weaken to a compile test using
16222         LIBC_TRY_CC_OPTION.
16223         * configure: Regenerated.
16224
16225 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16226
16227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16231         Refreshed.
16232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16234         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16238         Refreshed.
16239
16240 2012-05-27  David S. Miller  <davem@davemloft.net>
16241
16242         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16243         (___Q_zero): New.
16244         (__Q_simulate_exceptions): Return void.  Change to simulate
16245         exceptions by writing into the %fsr.
16246         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16247         (__Qp_handle_exceptions): Likewise.
16248         (numbers): Delete.
16249         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16250         __Qp_handle_exceptions.
16251         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16252         __Qp_handle_exceptions.
16253         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16254         as unused and give dummy FP_RND_NEAREST initializer.
16255         (FP_INHIBIT_RESULTS): Define.
16256         (___Q_simulate_exceptions): Update declaration.
16257         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16258         formatting.
16259         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16260         as unused and give dummy FP_RND_NEAREST initializer.
16261         (__Qp_handle_exceptions): Update declaration.
16262         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16263         formatting.
16264
16265 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
16266
16267         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16268         the temporary FPU control word.
16269         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16270         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16271         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16272         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16273         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16274         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16275         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16276         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16277         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16278         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16279         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16280
16281 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16282
16283         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16284         fields.
16285
16286 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
16287
16288         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16289         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16290         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16291         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16292         Likewise.
16293         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16294         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16295         Likewise.
16296
16297 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
16298
16299         * po/h.po: Update from translation team.
16300
16301 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
16302
16303         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16304
16305         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16306         handling of denormals.
16307         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16308         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16309         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16310         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16311         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16312         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16313         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16314         Likewise.
16315
16316 2012-05-26  Marek Polacek  <polacek@redhat.com>
16317
16318         [BZ #14152]
16319         * math/libm-test.inc (fma_test): Don't always expect underflow
16320         exception.
16321
16322 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16323
16324         [BZ #12416]
16325         * elf/tst-execstack.c: Include stackinfo.h.
16326         (do_test): Adjust test case to ensure that pthread_getattr_np
16327         behaviour remains the same after marking stack executable.
16328
16329 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
16330
16331         * sysdeps/unix/sysv/linux/kernel-features.h
16332         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16333         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16334         kernel-features.h.
16335         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16336         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16337         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16338         kernel-features.h.
16339         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16340         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16341
16342 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
16343
16344         * configure.in: Define the default includes to being none.
16345         * configure: Regenerated.
16346
16347 2012-05-25  Roland McGrath  <roland@hack.frob.com>
16348
16349         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16350         * sysdeps/x86_64/setjmp.S: Likewise.
16351         * sysdeps/i386/bsd-setjmp.S: Likewise.
16352         * sysdeps/i386/bsd-_setjmp.S: Likewise.
16353         * sysdeps/i386/setjmp.S: Likewise.
16354         * sysdeps/i386/__longjmp.S: Likewise.
16355         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16356         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16357
16358         * include/stap-probe.h: New file.
16359         * configure.in: Handle --enable-systemtap.
16360         * configure: Regenerated.
16361         * config.h.in (USE_STAP_PROBE): New #undef.
16362         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16363         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16364         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16365
16366 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
16367
16368         [BZ #13717]
16369         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16370         to 2.4.0 where earlier.
16371         * sysdeps/unix/sysv/linux/configure: Regenerated.
16372         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16373         <kernel-features.h>.
16374         [__ASSUME_32BITUIDS]: Make code unconditional.
16375         [!__ASSUME_32BITUIDS]: Remove conditional code.
16376         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16377         <kernel-features.h>.
16378         [__ASSUME_32BITUIDS]: Make code unconditional.
16379         [!__ASSUME_32BITUIDS]: Remove conditional code.
16380         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16381         [__ASSUME_32BITUIDS]: Make code unconditional.
16382         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16383         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16384         <kernel-features.h>.
16385         [__ASSUME_32BITUIDS]: Make code unconditional.
16386         [!__ASSUME_32BITUIDS]: Remove conditional code.
16387         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16388         <kernel-features.h>.
16389         [__ASSUME_32BITUIDS]: Make code unconditional.
16390         [!__ASSUME_32BITUIDS]: Remove conditional code.
16391         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16392         <kernel-features.h>.
16393         [__ASSUME_32BITUIDS]: Make code unconditional.
16394         [!__ASSUME_32BITUIDS]: Remove conditional code.
16395         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16396         <kernel-features.h>.
16397         [__ASSUME_32BITUIDS]: Make code unconditional.
16398         [!__ASSUME_32BITUIDS]: Remove conditional code.
16399         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16400         <kernel-features.h>.
16401         [__ASSUME_32BITUIDS]: Make code unconditional.
16402         [!__ASSUME_32BITUIDS]: Remove conditional code.
16403         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16404         <kernel-features.h>.
16405         [__ASSUME_32BITUIDS]: Make code unconditional.
16406         [!__ASSUME_32BITUIDS]: Remove conditional code.
16407         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16408         <kernel-features.h>.
16409         [__ASSUME_32BITUIDS]: Make code unconditional.
16410         [!__ASSUME_32BITUIDS]: Remove conditional code.
16411         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16412         <kernel-features.h>.
16413         [__ASSUME_32BITUIDS]: Make code unconditional.
16414         [!__ASSUME_32BITUIDS]: Remove conditional code.
16415         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16416         <kernel-features.h>.
16417         [__ASSUME_32BITUIDS]: Make code unconditional.
16418         [!__ASSUME_32BITUIDS]: Remove conditional code.
16419         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16420         <kernel-features.h>.
16421         [__ASSUME_32BITUIDS]: Make code unconditional.
16422         [!__ASSUME_32BITUIDS]: Remove conditional code.
16423         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16424         <kernel-features.h>.
16425         [__NR_setresgid] (__setresgid): Do not declare.
16426         [__ASSUME_32BITUIDS]: Make code unconditional.
16427         [!__ASSUME_32BITUIDS]: Remove conditional code.
16428         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16429         <kernel-features.h>.
16430         [__NR_setresuid] (__setresuid): Do not declare.
16431         [__ASSUME_32BITUIDS]: Make code unconditional.
16432         [!__ASSUME_32BITUIDS]: Remove conditional code.
16433         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16434         <kernel-features.h>.
16435         [__ASSUME_32BITUIDS]: Make code unconditional.
16436         [!__ASSUME_32BITUIDS]: Remove conditional code.
16437         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16438         <kernel-features.h>.
16439         [__ASSUME_32BITUIDS]: Make code unconditional.
16440         [!__ASSUME_32BITUIDS]: Remove conditional code.
16441         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16442         <kernel-features.h>.
16443         [__ASSUME_32BITUIDS]: Make code unconditional.
16444         [!__ASSUME_32BITUIDS]: Remove conditional code.
16445         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16446         <kernel-features.h>.
16447         [__ASSUME_32BITUIDS]: Make code unconditional.
16448         [!__ASSUME_32BITUIDS]: Remove conditional code.
16449         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16450         <kernel-features.h>.
16451         [__ASSUME_32BITUIDS]: Make code unconditional.
16452         [!__ASSUME_32BITUIDS]: Remove conditional code.
16453         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16454         <kernel-features.h>.
16455         [__ASSUME_32BITUIDS]: Make code unconditional.
16456         [!__ASSUME_32BITUIDS]: Remove conditional code.
16457         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16458         <kernel-features.h>.
16459         [__ASSUME_32BITUIDS]: Make code unconditional.
16460         [!__ASSUME_32BITUIDS]: Remove conditional code.
16461         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16462         <kernel-features.h>.
16463         [__ASSUME_32BITUIDS]: Make code unconditional.
16464         [!__ASSUME_32BITUIDS]: Remove conditional code.
16465         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16466         <kernel-features.h>.
16467         [__ASSUME_32BITUIDS]: Make code unconditional.
16468         [!__ASSUME_32BITUIDS]: Remove conditional code.
16469         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16470         <kernel-features.h>.
16471         [__ASSUME_32BITUIDS]: Make code unconditional.
16472         [!__ASSUME_32BITUIDS]: Remove conditional code.
16473         * sysdeps/unix/sysv/linux/kernel-features.h
16474         (__ASSUME_SETRESUID_SYSCALL): Remove.
16475         (__ASSUME_SETRESGID_SYSCALL): Likewise.
16476         (__ASSUME_32BITUIDS): Likewise.
16477         (__ASSUME_LDT_WORKS): Likewise.
16478         (__ASSUME_O_DIRECTORY): Likewise.
16479         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16480         architecture but not kernel version.
16481         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16482         (__ASSUME_MMAP2_SYSCALL): Likewise.
16483         (__ASSUME_STAT64_SYSCALL): Likewise.
16484         (__ASSUME_IPC64): Likewise.
16485         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16486         <kernel-features.h>.
16487         [__ASSUME_32BITUIDS]: Make code unconditional.
16488         [!__ASSUME_32BITUIDS]: Remove conditional code.
16489         * sysdeps/unix/sysv/linux/opendir.c: Do not include
16490         <kernel-features.h>.
16491         [__ASSUME_O_DIRECTORY]: Make code unconditional.
16492         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16493         132096]: Remove conditional code.
16494         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16495         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16496         <kernel-features.h>.
16497         [__ASSUME_32BITUIDS]: Make code unconditional.
16498         [!__ASSUME_32BITUIDS]: Remove conditional code.
16499         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16500         <kernel-features.h>.
16501         [__ASSUME_32BITUIDS]: Make code unconditional.
16502         [!__ASSUME_32BITUIDS]: Remove conditional code.
16503         * sysdeps/unix/sysv/linux/setegid.c: Do not include
16504         <kernel-features.h>.
16505         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16506         unconditional.
16507         (__setresgid): Do not declare.
16508         [__ASSUME_32BITUIDS]: Make code unconditional.
16509         [!__ASSUME_32BITUIDS]: Remove conditional code.
16510         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16511         <kernel-features.h>.
16512         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16513         unconditional.
16514         (__setresuid): Do not declare.
16515         [__ASSUME_32BITUIDS]: Make code unconditional.
16516         [!__ASSUME_32BITUIDS]: Remove conditional code.
16517         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16518         <kernel-features.h>.
16519         [__ASSUME_32BITUIDS]: Make code unconditional.
16520         [!__ASSUME_32BITUIDS]: Remove conditional code.
16521         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16522         <kernel-features.h>.
16523         [__ASSUME_32BITUIDS]: Make code unconditional.
16524         [!__ASSUME_32BITUIDS]: Remove conditional code.
16525
16526 2012-05-25  Richard Henderson  <rth@twiddle.net>
16527
16528         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16529         dl_hwcap to ifunc resolver.
16530         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16531         elf_ifunc_invoke.
16532         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16533         dl_hwcap to ifunc resolver.
16534         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16535
16536 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16537
16538         [BZ #14153]
16539         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16540         for |x| <= 2**-26, not 2**-57.
16541         * math/libm-test.inc (acos_test): Do not allow spurious underflow
16542         exception.
16543
16544 2012-05-24  Jeff Law  <law@redhat.com>
16545
16546         * stdio-common/Makefile (tests): Add bug25.
16547         * stdio-common/bug25.c: New test.
16548
16549 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16550
16551         [BZ #13576]
16552         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16553         multiple of MALLOC_ALIGNMENT in size.
16554         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16555
16556 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16557
16558         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16559         Require >= 256.
16560         (FILENAME_MAX): Use macro-int-constant.
16561         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
16562         (_IOFBF): Use macro-int-constant.
16563         (_IOLBF): Likewise.
16564         (_IONBF): Likewise.
16565         (SEEK_CUR): Likewise.
16566         (SEEK_END): Likewise.
16567         (SEEK_SET): Likewise.
16568         (TMP_MAX): Likewise.
16569         (EOF): Use macro-int-constant.  Require < 0.
16570         (NULL): Use macro-constant.  Require == 0.
16571         (stdin): Require type to be FILE *.
16572         (stdout): Likewise.
16573         (stderr): Likewise.
16574         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16575         macro-int-constant.
16576         (EXIT_SUCCESS): Likewise.
16577         (NULL): Use macro-constant.  Require == 0.
16578         (RAND_MAX): Use macro-int-constant.
16579         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16580         [C99-based standards] (strtof): Require function.
16581         [C99-based standards] (strtold): Likewise.
16582         [C99-based standards] (strtoll): Likewise.
16583         [C99-based standards] (strtoull): Likewise.
16584         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16585         [ISO || ISO99 || ISO11] (limits.h): Likewise.
16586         [ISO || ISO99 || ISO11] (math.h): Likewise.
16587         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16588         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16589         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16590
16591 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
16592
16593         [BZ #14132]
16594         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16595         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16596         * intl/dgettext.c (DCGETTEXT): Likewise.
16597         * intl/gettext.c (DCGETTEXT): Likewise.
16598         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16599         * posix/regex_internal.h (gettext): Likewise.
16600         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16601         Remove declaration.
16602         * include/argz.h (__argz_count_internal)
16603         (__argz_stringify_internal): Remove declaration.
16604         (__argz_count, __argz_stringify): Declare hidden proto.
16605         * intl/dcgettext.c: Remove use of INTDEF.
16606         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16607         * string/argz-stringify.c: Likewise.
16608         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16609         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16610         Declare hidden proto.
16611         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16612         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16613         Declare hidden proto.
16614         * include/stdio.h (__asprintf_internal): Don't declare.
16615         (__asprintf): Don't define as macro.  Declare hidden proto.
16616         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16617         (__fsetlocking): Declare hidden proto.
16618         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16619         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16620         hidden proto.
16621         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16622         (_IO_setlinebuf): Remove use of INTUSE.
16623         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16624         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16625         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16626         Remove declaration.
16627         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16628         (_IO_do_flush): Remove use of INTUSE.
16629         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16630         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16631         (_IO_adjust_column, _IO_least_wmarker)
16632         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16633         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16634         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16635         (_IO_default_doallocate, _IO_wdefault_doallocate)
16636         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16637         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16638         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16639         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16640         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16641         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16642         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16643         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16644         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16645         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16646         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16647         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16648         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16649         proto.
16650         (_IO_flush_all_internal, _IO_adjust_column_internal)
16651         (_IO_default_uflow_internal, _IO_default_finish_internal)
16652         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16653         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16654         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16655         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16656         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16657         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16658         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16659         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16660         (_IO_file_close_internal, _IO_file_close_it_internal)
16661         (_IO_file_underflow_internal, _IO_file_overflow_internal)
16662         (_IO_file_init_internal, _IO_file_attach_internal)
16663         (_IO_file_fopen_internal, _IO_file_read_internal)
16664         (_IO_file_sync_internal, _IO_file_seek_internal)
16665         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16666         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16667         (_IO_str_underflow_internal, _IO_str_overflow_internal)
16668         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16669         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16670         (_IO_list_all_internal, _IO_link_in_internal)
16671         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16672         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16673         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16674         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16675         (_IO_do_write_internal, _IO_padn_internal)
16676         (_IO_getline_info_internal, _IO_getline_internal)
16677         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16678         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16679         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16680         (_IO_vfscanf_internal, _IO_vfprintf_internal)
16681         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16682         (_IO_init_internal, _IO_un_link_internal): Don't declare.
16683         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16684         with libc_hidden_ver, remove use of INTUSE.
16685         * libio/genops.c: Likewise.
16686         * libio/freopen.c: Likewise.
16687         * libio/freopen64.c: Likewise.
16688         * libio/iofclose.c: Likewise.
16689         * libio/iofdopen.c: Likewise.
16690         * libio/iofflush.c: Likewise.
16691         * libio/iofflush_u.c: Likewise.
16692         * libio/iofgets.c: Likewise.
16693         * libio/iofgets_u.c: Likewise.
16694         * libio/iofopen.c: Likewise.
16695         * libio/iofopncook.c: Likewise.
16696         * libio/iofread.c: Likewise.
16697         * libio/iofread_u.c: Likewise.
16698         * libio/ioftell.c: Likewise.
16699         * libio/iofwrite.c: Likewise.
16700         * libio/iogetline.c: Likewise.
16701         * libio/iogets.c: Likewise.
16702         * libio/iogetwline.c: Likewise.
16703         * libio/iopadn.c: Likewise.
16704         * libio/iopopen.c: Likewise.
16705         * libio/ioseekoff.c: Likewise.
16706         * libio/ioseekpos.c: Likewise.
16707         * libio/iosetbuffer.c: Likewise.
16708         * libio/iosetvbuf.c: Likewise.
16709         * libio/ioungetc.c: Likewise.
16710         * libio/ioungetwc.c: Likewise.
16711         * libio/iovdprintf.c: Likewise.
16712         * libio/iovsprintf.c: Likewise.
16713         * libio/iovsscanf.c: Likewise.
16714         * libio/memstream.c: Likewise.
16715         * libio/obprintf.c: Likewise.
16716         * libio/oldfileops.c: Likewise.
16717         * libio/oldiofclose.c: Likewise.
16718         * libio/oldiofdopen.c: Likewise.
16719         * libio/oldiofopen.c: Likewise.
16720         * libio/oldiopopen.c: Likewise.
16721         * libio/oldstdfiles.c: Likewise.
16722         * libio/putc.c: Likewise.
16723         * libio/setbuf.c: Likewise.
16724         * libio/setlinebuf.c: Likewise.
16725         * libio/stdfiles.c: Likewise.
16726         * libio/strops.c: Likewise.
16727         * libio/vasprintf.c: Likewise.
16728         * libio/vscanf.c: Likewise.
16729         * libio/vsnprintf.c: Likewise.
16730         * libio/vswprintf.c: Likewise.
16731         * libio/wfiledoalloc.c: Likewise.
16732         * libio/wfileops.c: Likewise.
16733         * libio/wgenops.c: Likewise.
16734         * libio/wmemstream.c: Likewise.
16735         * libio/wstrops.c: Likewise.
16736         * libio/__fpurge.c: Likewise.
16737         * libio/__fsetlocking.c: Likewise.
16738         * assert/assert.c: Likewise.
16739         * debug/fgets_chk.c: Likewise.
16740         * debug/fgets_u_chk.c: Likewise.
16741         * debug/fread_chk.c: Likewise.
16742         * debug/fread_u_chk.c: Likewise.
16743         * debug/gets_chk.c: Likewise.
16744         * debug/obprintf_chk.c: Likewise.
16745         * debug/vasprintf_chk.c: Likewise.
16746         * debug/vdprintf_chk.c: Likewise.
16747         * debug/vsnprintf_chk.c: Likewise.
16748         * debug/vsprintf_chk.c: Likewise.
16749         * malloc/mtrace.c: Likewise.
16750         * misc/error.c: Likewise.
16751         * misc/syslog.c: Likewise.
16752         * stdio-common/asprintf.c: Likewise.
16753         * stdio-common/fxprintf.c: Likewise.
16754         * stdio-common/getw.c: Likewise.
16755         * stdio-common/isoc99_fscanf.c: Likewise.
16756         * stdio-common/isoc99_scanf.c: Likewise.
16757         * stdio-common/isoc99_vfscanf.c: Likewise.
16758         * stdio-common/isoc99_vscanf.c: Likewise.
16759         * stdio-common/isoc99_vsscanf.c: Likewise.
16760         * stdio-common/printf-prs.c: Likewise.
16761         * stdio-common/printf_fp.c: Likewise.
16762         * stdio-common/printf_fphex.c: Likewise.
16763         * stdio-common/printf_size.c: Likewise.
16764         * stdio-common/putw.c: Likewise.
16765         * stdio-common/scanf.c: Likewise.
16766         * stdio-common/sprintf.c: Likewise.
16767         * stdio-common/tmpfile.c: Likewise.
16768         * stdio-common/vfprintf.c: Likewise.
16769         * stdio-common/vfscanf.c: Likewise.
16770         * stdlib/strfmon_l.c: Likewise.
16771         * sunrpc/openchild.c: Likewise.
16772         * sunrpc/xdr_stdio.c: Likewise.
16773         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16774         * sysdeps/mach/hurd/tmpfile.c: Likewise.
16775
16776 2012-05-24  Roland McGrath  <roland@hack.frob.com>
16777
16778         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16779
16780         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16781         in the third column, to generate for the shared library an IFUNC
16782         that uses _dl_vdso_vsym.
16783         * Makerules (COMPILE.c, compile-stdin.c): New variables.
16784         * Makeconfig (object-suffixes-noshared): New variable.
16785
16786         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16787         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16788         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16789         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16790
16791         [BZ #14132]
16792         * include/sys/time.h (__gettimeofday): Remove macro.
16793         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16794         * time/gettimeofday.c (__gettimeofday): Remove #undef.
16795         Remove INTDEF.
16796         (__gettimeofday): Add libc_hidden_def.
16797         (gettimeofday): Add libc_hidden_weak.
16798         * sysdeps/mach/gettimeofday.c: Likewise.
16799         * sysdeps/posix/gettimeofday.c: Likewise.
16800         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16801         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16802         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16803         (__gettimeofday_internal): Remove strong_alias.
16804         (__gettimeofday): Add libc_hidden_def.
16805         (gettimeofday): Add libc_hidden_weak.
16806         * sysdeps/unix/syscalls.list (gettimeofday):
16807         Remove __gettimeofday_internal alias.
16808
16809 2012-05-24  Daniel Jacobowitz  <drow@false.org>
16810             H.J. Lu  <hongjiu.lu@intel.com>
16811
16812         [BZ #12495]
16813         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16814         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16815         (largebin_index_32_big): New.
16816         (largebin_index): Use it for 16-byte alignment.
16817         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
16818         correction with front_misalign.
16819
16820 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16821
16822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16824         Likewise.
16825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16826         Likewise.
16827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16828         Likewise.
16829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16830         Likewise.
16831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16832         Likewise.
16833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16834         Likewise.
16835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16836         Likewise.
16837         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16838         Likewise.
16839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16840         Likewise.
16841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16842         Likewise.
16843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16844         Likewise.
16845         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16846         Likewise.
16847
16848         * scripts/data/c++-types-x32-linux-gnu.data: New file.
16849         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16850
16851 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16852
16853         [BZ #10846]
16854         [BZ #14036]
16855         * math/libm-test.inc (exp_test): Add test from bug 14036.
16856         (pow_test): Add test from bug 10846.
16857
16858         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16859         and other flags.
16860         (special_function): Do not include flags in test name.
16861         (parse_args): Likewise.
16862         * sysdeps/i386/fpu/libm-test-ulps: Update.
16863         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16864         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16865         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16867
16868         * math/gen-libm-test.pl (%beautify): Add entries for underflow
16869         exceptions.
16870         * math/libm-test.inc ("Philosophy"): Update comment about
16871         exception testing.
16872         (UNDERFLOW_EXCEPTION): New macro.
16873         (UNDERFLOW_EXCEPTION_OK): Likewise.
16874         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16875         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16876         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16877         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16878         (INVALID_EXCEPTION_OK): Update value.
16879         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16880         (OVERFLOW_EXCEPTION_OK): Likewise.
16881         (IGNORE_ZERO_INF_SIGN): Likewise.
16882         (test_exceptions): Handle underflow exceptions.
16883         (acos_test): Update for underflow exception expectations.
16884         (cexp_test): Likewise.
16885         (clog_test): Likewise.
16886         (clog10_test): Likewise.
16887         (csqrt_test): Likewise.
16888         (ctan_test): Likewise.
16889         (ctanh_test): Likewise.
16890         (exp_test): Likewise.
16891         (exp10_test): Likewise.
16892         (exp2_test): Likewise.
16893         (expm1_test): Likewise.
16894         (fma_test): Likewise.
16895         (j0_test): Likewise.
16896         (jn_test): Likewise.
16897         (nexttoward_test): Likewise.
16898         (pow_test): Likewise.
16899         (scalbn_test): Likewise.
16900         (scalbln_test): Likewise.
16901         (tan_test): Likewise.
16902         (y1_test): Likewise.
16903         * sysdeps/i386/fpu/libm-test-ulps: Update.
16904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16905
16906 2012-05-23  David S. Miller  <davem@davemloft.net>
16907
16908         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16909         (__libc_sigaction): Remove unused local variables.
16910
16911 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16912
16913         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16914
16915 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
16916
16917         mktime: avoid signed integer overflow
16918         * time/mktime.c (__mktime_internal): Do not mishandle the case
16919         where diff == INT_MIN.
16920
16921         mktime: simplify computation of average
16922         * time/mktime.c (ranged_convert): Use new time_t_avg function
16923         instead of rolling our own (probably-slower) code.
16924
16925         mktime: do not assume signed right shift propagates sign bit
16926         * time/mktime.c (isdst_differ): New static function.
16927         (__mktime_internal): No need to normalize tm_isdst now.
16928         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16929         tm_isdst values.
16930
16931         mktime: merge another wrapv change from gnulib
16932         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16933         from some compilers.
16934
16935         mktime: remove incorrect attempt at unusual arithmetics
16936         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16937         The code didn't really work on such machines anyway.
16938         (TYPE_MINIMUM): Assume two's complement.
16939         (twos_complement_arithmetic): Verify that long_int and time_t
16940         are two's complement (or unsigned, in the latter case).
16941
16942         mktime: check signed shifts on long_int and time_t, too
16943         * time/mktime.c (SHR): Check that shifts work as desired
16944         on the types long_int and time_t too, as SHR is used on
16945         such types.
16946
16947         mktime: do not assume 'long' is wide enough
16948         * time/mktime.c (verify): Move decl up.
16949         (long_int): New type.
16950         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16951         to remove assumption in the code that 'long' is wide enough to
16952         store year values.  This assumption is not true on x32 and on
16953         some non-glibc platforms.
16954
16955         mktime: merge wrapv change from gnulib
16956         * time/mktime.c (WRAPV): New macro.
16957         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16958         (guess_time_tm, __mktime_internal): Do not assume that signed
16959         integer overflow wraps around; modern compilers generate code
16960         where this assumption is no longer valid.
16961
16962 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16963
16964         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16965         Replace "jmp L(pseudo_end)" with "ret".
16966         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16967         Likewise.
16968
16969 2012-05-23  Andreas Jaeger  <aj@suse.de>
16970
16971         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16972         * sysdeps/unix/sysv/linux/poll.c: Remove file.
16973
16974 2012-05-23  Andreas Jaeger  <aj@suse.de>
16975             Maximilian Attems  <max@stro.at>
16976
16977         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16978         New macros.
16979
16980 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16981
16982         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16983         code so that pseudo_end is just ret and the stack pointer is
16984         correct also for static library in error case.
16985
16986 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
16987
16988         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16989         move to syscalls.list.
16990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16994
16995         * manual/install.texi (Running make install): Do not mention Linux
16996         kernel version for which pt_chown is not needed.
16997         (Linux): Do not mention problems with nscd with 2.0 kernels.
16998         * INSTALL: Regenerated.
16999
17000 2012-05-23  Andreas Jaeger  <aj@suse.de>
17001
17002         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17003         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17004         macro.
17005         * sysdeps/unix/sysv/linux/s390/bits/mman.h
17006         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17007         * sysdeps/unix/sysv/linux/sh/bits/mman.h
17008         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17009         * sysdeps/unix/sysv/linux/i386/bits/mman.h
17010         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17011         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17012         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17013         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17014         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17015         * sysdeps/unix/sysv/linux/bits/in.h
17016         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17017
17018 2012-05-22  Roland McGrath  <roland@hack.frob.com>
17019
17020         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17021         (PREPARE_VERSION): Just use assert instead, it will be elided
17022         under [NDEBUG] anyway.
17023
17024 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17025
17026         * sysdeps/unix/sysv/linux/Makefile: Include
17027         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17028         (sysdep_routines): Remove sysctl.
17029         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17030         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17031         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17032         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17033         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17034
17035 2012-05-22  Andreas Jaeger  <aj@suse.de>
17036
17037         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17038         that pseudo_end is just ret and the stack pointer is correct also
17039         for static library in error case.
17040
17041 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
17042
17043         [BZ #14122]
17044         * nss/nsswitch.c (defconfig_entries): New variable.
17045         (__nss_database_lookup): Don't leak defconfig entries.
17046         (nss_parse_service_list): Don't leak on error paths.
17047         (free_database_entries): New function.
17048         (free_defconfig): New function.
17049         (free_mem): Move common code to free_database_entries.
17050
17051 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17052
17053         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17054         Add arch_prctl.
17055         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17056
17057         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17058         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17059         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17060         New macro.
17061         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17062         (INTERNAL_SYSCALL_TYPES): Likewise.
17063         (LOAD_ARGS_TYPES_[1-6]): Likewise.
17064         (LOAD_REGS_TYPES_[1-6]): Likewise.
17065         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17066         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17067
17068 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17069
17070         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17071         copysignl for GLIBC_2_0.
17072         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17073         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17074         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17075         logbl for GLIBC_2_0.
17076         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17077         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17078
17079 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17080
17081         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17082         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17083
17084         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17085         Use "neg %eax".
17086
17087         * time/mktime.c: Update copyright years.
17088
17089 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
17090
17091         mktime: merge comment-quoting-style change from gnulib
17092         * time/mktime.c: Quote 'like this' in comments.
17093         The GNU coding standards suggest that we no longer quote `like this',
17094         as "`" and "'" are typically rendered asymmetrically nowadays.
17095         The typical gnulib style is to quote 'like this' when quoting
17096         code, and "like this" when quoting English.
17097
17098         * time/mktime.c (compile-command): Add "-I.".
17099
17100         mktime: merge mktime-internal.h change from gnulib
17101         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17102
17103         mktime: merge time_r change from gnulib
17104         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17105
17106         mktime: merge DEBUG change from gnulib
17107         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17108         case system <time.h> has a #define.
17109
17110         mktime: merge <sys/types.h> change from gnulib
17111         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17112         since <time.t> is now guaranteed to define time_t.
17113
17114         mktime: merge HAVE_CONFIG_H change from gnulib
17115         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17116
17117 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17118
17119         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17120         Use "neg %eax".
17121
17122         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17123         __rlim_t cast.
17124         (struct rusage): Use anonymous union to pad each field to
17125         __syscall_slong_t.
17126
17127 2012-05-21  David S. Miller  <davem@davemloft.net>
17128
17129         * Makefules (o-iterator): Remove .s cases.
17130         (compile-command.s): Delete.
17131         (COMPILE.s): Delete.
17132         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17133
17134 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
17135
17136         * configure.in (libc_cv_predef_stack_protector): Only consider
17137         "foobar" and "__stack_chk_fail" lines in libc_undefs.
17138         * configure: Regenerated.
17139
17140 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17141
17142         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17143         New macro.  Use R*LP on int and pointer.
17144         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17145         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17146         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17147         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17148
17149         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17150         [__WORDSIZE_TIME64_COMPAT32] instead of
17151         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17152         (struct utmp): Likewise.
17153         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17154         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17155         Renamed to ...
17156         (__WORDSIZE_TIME64_COMPAT32): This.
17157         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17158         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17159         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17160         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17161         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17162         (__WORDSIZE_TIME64_COMPAT32): New macro.
17163
17164 2012-05-21  Andreas Jaeger  <aj@suse.de>
17165
17166         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17167         only if [SHARED]. Add prototype for __wcschr_ia32.
17168
17169 2012-05-21  Roland McGrath  <roland@hack.frob.com>
17170
17171         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17172         of %rbp unmolested in the jmp_buf while mangling the low bits.
17173         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17174         unmolested high bits of %rbp while demangling the low bits.
17175         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17176
17177 2012-05-21  Andreas Jaeger  <aj@suse.de>
17178
17179         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17180         * sunrpc/svc_simple.c: Use it for registerrpc.
17181         * sunrpc/xcrypt.c: Use it for passwd2des.
17182
17183         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17184
17185 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17186
17187         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17188         Don't define if [__SYSCALL_WORDSIZE != 32].
17189         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17190         New macro.
17191
17192 2012-05-21  Bruno Haible  <bruno@clisp.org>
17193             Andreas Jaeger  <aj@suse.de>
17194
17195         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17196         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17197         inptr and inend for must_buffer_ch.
17198         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17199         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17200         * stdio-common/Makefile (tests): Remove bug15.
17201         (bug15-ENV): Remove macro.
17202         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17203         anymore.
17204
17205 2012-05-19  Andreas Jaeger  <aj@suse.de>
17206             Roland McGrath  <roland@hack.frob.com>
17207
17208         * manual/contrib.texi: Completely rewritten. It contains now an
17209         alphabetical list of contributors and their contributions.
17210
17211 2012-05-21  Richard Henderson  <rth@twiddle.net>
17212
17213         * misc/getauxval.c (__getauxval): Use unsigned long int.
17214         * misc/sys/auxv.h: Include <sys/cdefs.h>.
17215         (getauxval): Use unsigned long int.
17216
17217 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17218
17219         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17220
17221 2012-05-21  Roland McGrath  <roland@hack.frob.com>
17222
17223         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17224         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17225         __alignof__ (long double).
17226
17227 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17228
17229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17230
17231 2012-05-20  Richard Henderson  <rth@twiddle.net>
17232
17233         * misc/getauxval.c: New file.
17234         * misc/sys/auxv.h: New file.
17235         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17236         (routines): Add getauxval.
17237         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17238         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17239         * elf/dl-sysdep.c (_dl_auxv): Remove.
17240         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17241         * elf/dl-support.c (_dl_auxv): New variable.
17242         (_dl_aux_init): Initialize it.
17243         * manual/startup.texi (Auxiliary Vector): New node.
17244         * sysdeps/generic/bits/hwcap.h: New file.
17245         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17246         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
17247         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17248         * sysdeps/sparc/sysdep.h: ... here.  Include it.
17249         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17250         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17252         Update.
17253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17256         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17258         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17259         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17261
17262 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17263
17264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17265
17266 2012-05-19  David S. Miller  <davem@davemloft.net>
17267
17268         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17269
17270 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
17271
17272         [BZ #14123]
17273         * math/s_ccosh.c: Include <float.h>
17274         (__ccosh): Avoid internal overflow calculating sinh and cosh
17275         values before multiplying by sin and cos values.
17276         * math/s_ccoshf.c: Likewise.
17277         * math/s_ccoshl.c: Likewise.
17278         * math/s_csin.c: Likewise.
17279         * math/s_csinf.c: Likewise.
17280         * math/s_csinl.c: Likewise.
17281         * math/s_csinh.c: Likewise.
17282         * math/s_csinhf.c: Likewise.
17283         * math/s_csinhl.c: Likewise.
17284         * math/libm-test.inc (ccos_test): Add more tests.
17285         (ccosh_test): Likewise.
17286         (csin_test): Likewise.
17287         (csinh_test): Likewise.
17288         * sysdeps/i386/fpu/libm-test-ulps: Update.
17289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17290
17291 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17292
17293         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17294         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17295
17296         * sysdeps/x86_64/x32/_itoa.h: Add comment.
17297
17298 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
17299
17300         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17301         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17302         * sysdeps/powerpc/soft-fp/Versions: Likewise.
17303         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17304         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17305         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17306         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17307         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17308         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17309         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17310         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17311         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17312         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17313         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17314         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17315         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17316         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17317         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17318         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17319         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17320         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17321         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17322         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17323         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17324         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17325         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17326         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17327         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17328         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17329         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17330         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17331
17332 2012-05-18  Andreas Jaeger  <aj@suse.de>
17333
17334         * csu/.gitignore: Delete.
17335
17336 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17337
17338         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17339         (timex): Use __syscall_slong_t.
17340
17341 2012-05-18  Andreas Jaeger  <aj@suse.de>
17342             Carlos O'Donell  <carlos_odonell@mentor.com>
17343
17344         * manual/install.texi (Configuring and compiling): Update
17345         description about files modified in the source directory.
17346         * INSTALL: Regenerated.
17347
17348 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17349
17350         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17351         value.  Use "or" to set return value to -1.
17352         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17353         negate return value.
17354
17355 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17356
17357         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17358         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17359         failure if the compiler has Graphite support disabled.
17360         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17361         Likewise.
17362         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17363         CFLAGS-memmove.c): Likewise.
17364         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17365         Likewise.
17366
17367 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17368
17369         * sysdeps/x86_64/x32/_itoa.h: New file.
17370
17371         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17372         getdents system call only if kernel and user dirents have the
17373         same d_ino and d_off.
17374
17375         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17376         LLONG_MAX != LONG_MAX.
17377         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17378         (_fitoa_word): Likewise.
17379
17380         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17381         years.
17382         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17383         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17384         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17385
17386         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17387         include <bits/wordsize.h>.  Check __x86_64__ instead of
17388         __WORDSIZE.
17389         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17390         if __x86_64__ is defined.  Use anonymous union on fpstate.
17391
17392         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17393         anonymous union.
17394
17395 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
17396
17397         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17398         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17399         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17400         Refer to _rtld_local_ro instead of _rtld_global_ro.
17401         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17402         Likewise.
17403         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17404         Likewise.
17405         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17406         Likewise.
17407         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17408         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17409         of _rtld_global, and rtld_progname instead of _dl_argv[0].
17410
17411         * sysdeps/powerpc/powerpc32/dl-machine.c
17412         (__elf_machine_runtime_setup) [PROF]: Don't reference
17413         _dl_prof_resolve.
17414
17415 2012-05-18  Andreas Jaeger  <aj@suse.de>
17416
17417         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17418         function only available for GCCs before 3.4 since GCC 3.4
17419         introduced a builtin.
17420         (lrint): Likewise.
17421         (llrintf): Likewise.
17422         (llrint): Likewise.
17423         (fmaxf): Likewise.
17424         (fmax): Likewise.
17425         (fminf): Likewise.
17426         (fmin): Likewise.
17427         (rint): Likewise.
17428         (rintf): Likewise.
17429         (nearbyint): Likewise.
17430         (nearbyintf): Likewise.
17431         (ceil): Likewise.
17432         (ceilf): Likewise.
17433         (floor): Likewise.
17434         (floorf): Likewise.
17435
17436 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17437
17438         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17439         on both fields and cast pointer to __syscall_ulong_t.
17440
17441         * bits/types.h (__fsword_t): New type.
17442         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17443         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17444         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17445         (__FSWORD_T_TYPE): Likewise.
17446         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17447         (__FSWORD_T_TYPE): Likewise.
17448         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17449         (__FSWORD_T_TYPE): Likewise.
17450         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17451         (__FSWORD_T_TYPE): Likewise.
17452         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17453         __SWORD_TYPE with __fsword_t.
17454         (statfs64): Likewise.
17455
17456 2012-05-17  David S. Miller  <davem@davemloft.net>
17457
17458         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17459
17460 2012-05-17  Andreas Jaeger  <aj@suse.de>
17461
17462         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17463         warning.
17464
17465 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17466
17467         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17468
17469 2012-05-17  Andreas Jaeger  <aj@suse.de>
17470
17471         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17472         when it is used.
17473
17474 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
17475
17476         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17477
17478 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17479
17480         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17481         * sysdeps/x86_64/tst-mallocalign1.c: New file.
17482
17483 2012-05-17  Andreas Jaeger  <aj@suse.de>
17484             Carlos O'Donell  <carlos_odonell@mentor.com>
17485
17486         [BZ #14059]
17487         * sysdeps/x86_64/multiarch/init-arch.h
17488         (bit_YMM_Usable): Rename to...
17489         (bit_AVX_Usable): ... this.
17490         (bit_FMA4_Usable): New macro.
17491         (bit_XMM_state): New macro.
17492         (bit_YMM_state): New macro.
17493         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17494         [__ASSEMBLER__] (index_AVX_Usable): ... this.
17495         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17496         (CPUID_OSXSAVE): New macro.
17497         (CPUID_AVX): New macro.
17498         (CPUID_FMA4): New macro.
17499         (index_YMM_Usable): Rename to...
17500         (index_AVX_Usable): ... this.
17501         (HAS_AVX): Use HAS_ARCH_FEATURE.
17502         (HAS_FMA4): Likewise.
17503         (HAS_YMM_USABLE): Remove.
17504         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17505         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17506         are present.
17507         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17508         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17509         * sysdeps/x86_64/multiarch/Makefile: Likewise.
17510         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17511         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17512
17513 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
17514
17515         * math/libm-test.c: Support platforms without multiple rounding modes.
17516         * math/bug-nextafter.c: Support platforms without FP exceptions.
17517         * math/bug-nexttoward.c: Likewise.
17518         * math/test-fenv.c: Likewise.
17519         * math/test-misc.c: Likewise.
17520         * stdlib/bug-getcontext.c: Likewise.
17521
17522 2012-05-17  Andreas Jaeger  <aj@suse.de>
17523
17524         * manual/examples/search.c (critter_cmp): Change signature to
17525         avoid warnings.
17526         * manual/string.texi (Collation Functions): Likewise.
17527
17528 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17529
17530         * bits/types.h: Fold copyright years.
17531         * bits/typesizes.h: Likewise.
17532         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17533         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17534         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17535         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17536         * time/time.h: Likewise.
17537
17538 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
17539
17540         [BZ #208]
17541         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17542         in instead of returning them.  Return void.
17543         (__libc_mallinfo): Accumulate over all arenas.
17544         (__malloc_stats): Adjust for change in int_mallinfo interface.
17545
17546 2012-05-16  Roland McGrath  <roland@hack.frob.com>
17547
17548         [BZ #10375]
17549         * configure.in (NM): Add AC_CHECK_TOOL for it.
17550         (libc_extra_cflags): New substituted variable.
17551         Check for -fstack-protector being used implicitly.
17552         * configure: Regenerated.
17553         * config.make.in (config-extra-cflags): New variable,
17554         gets @libc_extra_cflags@.
17555         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17556
17557         [BZ #10375]
17558         * configure.in: Check for _FORTIFY_SOURCE being predefined.
17559         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17560         * configure: Regenerated.
17561         * config.make.in (CPPUNDEFS): New substituted variable.
17562         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17563         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17564         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17565
17566 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17567
17568         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17569         (mq_attr): Use __syscall_slong_t.
17570
17571 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17572
17573         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17574         Check __x86_64__ instead of __WORDSIZE.
17575         (_STAT_VER_LINUX): Likewise.
17576         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
17577         __syscall_ulong_t and __syscall_slong_t.
17578         (stat64): Likewise.
17579
17580 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17581
17582         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17583
17584 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17585
17586         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17587
17588 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17589
17590         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17591         __syscall_ulong_t.
17592
17593         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17594         include <bits/wordsize.h>.  Check __x86_64__ instead of
17595         __WORDSIZE.
17596         (greg_t): Use "__extension__ long long int" if __x86_64__ is
17597         defined.
17598         (mcontext_t): Replace "unsigned long" with "unsigned long long".
17599
17600         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17601         include <bits/wordsize.h>.  Check __x86_64__ instead of
17602         __WORDSIZE.
17603         (user_regs_struct): Use "__extension__ unsigned long long"
17604         instead of "unsigned long" if __x86_64__ is defined.
17605         (user): Likewise.  Pad after pointer field if __ILP32__ is
17606         defined.
17607
17608 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
17609
17610         * configure.in (makeinfo): Require version 4.5 or later.  Allow
17611         versions 5 to 9.
17612         * configure: Regenerated.
17613         * manual/install.texi (texinfo): Increase version requirement to
17614         4.5 or later.
17615         * INSTALL: Regenerated.
17616
17617         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17618
17619 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17620
17621         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17622
17623         * sysdeps/x86_64/x32/ffs.c: New file.
17624
17625         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17626         __syscall_ulong_t.
17627         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17628         defined.  Use __syscall_ulong_t.
17629         (shminfo): Use __syscall_ulong_t.
17630         (shm_info): Likewise.
17631
17632         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17633         __syscall_ulong_t.
17634
17635         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17636         <bits/wordsize.h>.
17637         (msgqnum_t): Use __syscall_ulong_t.
17638         (msglen_t): Likewise.
17639         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
17640         __syscall_ulong_t.
17641
17642         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17643         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17644
17645         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17646
17647         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17648         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17649
17650         * sysvipc/sys/msg.h (msgbuf): Replace long int with
17651         __syscall_slong_t.
17652
17653         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17654         include <bits/wordsize.h>.  Check __x86_64__ instead of
17655         __WORDSIZE.
17656
17657         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17658         "unsigned long long int" if __x86_64__ is defined.
17659         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17660
17661         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17662         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17663         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17664
17665         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17666         <stdint.h>.
17667         (GET_PC): Cast to uintptr_t first.
17668         (GET_FRAME): Likewise.
17669         (GET_STACK): Likewise.
17670
17671         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17672         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17673         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17674         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17675         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17676         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17677         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17678         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17679         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17680         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17681         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17682         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17683         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17684         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17685         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17686         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17687         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17688         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17689         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17690         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17691         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17692         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17693         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17694         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17695         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17696         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17697         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17698         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17699         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17700
17701 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
17702
17703         * Makerules (+depfiles): Also collect depfiles from .oS in
17704         $(extra-objs).
17705         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17706         .oS, $(libnldbl-routines)).
17707
17708         * Makerules (native-compile-mkdep-flags): Define.
17709         * sunrpc/Makefile (extra-objs): Add $(addprefix
17710         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17711         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17712         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
17713         calling $(make-target-directory).
17714
17715 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17716
17717         * bits/types.h (__snseconds_t): Removed.
17718         * time/time.h (struct timespec): Replace __snseconds_t with
17719         __syscall_slong_t.
17720         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17721         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17722         Likewise.
17723         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17724         (__SNSECONDS_T_TYPE): Likewise.
17725         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17726         (__SNSECONDS_T_TYPE): Likewise.
17727         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17728         (__SNSECONDS_T_TYPE): Likewise.
17729
17730 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17731
17732         * sysdeps/mach/hurd/bits/typesizes.h
17733         (__SYSCALL_SLONG_TYPE): New macro.
17734         (__SYSCALL_ULONG_TYPE): Likewise.
17735
17736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17737
17738         * bits/types.h (__syscall_slong_t): New type.
17739         (__syscall_ulong_t): Likewise.
17740
17741         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17742         (__SYSCALL_ULONG_TYPE): Likewise.
17743         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17744         (__SYSCALL_SLONG_TYPE): Likewise.
17745         (__SYSCALL_ULONG_TYPE): Likewise.
17746         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17747         (__SYSCALL_SLONG_TYPE): Likewise.
17748         (__SYSCALL_ULONG_TYPE): Likewise.
17749         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17750         (__SYSCALL_SLONG_TYPE): Likewise.
17751         (__SYSCALL_ULONG_TYPE): Likewise.
17752
17753 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17754
17755         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17756         Add sigaltstack-offsets.sym.
17757         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17758         <sigaltstack-offsets.h>.
17759         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
17760         longjmp_msg pointer.
17761         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
17762         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17763         signal stack.
17764         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17765
17766 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17767
17768         * elf/stackguard-macros.h: Remove file.
17769         * sysdeps/generic/stackguard-macros.h: New file.
17770         * sysdeps/i386/stackguard-macros.h: Likewise.
17771         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17772         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17773         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17774         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17775         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17776         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17777         * sysdeps/x86_64/stackguard-macros.h: Likewise.
17778         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17779         <elf/stackguard-macros.h>.
17780
17781         [BZ #14109]
17782         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17783         __aligned__ in attribute.
17784         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17785         (gregset_t): Likewise.
17786
17787 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17788
17789         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17790         * sysdeps/x86_64/64/Implies-after: Here.  New file.
17791         * sysdeps/x86_64/x32/Implies-after: New file.
17792
17793 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17794
17795         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17796         and access return value for _dl_profile_fixup.  Use R10_LP to
17797         load frame size.
17798
17799 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17800
17801         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17802
17803 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17804
17805         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17806         * sysdeps/x86_64/x32/sysdep.h: New file.
17807
17808 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17809
17810         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17811         * sysdeps/x86_64/setjmp.S: Likewise.
17812
17813 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17814
17815         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17816         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17817         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17818         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17819         remove unused global constant.
17820
17821 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
17822
17823         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17824         include of <not-cancel.h>.
17825
17826 2012-05-15  Roland McGrath  <roland@hack.frob.com>
17827
17828         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17829
17830 2012-05-15  Jeff Law  <law@redhat.com>
17831             Andreas Jaeger  <aj@suse.de>
17832
17833         [BZ #13594]
17834         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17835         out from...
17836         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17837         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17838         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17839         code changing __hst_map_handle.map.
17840
17841 2012-05-15  Roland McGrath  <roland@hack.frob.com>
17842
17843         * configure.in (sysnames): Look for Implies-before and Implies-after
17844         files.
17845         * configure: Regenerated.
17846
17847 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17848
17849         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17850         8-byte data alignment with LP_SIZE alignment.
17851
17852 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17853
17854         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17855         into R10_LP.
17856
17857 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17858
17859         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17860
17861 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17862
17863         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17864         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17865         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17866         Likewise.
17867         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17868
17869 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17870
17871         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17872         (stackinfo_sub_sp): Likewise.
17873
17874 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17875
17876         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17877         RAX_LP.
17878
17879 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17880
17881         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17882         into R*_LP.
17883
17884 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17885
17886         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17887         sizes into R*_LP.
17888
17889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17890
17891         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17892
17893 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17894
17895         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17896         into R11_LP and load __x86_64_shared_cache_size_half into
17897         R8_LP.
17898
17899 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17900
17901         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17902         R8_LP.
17903
17904 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17905
17906         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17907         logb for POWER7.
17908         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17909         logbf for POWER7.
17910         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17911         logbl for POWER7.
17912         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17913         powerpc32/power7/fpu/s_logb.c via #include.
17914         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17915         powerpc32/power7/fpu/s_logbf.c via #include.
17916         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17917         powerpc32/power7/fpu/s_logbl.c via #include.
17918
17919 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17920
17921         * README.libm: Remove file.
17922
17923 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17924
17925         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17926         count for x32.  Use R*_LP and omit operand-size suffix.
17927
17928 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17929
17930         * shlib-versions: Move x86_64-.*-linux.* entries to ...
17931         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
17932         * sysdeps/x86_64/x32/shlib-versions: New file.
17933
17934 2012-05-14  Roland McGrath  <roland@hack.frob.com>
17935
17936         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17937         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17938         Use _dl_fatal_printf instead.
17939
17940 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
17941
17942         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17943         set if not set by the user.  Do not allow for being unset.
17944         * sysdeps/unix/sysv/linux/configure: Regenerated.
17945
17946 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17947
17948         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17949         the `q' suffix from lea and replace .quad with ASM_ADDR.
17950
17951 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17952
17953         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17954         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
17955         instead of $17.
17956         (PTR_DEMANGLE): Likewise.
17957
17958 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17959
17960         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17961         (LP_OP): Likewise.
17962         (ASM_ADDR): Likewise.
17963         (RAX_LP): Likewise.
17964         (RBP_LP): Likewise.
17965         (RBX_LP): Likewise.
17966         (RCX_LP): Likewise.
17967         (RDI_LP): Likewise.
17968         (RSI_LP): Likewise.
17969         (RSP_LP): Likewise.
17970         (R8_LP): Likewise.
17971         (R9_LP): Likewise.
17972         (R10_LP): Likewise.
17973         (R10_LP): Likewise.
17974         (R11_LP): Likewise.
17975         (R12_LP): Likewise.
17976         (R13_LP): Likewise.
17977         (R14_LP): Likewise.
17978         (R15_LP): Likewise.
17979
17980 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17981
17982         * sysdeps/x86_64/x32/dl-machine.h: New file.
17983
17984 2012-05-14  Andreas Jaeger  <aj@suse.de>
17985
17986         * manual/Makefile (subdir): Remove export of subdir.
17987         (all): Remove target.
17988         (.PHONY): Remove all from list.
17989         (mkinstalldirs): Remove.
17990         (.PHONY): Remove installdirs from list.
17991         ($(inst_infodir)/libc.info): Use make-target-directory.
17992         (installdirs): Remove.
17993         (subdir_%): Remove.
17994         (glibc-targets): Remove.
17995         (lib): Remove.
17996         (stubs): Remove.
17997         ($(objpfx)stubs ../po/manual.pot): Remove.
17998         ($(objpfx)stamp%): Remove.
17999         (make-target-directory): Remove.
18000         (subdir_install): Remove.
18001         (routines): Remove.
18002         (aux): Remove.
18003         (sources): Remove.
18004         (objects): Remove.
18005         (headers): Remove.
18006
18007         [BZ #13750]
18008         * manual/.gitignore: Remove, it's not needed anymore.
18009         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18010         all files in it.
18011         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18012         directory.
18013         (texis): Renamed to $(objpfx)texis.
18014         (texis-path): New, contains path to generated files.
18015         (chapters.%): Use texis-path for complete path, add extra argument
18016         libc-texinfo.sh.
18017         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18018         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18019         (summary,texi, stamp-summary): Use complete path of
18020         files. Generate files in build dir.
18021         (dir-add.texi): Build in build dir.
18022         (libm-err.texi,stamp-libm-err): Likewise.
18023         (version.texi, stamp-version): Likewise.
18024         (.%c.texi): Likewise.
18025         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18026         (mostlyclean): Remove target.
18027         (realclean): Remove target.
18028         (generated): Add new variable with contents from mostlyclean and
18029         realclean, remove entries duplicated in common-mostlyclean, add
18030         stamp-libm-err and stamp-version.
18031         (generated-dirs): Add libc directory.
18032         ($(inst_infodir)/libc.info): Install files from build dir.
18033
18034         * manual/install.texi (Configuring and compiling): Adjust since
18035         the info files are not part of the tar ball anymore.
18036
18037 2012-05-14  Andreas Jaeger  <aj@suse.de>
18038
18039         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18040         variable.
18041
18042 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
18043
18044         [BZ #13717]
18045         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18046         to 2.2.0 where earlier.
18047         * sysdeps/unix/sysv/linux/configure: Regenerated.
18048         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18049         Remove conditional code.
18050         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18051         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18052         Remove conditional code.
18053         [!__NR_lchown]: Likewise.
18054         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18055         [__NR_lchown]: Likewise.
18056         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18057         comment referencing __ASSUME_LCHOWN_SYSCALL.
18058         * sysdeps/unix/sysv/linux/i386/sigaction.c
18059         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18060         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18061         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18062         Remove conditional code.
18063         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18064         (__protocol_available): Remove #if 0 code.
18065         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18066         conditional code.
18067         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18068         * sysdeps/unix/sysv/linux/kernel-features.h
18069         (__ASSUME_GETCWD_SYSCALL): Don't define.
18070         (__ASSUME_REALTIME_SIGNALS): Likewise.
18071         (__ASSUME_PREAD_SYSCALL): Likewise.
18072         (__ASSUME_PWRITE_SYSCALL): Likewise.
18073         (__ASSUME_POLL_SYSCALL): Likewise.
18074         (__ASSUME_LCHOWN_SYSCALL): Likewise.
18075         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18076         non-SPARC.
18077         (__ASSUME_SIOCGIFNAME): Don't define.
18078         (__ASSUME_MSG_NOSIGNAL): Likewise.
18079         (__ASSUME_SENDFILE): Define unconditionally.
18080         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18081         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18082         conditional code.
18083         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18084         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18085         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18086         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18087         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18088         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18089         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18091         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18092         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18094         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18095         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18097         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18098         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18100         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18101         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18103         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18104         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18106         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18107         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18109         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18110         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18112         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18113         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18114         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18115         Remove conditional code.
18116         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18117         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18118         Remove conditional code.
18119         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18120         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18121         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18122         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18123         Remove conditional code.
18124         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18125         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18126         Remove conditional code.
18127         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18128         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18129         Remove conditional code.
18130         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18131         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18132         Remove conditional code.
18133         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18134         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18135         Remove conditional code.
18136         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18137         * sysdeps/unix/sysv/linux/sh/pwrite64.c
18138         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18139         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18140         * sysdeps/unix/sysv/linux/sigaction.c
18141         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18142         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18143         * sysdeps/unix/sysv/linux/sigpending.c
18144         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18145         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18146         * sysdeps/unix/sysv/linux/sigprocmask.c
18147         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18148         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18149         * sysdeps/unix/sysv/linux/sigsuspend.c
18150         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18151         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18152         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18153         (__libc_missing_rt_sigs): Remove.
18154         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18155         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18156         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18157         Remove conditional code.
18158         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18159         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18160         return 1.
18161         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18162         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18163         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18164         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18165
18166 2012-05-14  Andreas Jaeger  <aj@suse.de>
18167
18168         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18169         it's not used in glibc.
18170         (__coshm1): Likewise.
18171         (__acosh1p): Likewise.
18172         (__sgn): Likewise.
18173
18174         * manual/string.texi (Copying and Concatenation): Add missing
18175         variable in concat example.
18176         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18177
18178 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18179
18180         [BZ #14103]
18181         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18182         __builtin_clzl with __builtin_clzll.
18183
18184 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18185
18186         [BZ #14104]
18187         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18188         libc_freeres_ptr.
18189
18190 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18191
18192         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18193         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18194         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18195         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18196
18197 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
18198
18199         * NEWS: Update ia64 info.
18200
18201 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
18202
18203         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18204         used as bcopy.
18205
18206 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
18207
18208         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18209         * sysdeps/unix/syscalls.list (dup3): Likewise.
18210         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18211         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18212
18213 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18214
18215         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18216         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18217
18218 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18219
18220         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18221         thread pointer.
18222         (TLS_IE): Use mov/add instead of movq/addq to load thread
18223         pointer.
18224         (TLS_GD_PREFIX): New.
18225         (TLS_GD): Use it.
18226
18227 2012-05-11  David S. Miller  <davem@davemloft.net>
18228
18229         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18230         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18231         (_FPU_SETCW): Likewise.
18232
18233 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18234
18235         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18236         is 32-byte aligned.
18237
18238 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
18239
18240         [BZ #11837]
18241         * iconvdata/gb18030.c: Update tables.
18242         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
18243         characters specially.
18244         (BODY for TO_LOOP): Add encoding of missing ranges.
18245
18246 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
18247
18248         [BZ #13673]
18249         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18250         * sysdeps/mach/hurd/dup3.c: Likewise.
18251         * sysdeps/mach/hurd/readlinkat.c: Likewise.
18252         * sysdeps/powerpc/memmove.c:: Likewise.
18253
18254 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18255
18256         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18257         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18258
18259 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18260
18261         * elf/elf.h (R_X86_64_RELATIVE64): New.
18262         (R_X86_64_NUM): Updated.
18263         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18264         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
18265         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18266         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18267         tst-quad1pie tst-quad2pie
18268         (modules-names): Add tst-quadmod1 tst-quadmod2.
18269         ($(objpfx)tst-quad1): New dependency.
18270         ($(objpfx)tst-quad2): Likewise.
18271         ($(objpfx)tst-quad1pie): Likewise.
18272         ($(objpfx)tst-quad2pie): Likewise.
18273         * sysdeps/x86_64/tst-quad1.c: New file.
18274         * sysdeps/x86_64/tst-quad1pie.c: New file.
18275         * sysdeps/x86_64/tst-quad2.c: Likewise.
18276         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18277         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18278         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18279         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18280         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18281
18282 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18283
18284         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18285         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18286         * streams/stropts.h (t_scalar_t): Define type.
18287
18288         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18289         (_PATH_PRESERVE): Set to "/var/lib".
18290         (_PATH_RWHODIR): Set to "/var/spool/rwho".
18291
18292         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18293         instead of int.
18294
18295         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18296         if __dir_mkfile succeeded.
18297
18298         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18299         checking for _hurd_dtablesize.  Unlock it right after having
18300         finished _hurd_dtable allocation.
18301
18302 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18303
18304         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18305         * sysdeps/mach/hurd/configure: Regenerated.
18306         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18307         special-casing to...
18308         * sysdeps/gnu/configure.in: ... this new file.
18309         * sysdeps/unix/sysv/linux/configure: Regenerated.
18310         * sysdeps/gnu/configure: New generated file.
18311
18312         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18313         for Linux: use nsec instead of usec, as well as:
18314         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18315         members of type struct timespec.
18316         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18317         New macros.
18318         (struct stat64): Likewise.
18319         (_STATBUF_ST_NSEC): New macro.
18320         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18321
18322         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18323         __strtoul_internal rather than strtoul.
18324
18325 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18326
18327         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18328         and reject them.
18329
18330 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18331
18332         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18333         which preserves existing values.
18334         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18335
18336 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18337
18338         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18339         TIMEOUT values.  Return EINVAL for NFDS values either negative or
18340         greater than FD_SETSIZE.
18341
18342 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18343
18344         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18345         allocated, call __vm_protect to finish enabling the existing space, and
18346         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18347         allocate the remainder.
18348
18349 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18350
18351         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18352         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
18353
18354 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18355
18356         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18357         sysdeps/mach/hurd/readlink.c.
18358
18359         * posix/tst-sysconf.c (posix_options): Only use
18360         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18361         _POSIX_SYNCHRONIZED_IO when they are defined
18362         * sysdeps/mach/hurd/bits/posix_opt.h:
18363         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18364         (_XOPEN_REALTIME): Undefine macro.
18365         (_XOPEN_REALTIME_THREADS): Undefine macro.
18366         (_XOPEN_SHM): Undefine macro.
18367         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18368         macro to -1.
18369         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18370         macro to -1.
18371         (_POSIX_ASYNC_IO): Undefine macro.
18372         (_POSIX_PRIORITIZED_IO): Undefine macro.
18373         (_POSIX_SPIN_LOCKS): Define macro to -1.
18374
18375         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18376         SA_NODEFER, SA_RESETHAND.
18377         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18378         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18379         F_DUPFD_CLOEXEC.
18380
18381 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18382
18383         * elf/Makefile (pldd-modules): Define unconditionally.
18384
18385 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18386
18387         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18388
18389 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18390
18391         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18392         Return ENOENT when name is empty.
18393         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18394
18395 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18396
18397         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18398
18399         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18400
18401 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18402
18403         Fix mlock in all cases except non-readable pages.
18404         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18405         instead of VM_PROT_ALL as parameter to __vm_wire function.
18406
18407         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18408         (__mkdir): When path is `/', just fail with EEXIST.
18409         * sysdeps/mach/hurd/mkdirat.c: Likewise.
18410
18411 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18412
18413         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18414         <sys/uio.h> (for writev).
18415         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18416         and <sys/param.h> (for MIN).
18417
18418 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18419
18420         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18421         REQUESTED_TIME.  Properly set the remaining time and return EINTR
18422         if interrupted.
18423
18424 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18425
18426         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18427         Depend on against $(link-rpcuserlibs).
18428
18429 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18430
18431         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18432         (__libc_stack_end): Do not use attribute_relro.
18433         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18434         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18435         to libthread-provided value.
18436         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18437         attribute_relro.
18438
18439 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18440
18441         [BZ #3748]
18442         * bits/libc-lock.h (__libc_once_get): New macro.
18443         * sysdeps/mach/bits/libc-lock.h: Likewise.
18444         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18445         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18446         instead of using implementation details.
18447
18448         * libio/fileops.c: Unconditionally include <kernel-features.h>.
18449         * libio/freopen.c: Likewise.
18450         * libio/freopen64.c: Likewise.
18451         * misc/syslog.c: Likewise.
18452         * nscd/connections.c: Likewise.
18453         * nscd/netgroupcache.c: Likewise.
18454         * sysdeps/posix/getcwd.c: Likewise.
18455
18456 2012-05-10  Roland McGrath  <roland@hack.frob.com>
18457
18458         * math/w_ilogbf.c: Add #include <limits.h>.
18459
18460 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18461
18462         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18463         path instead of returning without unlocking.
18464
18465         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18466         immediate-write ioctls.
18467         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18468
18469 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18470
18471         * sysdeps/mach/hurd/i386/init-first.c (init): Use
18472         __builtin_frame_address instead of making assumptions about the
18473         location of the return address relative to DATA.  Force early load of
18474         the return address.
18475         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18476         __builtin_frame_address.
18477
18478         dup3 for GNU Hurd.
18479         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18480         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
18481         implement dup3 and do some further code clean-ups.
18482         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18483         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18484
18485 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18486
18487         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18488
18489         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18490         HURD_CRITICAL_END around holding _hurd_dtable_lock.
18491         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18492         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18493         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18494         d->port.lock.
18495
18496         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18497         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
18498         when handler == SIG_ERR, not when handler != SIG_ERR.
18499
18500 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18501
18502         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18503         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18504         definitions.
18505
18506         accept4 for GNU Hurd.
18507         * include/sys/socket.h (__libc_accept4): New prototype.
18508         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
18509         to implement __libc_accept4.
18510         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18511         __libc_accept4.
18512         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18513
18514         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18515         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18516         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18517         signal-defines.sym.
18518
18519 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18520
18521         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18522
18523 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18524
18525         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18526         assertion on O_CLOEXEC flag.
18527         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18528         * hurd/intern-fd.c: Likewise.
18529         * hurd/port2fd.c: Likewise.
18530
18531 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18532
18533         [BZ #3906]
18534         * bits/in.h (IPV6_PKTINFO): Define new macro.
18535         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18536
18537 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18538
18539         [BZ #13954]
18540         [BZ #13955]
18541         [BZ #13956]
18542         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18543         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18544         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18545         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18546         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18547         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18548         * math/libm-test.inc (logb_test) : Additional logb tests.
18549
18550 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
18551             Andreas Jaeger  <aj@suse.de>
18552
18553         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18554         * configure: Regenerated.
18555         * config.h.in (LINK_OBSOLETE_RPC): New macro.
18556         * config.make.in (link-obsolete-rpc): New substituted variable.
18557         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18558         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18559         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18560         (shared-only-routines): Don't set it under [link-obsolete-rpc],
18561         so that libc.a contains the symbols.
18562         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18563         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18564         * sunrpc/auth_none.c: Likewise.
18565         * sunrpc/auth_unix.c: Likewise.
18566         * sunrpc/authdes_prot.c: Likewise.
18567         * sunrpc/authuxprot.c: Likewise.
18568         * sunrpc/clnt_gen.c: Likewise.
18569         * sunrpc/clnt_perr.c: Likewise.
18570         * sunrpc/clnt_raw.c: Likewise.
18571         * sunrpc/clnt_simp.c: Likewise.
18572         * sunrpc/clnt_tcp.c: Likewise.
18573         * sunrpc/clnt_udp.c: Likewise.
18574         * sunrpc/clnt_unix.c: Likewise.
18575         * sunrpc/des_crypt.c: Likewise.
18576         * sunrpc/des_soft.c: Likewise.
18577         * sunrpc/get_myaddr.c: Likewise.
18578         * sunrpc/key_call.c: Likewise.
18579         * sunrpc/key_prot.c: Likewise.
18580         * sunrpc/netname.c: Likewise.
18581         * sunrpc/pm_getmaps.c: Likewise.
18582         * sunrpc/pm_getport.c: Likewise.
18583         * sunrpc/pmap_clnt.c: Likewise.
18584         * sunrpc/pmap_prot.c: Likewise.
18585         * sunrpc/pmap_prot2.c: Likewise.
18586         * sunrpc/pmap_rmt.c: Likewise.
18587         * sunrpc/publickey.c: Likewise.
18588         * sunrpc/rpc_cmsg.c: Likewise.
18589         * sunrpc/rpc_common.c: Likewise.
18590         * sunrpc/rpc_dtable.c: Likewise.
18591         * sunrpc/rpc_prot.c: Likewise.
18592         * sunrpc/rpc_thread.c: Likewise.
18593         * sunrpc/rtime.c: Likewise.
18594         * sunrpc/svc.c: Likewise.
18595         * sunrpc/svc_auth.c: Likewise.
18596         * sunrpc/svc_raw.c: Likewise.
18597         * sunrpc/svc_run.c: Likewise.
18598         * sunrpc/svc_tcp.c: Likewise.
18599         * sunrpc/svc_udp.c: Likewise.
18600         * sunrpc/svc_unix.c: Likewise.
18601         * sunrpc/svcauth_des.c: Likewise.
18602         * sunrpc/xcrypt.c: Likewise.
18603         * sunrpc/xdr.c: Likewise.
18604         * sunrpc/xdr_array.c: Likewise.
18605         * sunrpc/xdr_float.c: Likewise.
18606         * sunrpc/xdr_intXX_t.c: Likewise.
18607         * sunrpc/xdr_mem.c: Likewise.
18608         * sunrpc/xdr_rec.c: Likewise.
18609         * sunrpc/xdr_ref.c: Likewise.
18610         * sunrpc/xdr_sizeof.c: Likewise.
18611         * sunrpc/xdr_stdio.c: Likewise.
18612
18613 2012-05-10  Roland McGrath  <roland@hack.frob.com>
18614
18615         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18616         change.  Update copyright years.
18617
18618 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
18619
18620         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18621
18622 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
18623             Joseph Myers  <joseph@codesourcery.com>
18624             Paul Pluzhnikov  <ppluzhnikov@google.com>
18625
18626         [BZ #14012]
18627         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18628         requiring rpcgen.
18629         [cross-compiling] (extra-libs): Likewise.
18630         [cross-compiling] (extra-libs-others): Likewise.
18631         [cross-compiling] (librpcsvc-routines): Likewise.
18632         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18633         [cross-compiling] (omit-deps): Likewise.
18634         (sunrpc-CPPFLAGS): New variable.
18635         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18636         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18637         (cross-rpcgen-objs): New variable.
18638         (extra-objs): Append $(cross-rpcgen-objs).
18639         ($(cross-rpcgen-objs)): New rule.
18640         ($(objpfx)cross-rpcgen): Likewise.
18641         (rpcgen-cmd): Define to use $(built-program-file).  Expand
18642         comment.
18643         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18644         ($(objpfx)x%.stmp): Likewise.
18645         * sunrpc/proto.h [IS_IN_build] (_): Define.
18646         [IS_IN_build] (_libc_intl_domainname): Likewise.
18647
18648 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18649
18650         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18651         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18652         and R_X86_64_TPOFF64.
18653
18654 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
18655
18656         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18657         sysdeps/unix/sysv/syscalls.list.
18658         (stime): Likewise.
18659         (utime): Likewise.
18660         * sysdeps/unix/sysv/syscalls.list: Remove file.
18661
18662 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
18663
18664         [BZ #3440]
18665         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18666         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18667         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18668         (__LC_IDENTIFICATION): Make these macros useful in #if
18669         expressions, as required by C99.
18670
18671 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
18672
18673         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18674         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
18675         after this.
18676
18677 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
18678
18679         * stdlib/longlong.h: Updated from GCC.
18680
18681 2012-05-09  Andreas Jaeger  <aj@suse.de>
18682
18683         * nscd/nscd.c (run_modes): Make named enum, reorder so that
18684         default is first entry.
18685         (run_mode): Set type.
18686         (main): Remove informal message about syslog.
18687         (options): Fix typo.
18688
18689         [BZ #14053]
18690         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
18691         to asm.
18692         (lrint): Likewise.
18693         (llrintf): Likewise.
18694         (llrint): Likewise.
18695         (rint): Likewise.
18696         (rintf): Likewise.
18697         (nearbyint): Likewise.
18698         (nearbyintf): Likewise.
18699
18700 2012-05-09  Andreas Jaeger  <aj@suse.de>
18701             Pedro Alves  <palves@redhat.com>
18702
18703         * nscd/nscd.c (run_mode): Use enum.
18704         (main): Cleanup coding style issue.
18705
18706 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
18707             Andreas Jaeger  <aj@suse.de>
18708
18709         * nscd/nscd.c (go_background): Replaced with...
18710         (run_mode): ... this.
18711         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
18712         (options): Add -F --foreground.
18713         (main): Implement it.
18714         (parse_opt): Parse it.
18715
18716 2012-05-09  Andreas Jaeger  <aj@suse.de>
18717
18718         [BZ #14083]
18719         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18720         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18721         -Wconversion warning.
18722         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18723         Likewise.
18724
18725 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
18726
18727         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
18728         == 0.
18729         (LC_ALL): Use macro-int-constant.
18730         (LC_COLLATE): Likewise.
18731         (LC_CTYPE): Likewise.
18732         (LC_MESSAGES): Likewise.
18733         (LC_MONETARY): Likewise.
18734         (LC_NUMERIC): Likewise.
18735         (LC_TIME): Likewise.
18736         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18737         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18738         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18739         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18740         Specify type.
18741         [C99-based standards] (float_t): Expect type.
18742         [C99-based standards] (double_t): Expect type.
18743         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
18744         type.
18745         [C99-based standards] (HUGE_VALL): Likewise.
18746         [C99-based standards] (INFINITY): Likewise.
18747         [C99-based standards] (NAN): Likewise.
18748         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18749         [C99-based standards] (FP_NAN): Likewise.
18750         [C99-based standards] (FP_NORMAL): Likewise.
18751         [C99-based standards] (FP_SUBNORMAL): Likewise.
18752         [C99-based standards] (FP_ZERO): Likewise.
18753         [C99-based standards] (FP_FAST_FMA): Use
18754         optional-macro-int-constant.  Specify type.  Require == 1.
18755         [C99-based standards] (FP_FAST_FMAF): Likewise.
18756         [C99-based standards] (FP_FAST_FMAL): Likewise.
18757         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18758         [C99-based standards] (FP_ILOGBNAN): Likewise.
18759         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18760         Specify type.
18761         [C99-based standards] (MATH_ERREXCEPT): Likewise.
18762         [C99-based standards] (math_errhandling): Specify type.
18763         [ISO99 || ISO11] (signgam): Do not allow.
18764         [non-C99-based standards] (copysignf): Do not allow.
18765         [non-C99-based standards] (exp2f): Likewise.
18766         [non-C99-based standards] (log2f): Likewise.
18767         [non-C99-based standards] (modff): Allow.
18768         [non-C99-based standards] (erff): Do not allow.
18769         [non-C99-based standards] (erfcf): Likewise.
18770         [non-C99-based standards] (gammaf): Likewise.
18771         [non-C99-based standards] (hypotf): Likewise.
18772         [non-C99-based standards] (j0f): Likewise.
18773         [non-C99-based standards] (j1f): Likewise.
18774         [non-C99-based standards] (jnf): Likewise.
18775         [non-C99-based standards] (lgammaf): Likewise.
18776         [non-C99-based standards] (tgammaf): Likewise.
18777         [non-C99-based standards] (y0f): Likewise.
18778         [non-C99-based standards] (y1f): Likewise.
18779         [non-C99-based standards] (ynf): Likewise.
18780         [non-C99-based standards] (isnanf): Likewise.
18781         [non-C99-based standards] (acoshf): Likewise.
18782         [non-C99-based standards] (asinhf): Likewise.
18783         [non-C99-based standards] (atanhf): Likewise.
18784         [non-C99-based standards] (cbrtf): Likewise.
18785         [non-C99-based standards] (expm1f): Likewise.
18786         [non-C99-based standards] (ilogbf): Likewise.
18787         [non-C99-based standards] (log1pf): Likewise.
18788         [non-C99-based standards] (logbf): Likewise.
18789         [non-C99-based standards] (nextafterf): Likewise.
18790         [non-C99-based standards] (remainderf): Likewise.
18791         [non-C99-based standards] (rintf): Likewise.
18792         [non-C99-based standards] (scalbf): Likewise.
18793         [non-C99-based standards] (copysignl): Likewise.
18794         [non-C99-based standards] (exp2l): Likewise.
18795         [non-C99-based standards] (log2l): Likewise.
18796         [non-C99-based standards] (modfl): Allow.
18797         [non-C99-based standards] (erfl): Do not allow.
18798         [non-C99-based standards] (erfcl): Likewise.
18799         [non-C99-based standards] (gammal): Likewise.
18800         [non-C99-based standards] (hypotl): Likewise.
18801         [non-C99-based standards] (j0l): Likewise.
18802         [non-C99-based standards] (j1l): Likewise.
18803         [non-C99-based standards] (jnl): Likewise.
18804         [non-C99-based standards] (lgammal): Likewise.
18805         [non-C99-based standards] (tgammal): Likewise.
18806         [non-C99-based standards] (y0l): Likewise.
18807         [non-C99-based standards] (y1l): Likewise.
18808         [non-C99-based standards] (ynl): Likewise.
18809         [non-C99-based standards] (isnanl): Likewise.
18810         [non-C99-based standards] (acoshl): Likewise.
18811         [non-C99-based standards] (asinhl): Likewise.
18812         [non-C99-based standards] (atanhl): Likewise.
18813         [non-C99-based standards] (cbrtl): Likewise.
18814         [non-C99-based standards] (expm1l): Likewise.
18815         [non-C99-based standards] (ilogbl): Likewise.
18816         [non-C99-based standards] (log1pl): Likewise.
18817         [non-C99-based standards] (logbl): Likewise.
18818         [non-C99-based standards] (nextafterl): Likewise.
18819         [non-C99-based standards] (remainderl): Likewise.
18820         [non-C99-based standards] (rintl): Likewise.
18821         [non-C99-based standards] (scalbl): Likewise.
18822         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18823         [non-C99-based standards] (FP_*): Do not allow.
18824         [C99-based standards] (FP_*): Change to
18825         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18826         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18827         allow.
18828         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18829         (SIG_ERR): Likewise.
18830         [X/Open-based standards] (SIG_HOLD): Likewise.
18831         (SIG_IGN): Likewise.
18832         (SIGABRT): Use macro-int-constant.  Specify type.  Require
18833         positive value.
18834         (SIGFPE): Likewise.
18835         (SIGILL): Likewise.
18836         (SIGINT): Likewise.
18837         (SIGSEGV): Likewise.
18838         (SIGTER): Likewise.
18839         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18840         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18841         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18842         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18843         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18844         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18845         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18846         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18847         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18848         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18849         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18850         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18851         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18852         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18853         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18854         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18855         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18856         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18857         [X/Open-based standards] (SIGTRAP): Likewise.
18858         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18859         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18860         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18861         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18862         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18863         allow.
18864
18865 2012-05-08  Ian Wienand  <ianw@vmware.com>
18866
18867         [BZ #14080]
18868         * time/tzset.c (__tzset_parse_tz): Update default rules for
18869         daylight time changes in the Energy Policy Act of 2005.
18870
18871 2012-05-09  Andreas Jaeger  <aj@suse.de>
18872
18873         [BZ #13983]
18874         * elf/ldconfig.c (parse_conf): Change string to make clear that
18875         ldconfig only issued a warning if ld.so.conf does not exist.
18876
18877 2012-05-08  David S. Miller  <davem@davemloft.net>
18878
18879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18880         movxtod instead of popping the value on the stack.
18881
18882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18883
18884 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
18885
18886         * config.h.in: Add HAVE_ARM_PCS_VFP.
18887
18888 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
18889
18890         [BZ #13979]
18891         * include/features.h: Warn if user requests __FORTIFY_SOURCE
18892         checking but the checks are disabled for any reason.
18893
18894 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
18895
18896         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18897         and ELF64_R_TYPE with ELFW(R_TYPE).
18898
18899 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
18900
18901         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18902         (ulimit): Likewise.
18903
18904         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18905         (settimeofday): Likewise.
18906
18907 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
18908
18909         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
18910         a struct th_u2 inside the union, and move tu_block/tu_code into
18911         a new th_u3 union of tu_block/tu_code inside of that.  Move
18912         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
18913         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
18914         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18915         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18916         (th_stuff): Change to th_u1.tu_stuff.
18917         (th_data): Define.
18918         (th_msg): Change to th_u1.th_u2.tu_data.
18919
18920 2012-05-07  David S. Miller  <davem@davemloft.net>
18921
18922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18923
18924         [BZ #14074]
18925         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18926         (SETUP_PIC_REG): Use it.
18927         (SETUP_PIC_REG_LEAF): Use it.
18928
18929 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
18930
18931         [BZ #13885]
18932         [BZ #13923]
18933         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18934         USE_AS_EXPM1L.
18935         (EXPL_FINITE): Likewise.
18936         (FLDLOG): Likewise.
18937         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18938         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18939         e_expl.S.
18940         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18941         USE_AS_EXPM1L.
18942         (EXPL_FINITE): Likewise.
18943         (FLDLOG): Likewise.
18944         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18945         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18946         e_expl.S.
18947         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
18948         test of -max_value argument for long double.
18949         * sysdeps/i386/fpu/libm-test-ulps: Update.
18950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18951
18952 2012-05-06  David S. Miller  <davem@davemloft.net>
18953
18954         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18955         quad soft-float symbols whose references which are compiler
18956         generated.
18957         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18958
18959 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
18960
18961         [BZ #13884]
18962         [BZ #13914]
18963         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18964         USE_AS_EXP10L.
18965         (EXPL_FINITE): Likewise.
18966         (FLDLOG): Likewise.
18967         (c0): Likewise.
18968         (c1): Likewise.
18969         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
18970         Adjust comments for base varying.
18971         (__expl_finite): Change alias to EXPL_FINITE.
18972         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18973         e_expl.S.
18974         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18975         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18976         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18977         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18978         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18979         USE_AS_EXP10L.
18980         (EXPL_FINITE): Likewise.
18981         (FLDLOG): Likewise.
18982         (c0): Likewise.
18983         (c1): Likewise.
18984         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
18985         Adjust comments for base varying.
18986         (__expl_finite): Change alias to EXPL_FINITE.
18987         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
18988         tests for bugs.
18989         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18990
18991         [BZ #14064]
18992         * math/libm-test.inc (check_float_internal): Correct ulp
18993         calculation for subnormal expected results.
18994
18995 2012-05-06  Andreas Jaeger  <aj@suse.de>
18996
18997         * Makeconfig (+math-flags): New, set to -frounding-math.
18998         (+cflags): Add +math-flags so that all of glibc gets compiled with
18999         it.
19000
19001         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19002
19003 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
19004
19005         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19006         Disable one test.
19007
19008         [BZ #13787]
19009         [BZ #13922]
19010         [BZ #14036]
19011         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19012         (__ieee754_expl): Allow for and saturate large arguments.
19013         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19014         (u_threshold): Likewise.
19015         (__exp): Call __ieee754_exp before checking for overflow and
19016         underflow.
19017         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19018         (u_threshold): Likewise.
19019         (__expf): Call __ieee754_expf before checking for overflow and
19020         underflow.
19021         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19022         (u_threshold): Likewise.
19023         (__expl): Call __ieee754_expl before checking for overflow and
19024         underflow.
19025         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19026         (__ieee754_expl): Allow for and saturate large arguments.
19027         * math/libm-test.inc (exp_test): Add another test.  Do not allow
19028         missing overflow exception on overflow.
19029         (expm1_test): Do not allow missing overflow exception on overflow.
19030
19031         * sysdeps/i386/fpu/e_expl.c: Move to ...
19032         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
19033         rather than using inline asm.
19034         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19035         * sysdeps/x86_64/fpu/e_expl.S: Copy from
19036         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19037
19038         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19039         (nice): Likewise.
19040         (poll): Likewise.
19041         (signal): Likewise.
19042         (time): Likewise.
19043         (times): Likewise.
19044
19045 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19046
19047         * sysdeps/unix/syscalls.list (adjtime): Add entry from
19048         sysdeps/unix/common/syscalls.list.
19049         (fchmod): Likewise.
19050         (fchown): Likewise.
19051         (ftruncate): Likewise.
19052         (getrusage): Likewise.
19053         (gettimeofday): Likewise.
19054         (setpgid): Likewise.
19055         (setregid): Likewise.
19056         (setreuid): Likewise.
19057         (sigaction): Likewise.
19058         (truncate): Likewise.
19059         (vhangup): Likewise.
19060         * sysdeps/unix/common/syscalls.list: Remove file.
19061         * sysdeps/unix/bsd/Implies: Don't include unix/common.
19062         * sysdeps/unix/sysv/linux/Implies: Likewise.
19063
19064 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
19065
19066         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19068         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19069         Moved to ...
19070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19071         Here.
19072         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19073         to ...
19074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19075         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19076         to ...
19077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19078         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19079         to ...
19080         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19081         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19082         to ...
19083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19084         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19085         to ...
19086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19087         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19088         to ...
19089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19090         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19091         to ...
19092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19093         Here.
19094         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19095         to ...
19096         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19097         Here.
19098         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19099         to ...
19100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19101         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19102         Moved to ...
19103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19104         Here.
19105         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19106         to ...
19107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19108
19109 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19110
19111         * sysdeps/unix/common/bits/dirent.h: Remove file.
19112         * sysdeps/unix/common/bits/fcntl.h: Likewise.
19113
19114         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19115         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19116         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19117         * sysdeps/unix/bsd/isatty.c: Likewise.
19118         * sysdeps/unix/bsd/tcdrain.c: Likewise.
19119         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19120         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19121
19122 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19123
19124         [BZ #13563]
19125         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19126         long double comparison inaccuracies.
19127         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19129
19130 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
19131
19132         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19133         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19134
19135 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19136
19137         [BZ #14049]
19138         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19139         nonzero digits before rounding a hex value.
19140         * stdlib/tst-strtod.c (tests): Add another test.
19141
19142 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19143
19144         * sysdeps/s390/fpu/libm-test-ulps: Update.
19145
19146 2012-05-03  Andreas Jaeger  <aj@suse.de>
19147
19148         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19149         does not get optimized out.
19150         (malloc_opt_barrier): New.
19151
19152 2012-05-03  Andreas Jaeger  <aj@suse.de>
19153             Roland McGrath  <roland@hack.frob.com>
19154
19155         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19156         intermediate file deletion.
19157         (generated): Add .symlist files.
19158
19159 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
19160
19161         [BZ #13775]
19162         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19163         Redirect under this condition.
19164         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19165         [__USE_GNU] (__dprintf_chk): Not under this condition.
19166         [__USE_GNU] (__vdprintf_chk): Likewise.
19167         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19168         under this condition.
19169         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19170         [__USE_XOPEN2K8] (dprintf): Define under this condition.
19171         [__USE_XOPEN2K8] (vdprintf): Likewise.
19172         [__USE_GNU] (__dprintf_chk): Not under this condition.
19173         [__USE_GNU] (__vdprintf_chk): Likewise.
19174         [__USE_GNU] (dprintf): Likewise.
19175         [__USE_GNU] (vdprintf): Likewise.
19176
19177 2012-05-03  Roland McGrath  <roland@hack.frob.com>
19178
19179         * elf/Makefile (common-generated): Set this instead of generated for
19180         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
19181         $(all-built-dso)-derived lists.
19182
19183 2012-05-03  Andreas Jaeger  <aj@suse.de>
19184
19185         * sysdeps/i386/fpu/libm-test-ulps: Update.
19186
19187         * FAQ: Removed.
19188         * FAQ.in: Likewise.
19189         * scripts/gen-FAQ.pl: Likewise.
19190         * manual/install.texi (Installation): Point to online location of
19191         FAQ.
19192         * Makefile (files-for-dist): Remove FAQ.
19193         (FAQ): Remove.
19194
19195 2012-05-02  Allan McRae  <allan@archlinux.org>
19196
19197         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19198         (LDFLAGS-reldepmod5.so): Likewise.
19199         (LDFLAGS-reldep6mod1.so): Likewise.
19200         (LDFLAGS-reldep6mod4.so): Likewise.
19201         (LDFLAGS-reldep8mod3.so): Likewise.
19202         (LDFLAGS-unload4mod1.so): Likewise.
19203         (LDFLAGS-unload4mod2.so): Likewise.
19204         (LDFLAGS-tst-initorder): Likewise.
19205         (LDFLAGS-tst-initordera2.so): Likewise.
19206         (LDFLAGS-tst-initordera3.so): Likewise.
19207         (LDFLAGS-tst-initordera4.so): Likewise.
19208         (LDFLAGS-tst-initorderb2.so): Likewise.
19209         (LDFLAGS-noload): Likewise.
19210         (LDFLAGS-next): Likewise.
19211         (LDFLAGS-order2mod1.so): Likewise.
19212         (LDFLAGS-order2mod2.so): Likewise.
19213         (LDFLAGS-tst-initorder2): Likewise.
19214         (LDFLAGS-tst-initorder2a.so): Likewise.
19215         (LDFLAGS-tst-initorder2b.so): Likewise.
19216         (LDFLAGS-tst-initorder2c.so): Likewise.
19217         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19218
19219 2012-05-02  David S. Miller  <davem@davemloft.net>
19220
19221         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19222
19223 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
19224
19225         [BZ #14055]
19226         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19227
19228 2012-05-02  Andreas Jaeger  <aj@suse.de>
19229
19230         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19231         since we manipulate rounding mode.
19232         (CPPFLAGS-test-idouble.c): Likewise.
19233         (CPPFLAGS-test-ifloat.c): Likewise.
19234         (CFLAGS-test-ldouble.c): Likewise.
19235         (CFLAGS-test-double.c): Likewise.
19236         (CFLAGS-test-float.c): Likewise.
19237         (CFLAGS-test-misc.c): Likewise.
19238         (CFLAGS-test-test-fenv.c): Likewise.
19239
19240 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19241
19242         [BZ #2550]
19243         [BZ #2570]
19244         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19245         comparisons to determine direction to adjust input.
19246
19247 2012-05-01  Roland McGrath  <roland@hack.frob.com>
19248
19249         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19250         output to the target.
19251
19252         * scripts/localplt.awk: New file.
19253         * elf/Makefile ($(objpfx)check-localplt): Target removed.
19254         (check-localplt-CFLAGS): Variable removed.
19255         ($(all-built-dso:=.jmprel)): New static pattern rule.
19256         (generated): Add those targets.
19257         (localplt-built-dso): New variable.
19258         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19259
19260         * elf/check-localplt.c: File removed.
19261
19262         * scripts/check-execstack.awk: New file.
19263         * elf/Makefile ($(objpfx)check-execstack): Target removed.
19264         (check-execstack-CFLAGS): Variable removed.
19265         ($(objpfx)check-execstack.h): Target removed.
19266         ($(objpfx)execstack-default): New target.
19267         (generated): Add that instead of check-execstack.h.
19268         ($(all-built-dso:=.phdr)): New static pattern rule.
19269         (generated): Add those targets.
19270         * elf/check-execstack.c: File removed.
19271
19272         * scripts/check-textrel.awk: New file.
19273         * elf/Makefile ($(objpfx)check-textrel): Target removed.
19274         (check-textrel-CFLAGS): Variable removed.
19275         (all-built-dso): Use := to define.o
19276         ($(all-built-dso:=.dyn)): New static pattern rule.
19277         (generated): Add those targets.
19278         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19279         * config.make.in (READELF): New substituted variable.
19280         * elf/check-textrel.c: File removed.
19281
19282 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
19283
19284         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19285         allow.
19286         * conform/data/ctype.h-data [C99-based standards] (isblank):
19287         Expect function.
19288         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19289         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19290         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19291         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19292         Specify type.  Require positive value.
19293         (EILSEQ): Likewise.
19294         (ERANGE): Likewise.
19295         [ISO || POSIX] (EILSEQ): Do not expect.
19296         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19297         Specify type.  Require positive value.
19298         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19299         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19300         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19301         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19302         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19303         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19304         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19305         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19306         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19307         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19308         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19309         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19310         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19311         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19312         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19313         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19314         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19315         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19316         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19317         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19318         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19319         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19320         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19321         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19322         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19323         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19324         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19325         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19326         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19327         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19328         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19329         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19330         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19331         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19332         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19333         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19334         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19335         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19336         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19337         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19338         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19339         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19340         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19341         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19342         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19343         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19344         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19345         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19346         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19347         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19348         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19349         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19350         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19351         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19352         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19353         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19354         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19355         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19356         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19357         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19358         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19359         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19360         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19361         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19362         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19363         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19364         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19365         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19366         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19367         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19368         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19369         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19370         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19371         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19372         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19373         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19374         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19375         Require >= 2.
19376         (FLT_ROUNDS): Expect as macro, not constant.
19377         (FLT_MANT_DIG): Use macro-int-constant.
19378         (DBL_MANT_DIG): Likewise.
19379         (LDBL_MANT_DIG): Likewise.
19380         (FLT_DIG): Likewise.
19381         (DBL_DIG): Likewise.
19382         (LDBL_DIG): Likewise.
19383         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
19384         (DBL_MIN_EXP): Likewise.
19385         (LDBL_MIN_EXP): Likewise.
19386         (FLT_MAX_EXP): Use macro-int-constant.
19387         (DBL_MAX_EXP): Likewise.
19388         (LDBL_MAX_EXP): Likewise.
19389         (FLT_MAX_10_EXP): Likewise.
19390         (DBL_MAX_10_EXP): Likewise.
19391         (LDBL_MAX_10_EXP): Likewise.
19392         (FLT_MAX): Use macro-constant.
19393         (DBL_MAX): Likewise.
19394         (LDBL_MAX): Likewise.
19395         (FLT_EPSILON): Use macro-constant.  Give upper bound.
19396         (DBL_EPSILON): Likewise.
19397         (LDBL_EPSILON): Likewise.
19398         (FLT_MIN): Likewise.
19399         (DBL_MIN): Likewise.
19400         (LDBL_MIN): Likewise.
19401         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19402         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19403         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19404         [ISO11] (FLT_HAS_SUBNORM): Likewise.
19405         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19406         [ISO11] (DBL_DECIMAL_DIG): Likewise.
19407         [ISO11] (FLT_DECIMAL_DIG): Likewise.
19408         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19409         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19410         [ISO11] (FLT_TRUE_MIN): Likewise.
19411         [ISO11] (LDBL_TRUE_MIN): Likewise.
19412         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19413         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19414         (SCHAR_MIN): Use macro-int-constant.  Specify type.
19415         (SCHAR_MAX): Likewise.
19416         (UCHAR_MAX): Likewise.
19417         (CHAR_MIN): Likewise.
19418         (CHAR_MAX): Likewise.
19419         (MB_LEN_MAX): Use macro-int-constant.
19420         (SHRT_MIN): Use macro-int-constant.  Specify type.
19421         (SHRT_MAX): Likewise.
19422         (USHRT_MAX): Likewise.
19423         (INT_MAX): Likewise.
19424         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
19425         bound negative.
19426         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19427         bound with "U".
19428         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19429         bound with "L".
19430         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
19431         bound negative.  Suffix upper bound with "L".
19432         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19433         bound with "UL".
19434         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19435         Specify type.
19436         [C99-based standards] (LLONG_MAX): Likewise.
19437         [C99-based standards] (ULLONG_MAX): Likewise.
19438         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
19439         == 0.
19440         [ISO11] (max_align_t): Require type.
19441         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19442
19443         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19444         from $CFLAGS, without defining away __attribute__ calls.
19445         (checknamespace): Use $CFLAGS_namespace.
19446
19447         * conform/conformtest.pl (@keywords): Only include C99 keywords
19448         for standards based on C99 or C11.
19449
19450         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19451         Disable tests.
19452         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19453         UNIX98]: Likewise.
19454
19455         * conform/conformtest.pl: Handle "macro-int-constant" and test for
19456         usability of symbols in #if.
19457
19458         * conform/conformtest.pl: If macro or constant types start
19459         "promoted:", expect the symbol to be of the following type
19460         promoted by the integer promotions.
19461
19462         * conform/conformtest.pl: Parse all "constant" and "macro" lines
19463         in one place.  Also handle "macro-constant".
19464
19465         * conform/conformtest.pl: Only accept expected macro values with
19466         "==".  Parse all "macro" lines in one place.
19467         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19468
19469         * conform/conformtest.pl: Handle braced types on "constant" lines
19470         instead of handling "typed-constant".
19471         * conform/data/signal.h-data: Use "constant" instead of
19472         "typed-constant".
19473
19474         * conform/conformtest.pl: Handle "optional-" at start of lines in
19475         one place rather than duplicating several cases.  Handle each
19476         format of "macro" line with initial "optional-".
19477
19478         * conform/conformtest.pl: Only accept expected constant or
19479         optional-constant values with "==".  Parse all "constant" lines in
19480         one place.  Parse all "optional-constant" lines in one place.
19481         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19482         * conform/data/fmtmsg.h-data: Likewise.
19483         * conform/data/netinet/in.h-data: Likewise.
19484         * conform/data/tar.h-data: Likewise.
19485         * conform/data/limits.h-data: Use "==" form on "constant" and
19486         "optional-constant" lines.
19487
19488         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19489         Use -std=c99 for XOPEN2K.
19490         (@knownproblems): Remove.
19491         (newtoken): Don't check %isknown.
19492
19493         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19494         Do not expect macro.
19495         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19496         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19497         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19498         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19499         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19500         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19501         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19502         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19503         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19504         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19505         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19506         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19507         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19508         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19509         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19510         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19511         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19512         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19513         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19514         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19515         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19516         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19517         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19518         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19519         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19520         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19521         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19522         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19523         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19524         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19525         [XPG3] (acosh): Likewise.
19526         [XPG3] (asinh): Likewise.
19527         [XPG3] (atanh): Likewise.
19528         [XPG3] (cbrt): Likewise.
19529         [XPG3] (expm1): Likewise.
19530         [XPG3] (ilogb): Likewise.
19531         [XPG3] (log1p): Likewise.
19532         [XPG3] (logb): Likewise.
19533         [XPG3] (nextafter): Likewise.
19534         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19535         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19536         [XPG3] (remainder): Likewise.
19537         [XPG3] (rint): Likewise.
19538         [XPG3 || XPG4 || UNIX98] (round): Likewise.
19539         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19540         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19541         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19542         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19543         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19544         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19545         [UNIX98 || XOPEN2K] (scalb): Expect.
19546         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19547         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19548         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19549         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19550         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19551         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19552         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19553         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19554         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19555         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19556         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19557         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19558         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19559         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19560         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19561         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19562         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19563         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19564         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19565         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19566         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19567         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19568         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19569         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19570         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19571         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19572         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19573         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19574         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19575         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19576         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19577         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19578         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19579         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19580         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19581         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19582         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19583         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19584         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19585         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19586         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19587         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19588         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19589         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19590         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19591         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19592         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19593         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19594         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19595         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19596         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19597         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19598         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19599         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19600         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19601         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19602         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19603         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19604         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19605         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19606         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19607         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19608         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19609         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19610         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19611         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19612         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19613         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19614         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19615         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19616         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19617         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19618         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19619         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19620         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19621         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19622         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19623         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19624         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19625         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19626         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19627         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19628         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19629         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19630         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19631         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19632         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19633         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19634         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19635         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19636         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19637         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19638         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19639         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19640         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19641         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19642         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19643         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19644         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19645         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19646         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19647         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19648         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19649         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19650         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19651         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19652         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19653         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19654         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19655         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19656         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19657         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19658         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19659         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19660         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19661         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19662         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19663         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19664         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19665         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19666         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19667         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19668         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19669         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19670         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19671         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19672         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19673         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19674         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19675         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19676         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19677         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19678         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19679         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19680         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19681         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19682         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19683
19684         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19685         _XOPEN_SOURCE_EXTENDED for XPG4.
19686
19687         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19688
19689         * Makeconfig (localtime): Remove variable.
19690         (inst_localtime-file): Likewise.
19691
19692 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19693
19694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19695         Update.
19696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19697         Update.
19698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19699         Update.
19700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19701         Update.
19702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19703         Update.
19704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19705         Update.
19706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19707         Update.
19708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19709         Update.
19710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19711         Update.
19712
19713 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
19714
19715         [BZ #2550]
19716         [BZ #2570]
19717         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19718         comparisons to determine direction to adjust input.
19719         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19720         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19721         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19722         Likewise.
19723         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19724         Likewise.
19725         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19726         Likewise.
19727         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19728         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19729         Likewise.
19730         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19731         Likewise.
19732         * math/libm-test.inc (nexttoward_test): Add more tests.
19733
19734 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19735
19736         [BZ #14040]
19737         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19738         in version GLIBC_2.1, not GLIBC_2.0.
19739         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19740         Likewise.
19741
19742 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
19743
19744         [BZ #13942]
19745         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19746         (1 - x) * (1 + x).
19747         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19748         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19749         * math/libm-test.inc (acos_test): Add more tests.
19750         (asin_test): Likewise.
19751         * sysdeps/i386/fpu/libm-test-ulps: Update.
19752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19753
19754         [BZ #14034]
19755         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19756         of square root.
19757         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19758         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19759         * math/libm-test.inc (acos_test_tonearest): New function.
19760         (acos_test_towardzero): Likewise.
19761         (acos_test_downward): Likewise.
19762         (acos_test_upward): Likewise.
19763         (asin_test_tonearest): Likewise.
19764         (asin_test_towardzero): Likewise.
19765         (asin_test_downward): Likewise.
19766         (asin_test_upward): Likewise.
19767         (main): Call the new functions.
19768         * sysdeps/i386/fpu/libm-test-ulps: Update.
19769         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19770
19771         [BZ #13884]
19772         [BZ #13924]
19773         * math/e_exp10.c: Include <float.h>.
19774         (__ieee754_exp10): Handle underflow here rather than multiplying
19775         large negative argument by M_LN10.
19776         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19777         of __ieee754_expf.
19778         * math/e_exp10l.c: Include <float.h>.
19779         (__ieee754_exp10l): Handle underflow here rather than multiplying
19780         large negative argument by M_LN10l.
19781         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
19782         spurious overflow exception on underflow.
19783
19784 2012-04-29  Marek Polacek  <polacek@redhat.com>
19785
19786         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19787         (__fortify_function): New macro.
19788         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19789         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19790         __extern_always_inline.
19791         * libio/bits/stdio2.h: Likewise.
19792         * libio/bits/stdio.h: Likewise.
19793         * string/string.h: Likewise.
19794         * string/bits/string3.h: Likewise.
19795         * include/stdio.h: Likewise.
19796         * stdlib/bits/stdlib.h: Likewise.
19797         * stdlib/stdlib.h: Likewise.
19798         * rt/bits/mqueue2.h: Likewise.
19799         * rt/mqueue.h: Likewise.
19800         * posix/bits/unistd.h: Likewise.
19801         * posix/unistd.h: Likewise.
19802         * io/bits/poll2.h: Likewise.
19803         * io/bits/fcntl2.h: Likewise.
19804         * io/fcntl.h: Likewise.
19805         * io/sys/poll.h: Likewise.
19806         * misc/bits/syslog.h: Likewise.
19807         * misc/bits/syslog-ldbl.h: Likewise.
19808         * misc/sys/syslog.h: Likewise.
19809         * socket/bits/socket2.h: Likewise.
19810         * socket/sys/socket.h: Likewise.
19811         * debug/tst-chk1.c: Likewise.
19812         * wcsmbs/bits/wchar2.h: Likewise.
19813         * wcsmbs/bits/wchar-ldbl.h: Likewise.
19814         * wcsmbs/wchar.h: Likewise.
19815
19816 2012-04-29  Andreas Jaeger  <aj@suse.de>
19817
19818         * Makerules (tests): Remove enable-check-abi protection.
19819         (check-abi-warn): Remove.
19820         (check-abi-%): Remove check-abi-warn usage.
19821
19822         * configure.in: Remove check-abi configure option.
19823         * configure: Regenerated.
19824         * config.make.in (enable-check-abi): Remove.
19825
19826 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
19827
19828         [BZ #14033]
19829         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19830         double functions to double *_finite functions.
19831
19832         [BZ #13941]
19833         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19834         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19835         LDBL_MIN_EXP.
19836         * stdio-common/Makefile (tests): Add tst-sprintf3.
19837         * stdio-common/tst-sprintf3.c: New file.
19838
19839         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19840         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19841
19842 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
19843
19844         * conform/conformtest.pl: Remove duplicate typed-constant
19845         handling.
19846
19847 2012-04-28  David S. Miller  <davem@davemloft.net>
19848
19849         * Makerules (%.abilist): Add vpath on sysdep_dirs.
19850         (check-abi-%): Remove AWK script prerequisite and explicit
19851         abilist directory.
19852         (check-abi): Rewrite to just diff the symlist with the abilist.
19853         (config-tls, config-abi-config): Delete, no longer used.
19854         (update-abi-%): Remove AWK script and explicit abilist directory.
19855         (update-abi): Rewrite to simply compare and conditionally copy the
19856         symlist and the sysdep abilist file.  Remove update-abi-config
19857         checks.
19858         * abilist/ld.abilist: Remove.
19859         * abilist/libBrokenLocale.abilist: Remove.
19860         * abilist/libanl.abilist: Remove.
19861         * abilist/libcrypt.abilist: Remove.
19862         * abilist/libdl.abilist: Remove.
19863         * abilist/librt.abilist: Remove.
19864         * abilist/libthread_db.abilist: Remove.
19865         * abilist/libutil.abilist: Remove.
19866         * scripts/extract-abilist.awk: Remove.
19867         * scripts/merge-abilist.awk: Remove.
19868         * sysdeps/generic/libcidn.abilist: New file.
19869         * sysdeps/generic/libnss_compat.abilist: New file.
19870         * sysdeps/generic/libnss_db.abilist: New file.
19871         * sysdeps/generic/libnss_dns.abilist: New file.
19872         * sysdeps/generic/libnss_files.abilist: New file.
19873         * sysdeps/generic/libnss_hesiod.abilist: New file.
19874         * sysdeps/generic/libnss_nis.abilist: New file.
19875         * sysdeps/generic/libnss_nisplus.abilist: New file.
19876         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19877         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19878         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19879         file.
19880         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19881         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19882         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19883         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19884         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19885         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19886         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19887         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19888         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19889         file.
19890         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19891         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19892         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19893         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19894         file.
19895         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19896         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19897         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19898         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19899         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19900         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19901         file.
19902         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19903         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19904         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19905         file.
19906         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19907         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19908         New file.
19909         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19910         New file.
19911         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19912         New file.
19913         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19914         New file.
19915         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19916         New file.
19917         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19918         New file.
19919         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19920         New file.
19921         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19922         New file.
19923         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19924         New file.
19925         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19926         New file.
19927         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19928         New file.
19929         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19930         New file.
19931         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19932         New file.
19933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19934         file.
19935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19936         New file.
19937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19938         New file.
19939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19940         file.
19941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19942         New file.
19943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19944         New file.
19945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19946         file.
19947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19948         New file.
19949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19950         New file.
19951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19952         New file.
19953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19954         New file.
19955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19956         New file.
19957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19958         New file.
19959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19961         file.
19962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19963         New file.
19964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19965         file.
19966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19967         file.
19968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19969         file.
19970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19971         file.
19972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19973         file.
19974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19975         New file.
19976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19977         file.
19978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19979         file.
19980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19981         New file.
19982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19983         file.
19984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19986         file.
19987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19988         New file.
19989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19990         file.
19991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19992         file.
19993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19994         file.
19995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19996         file.
19997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19998         file.
19999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20000         New file.
20001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20002         file.
20003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20004         file.
20005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20006         New file.
20007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20008         file.
20009         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20010         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20011         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20012         file.
20013         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20014         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20015         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20016         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20017         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20018         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20019         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20020         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20021         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20022         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20025         file.
20026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20027         New file.
20028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20029         file.
20030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20031         file.
20032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20033         file.
20034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20035         file.
20036         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20037         file.
20038         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20039         New file.
20040         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20041         New file.
20042         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20043         file.
20044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20045         New file.
20046         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20047         file.
20048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20050         file.
20051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20052         New file.
20053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20054         file.
20055         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20056         file.
20057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20058         file.
20059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20060         file.
20061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20062         file.
20063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20064         New file.
20065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20066         New file.
20067         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20068         file.
20069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20070         New file.
20071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20072         file.
20073
20074 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
20075
20076         * conform/conformtest.pl: Fix typo in handling typed-constant from
20077         allow-header.
20078
20079 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
20080
20081         * README: Cut down references to pre-2.6 Linux kernels and
20082         Linuxthreads.  Update lists of configurations in libc and ports
20083         and sort alphabetically.  Say "or newer" with Linux kernel version
20084         requirements.
20085
20086         * config.h.in [IS_IN_build]: Allow compiling without optimization.
20087
20088 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20089
20090         [BZ #887]
20091         * math/libm-test.inc (logb_test_downward): New test to expose
20092         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20093         rounding mode.
20094
20095 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
20096
20097         [BZ #14027]
20098         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20099         to be done.
20100         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20101         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20102
20103 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
20104
20105         * sysdeps/unix/i386/brk.S: Remove file.
20106         * sysdeps/unix/i386/dl-brk.S: Likewise.
20107         * sysdeps/unix/i386/pipe.S: Likewise.
20108         * sysdeps/unix/i386/sigreturn.S: Likewise.
20109         * sysdeps/unix/i386/syscall.S: Likewise.
20110         * sysdeps/unix/i386/vfork.S: Likewise.
20111         * sysdeps/unix/i386/wait.S: Likewise.
20112
20113         * sysdeps/unix/common/tcsendbrk.c: Move to ...
20114         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20115
20116         * configure.in (arm*-none*): Do not allow without
20117         --enable-hacker-mode.
20118         (netbsd*): Remove case setting base_os.
20119         (386bsd*): Likewise.
20120         (freebsd*): Likewise.
20121         (bsdi*): Likewise.
20122         (osf*): Likewise.
20123         (sunos*): Likewise.
20124         (ultrix*): Likewise.
20125         (newsos*): Likewise.
20126         (dynix*): Likewise.
20127         (*bsd*): Likewise.
20128         (sysv*): Likewise.
20129         (isc*): Likewise.
20130         (esix*): Likewise.
20131         (sco*): Likewise.
20132         (minix*): Likewise.
20133         (irix4*): Likewise.
20134         (irix6*): Likewise.
20135         (solaris[2-9]*): Likewise.
20136         (none): Likewise.
20137         * configure: Regenerated.
20138
20139 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20140
20141         [BZ #11521]
20142         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20143         overflow or cancellation in calculating denominator.
20144         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20145         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20146         down expression to avoid unexpected rounding in newer GCCs.
20147         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20148
20149 2012-04-26  David S. Miller  <davem@davemloft.net>
20150
20151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20152         long-double compat symbols.
20153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20160         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20166
20167 2012-04-25  David S. Miller  <davem@davemloft.net>
20168
20169         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20170         HWCAP_* values only after the memory barriers have been defined.
20171         (atomic_full_barrier): Define.
20172         (atomic_read_barrier): Define.
20173         (atomic_write_barrier): Define.
20174
20175 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20176
20177         * shlib-versions: Add libgcc_s version information.
20178         * sysdeps/generic/libgcc_s.h: Remove.
20179         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20180         libgcc_s.h.
20181         * sysdeps/gnu/unwind-resume.c: Likewise.
20182         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20183
20184 2012-04-25  David S. Miller  <davem@davemloft.net>
20185
20186         * sysdeps/unix/sparc/brk.S: Delete.
20187         * sysdeps/unix/sparc/dl-brk.S: Delete.
20188         * sysdeps/unix/sparc/pipe.S: Delete.
20189         * sysdeps/unix/sparc/sysdep.S: Delete.
20190         * sysdeps/unix/sparc/sysdep.h: Delete.
20191         * sysdeps/unix/sparc/vfork.S: Delete.
20192         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20193         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20194         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20195         ret_ERRVAL, r0, r1, MOVE): Define.
20196         (JUMPTARGET): Remove.
20197         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20198         sysdeps/unix/sparc/sysdep.h
20199         (ENTRY, END): Remove.
20200         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20201
20202 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
20203
20204         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20205         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20206         -DIS_IN_build.
20207
20208         * timezone/README: Update upstream location and email address for
20209         tzcode and tzdata.
20210         * timezone/zdump.c: Update from tzcode 2012b.
20211         * timezone/zic.c: Likewise.
20212
20213         * configure.in (libc_cv_as_needed): Remove test.
20214         * configure: Regenerated.
20215         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20216         conditional definition.
20217         [$(have-as-needed) != yes] (no-as-needed): Likewise.
20218         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20219         * config.make.in (have-as-needed): Remove variable.
20220
20221 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20222             Paul Pluzhnikov  <ppluzhnikov@google.com>
20223
20224         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20225         strings correctly.
20226
20227 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
20228
20229         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20230         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20231         * sysdeps/sh/strlen.S: Likewise.
20232
20233 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20234
20235         * sysdeps/unix/fork.S: Remove file.
20236         * sysdeps/unix/i386/fork.S: Likewise.
20237         * sysdeps/unix/sparc/fork.S: Likewise.
20238
20239         * sysdeps/unix/system.c: Remove file.
20240         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20241
20242         * sysdeps/unix/getegid.S: Remove file.
20243         * sysdeps/unix/geteuid.S: Likewise.
20244
20245 2012-04-24  Roland McGrath  <roland@hack.frob.com>
20246
20247         * scripts/check-localplt.awk: New file.
20248         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20249         of diff.
20250         * scripts/data/localplt-generic.data: Add a comment.
20251
20252         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20253         NODE when __dir_mkfile failed.
20254         * sysdeps/mach/hurd/symlinkat.c: Likewise.
20255         Reported by Ludovic Courtès <ludo@gnu.org>.
20256
20257 2012-04-24  Andreas Jaeger  <aj@suse.de>
20258
20259         * Makerules (common-clean): Also remove gen-as-const-headers
20260         files.
20261
20262 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20263
20264         * Makerules (native-compile): Do not change working directory for
20265         build.  Use $(OUTPUT_OPTION) in command.
20266         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20267
20268 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20269
20270         [BZ #13886]
20271         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20272         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20273         * math/libm-test.inc (floor_test): Add more tests.
20274         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20275
20276 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20277
20278         * sysdeps/unix/getdents.c: Remove file.
20279         * sysdeps/unix/sysv/getdents.c: Likewise.
20280         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20281
20282         * sysdeps/unix/syscalls.list (madvise): Add syscall from
20283         sysdeps/unix/mman/syscalls.list.
20284         (mmap): Likewise.
20285         (mprotect): Likewise.
20286         (msync): Likewise.
20287         (munmap): Likewise.
20288         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20289         * sysdeps/unix/mman/syscalls.list: Remove.
20290         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20291
20292         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20293         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20294         * configure: Regenerated.
20295         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20296         $(libgcc_s_suffix).
20297         * config.make.in (libgcc_s_suffix): Remove variable.
20298
20299 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
20300
20301         * sysdeps/unix/sysv/gethostname.c: Move to ...
20302         * sysdeps/posix/gethostname.c: ... here.
20303
20304         * sysdeps/unix/execve.S: Remove file.
20305
20306         * sysdeps/unix/_exit.S: Remove file.
20307
20308 2012-04-23  Andreas Jaeger  <aj@suse.de>
20309
20310         [BZ #13739]
20311         * manual/Makefile: Remove make dist support, there's no
20312         need for a stand-alone documentation tar ball.
20313         (TEXI2DVI): Define always, it's not in Makeconfig.
20314         (dist): Removed.
20315         (tar-it): Removed.
20316         (edition): Removed.
20317         (glibc-doc-$(edition).tar): Removed
20318         (%.Z): Removed.
20319         (%.gz): Removed.
20320         (%.uu): Removed.
20321         (ETAGS): Remove, it's in Makeconfig.
20322         (move-if-change): Remove, it's in Makeconfig.
20323
20324 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
20325
20326         [BZ #13970]
20327         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20328         (strtod, strtof, strtold, strtol, strtoul, strtoq)
20329         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20330         (strtod_l, strtof_l, strtold_l): Remove __wur.
20331         It is not necessarily an error to ignore strtol's return value.
20332         One can reliably look at the stored endptr to decide whether
20333         the number had valid syntax.
20334
20335 2012-04-21  Andreas Jaeger  <aj@suse.de>
20336
20337         [BZ #13739]
20338         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20339
20340 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
20341
20342         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20343         * sysdeps/unix/sysv/Versions: Remove file.
20344
20345 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
20346
20347         [BZ #13927]
20348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20349
20350 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
20351
20352         [BZ #7064]
20353         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20354         version from __vm86.
20355
20356 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
20357
20358         * sysdeps/unix/common/lxstat.c: Remove file.
20359         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20360
20361         * sysdeps/unix/sysv/Makefile: Remove file.
20362
20363         * sysdeps/unix/sysv/direct.h: Remove file.
20364
20365         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20366         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20367         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20368         * sysdeps/unix/sysv/bits/signum.h: Likewise.
20369         * sysdeps/unix/sysv/bits/stat.h: Likewise.
20370         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20371         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20372
20373         * sysdeps/unix/sysv/setrlimit.c: Remove file.
20374
20375         * sysdeps/unix/xmknod.c: Remove file.
20376         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20377
20378         * sysdeps/unix/sysv/settimeofday.c: Remove file.
20379
20380         * sysdeps/unix/sysv/i386/time.S: Remove file.
20381
20382         * sysdeps/unix/fxstat.c: Remove file.
20383         * sysdeps/unix/xstat.c: Likewise.
20384         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20385
20386         * sysdeps/unix/sysv/sigaction.c: Remove file.
20387
20388         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20389         (sysdep_headers): Remove variable.
20390         [termio.h not in sysdep_headers] (generated): Likewise.
20391         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20392         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20393         * sysdeps/unix/sysv/tcdrain.c: Likewise.
20394         * sysdeps/unix/sysv/tcflow.c: Likewise.
20395         * sysdeps/unix/sysv/tcflush.c: Likewise.
20396         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20397         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20398         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20399         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20400         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20401
20402         * sysdeps/unix/siglist.c: Remove file.
20403
20404         * sysdeps/unix/getppid.S: Remove file.
20405
20406         * sysdeps/unix/mkdir.c: Remove file.
20407         * sysdeps/unix/rmdir.c: Likewise.
20408
20409 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
20410
20411         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20412         ERR_MAX value.
20413         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20414         errlist-compat value.
20415
20416 2012-04-18  David S. Miller  <davem@davemloft.net>
20417
20418         * sysdeps/generic/memcopy.h (reg_char): Delete.
20419         * debug/strcat_chk.c: Use char, not reg_char.
20420         * debug/strcpy_chk.c: Likewise.
20421         * debug/strncat_chk.c: Likewise.
20422         * debug/strncpy_chk.c: Likewise.
20423         * string/memchr.c: Likewise.
20424         * string/memrchr.c: Likewise.
20425         * string/rawmemchr.c: Likewise.
20426         * string/strcat.c: Likewise.
20427         * string/strchr.c: Likewise.
20428         * string/strchrnul.c: Likewise.
20429         * string/strcmp.c: Likewise.
20430         * string/strcpy.c: Likewise.
20431         * string/strncat.c: Likewise.
20432         * string/strncmp.c: Likewise.
20433         * string/strncpy.c: Likewise.
20434
20435 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20436
20437         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20438         __builtin_memcopy is called when src and dest ranges are known to not
20439         overlap.
20440
20441 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20442
20443         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20444         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20445         fwd_align_merge macro call.
20446         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20447         bwd_align_merge macro call.
20448         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20449
20450 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20451
20452         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20453         bwd_align_merge macros.
20454         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20455         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20456         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20457
20458 2012-04-18  David S. Miller  <davem@davemloft.net>
20459
20460         * sysdeps/sparc/sparc64/memcopy.h: Delete.
20461
20462 2012-04-18  Andreas Jaeger  <aj@suse.de>
20463
20464         [BZ# 6794]
20465         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20466         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20467         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20468
20469         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20470         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20471         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20472
20473         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20474         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20475         Adjust for changed ldbl-128 files.
20476
20477         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20478         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20479         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20480
20481 2012-04-17  David S. Miller  <davem@davemloft.net>
20482
20483         * sysdeps/sparc/sparc32/memcopy.h: Delete.
20484
20485 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
20486
20487         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20488         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20489         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20490         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20491         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20492         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20493
20494 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20495
20496         [BZ #6794]
20497         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20498         * math/libm-test.inc: Add ilogb errno and exception tests.
20499         * math/w_ilogb.c: New file: ilogb wrapper.
20500         * math/w_ilogbf.c: New file: ilogbf wrapper.
20501         * math/w_ilogbl.c: New file: ilogbl wrapper.
20502         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20503         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20504         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20505         exception being thrown with 0.0 as argument.
20506         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20507         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20508         exception being thrown with 0.0 as argument.
20509         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20510         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20511         exception being thrown with 0.0 as argument.
20512         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20513         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20514         exception being thrown with 0.0 as argument.
20515         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20516         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
20517         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20518         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20519         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20520         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20521         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20522         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20523         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20524
20525 2012-04-17  Petr Baudis  <pasky@ucw.cz>
20526
20527         * include/sys/uio.h: Change __vector to __iovec to avoid clash
20528         with altivec.
20529
20530 2012-04-16  Marek Polacek  <polacek@redhat.com>
20531
20532         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20533
20534 2012-04-16  Marek Polacek  <polacek@redhat.com>
20535
20536         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20537         operands of fdivp instruction.
20538
20539 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
20540
20541         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20542         * elf/tst-auditmod3b.c: Likewise.
20543         * elf/tst-auditmod4b.c: Likewise.
20544         * elf/tst-auditmod5b.c: Likewise.
20545         * elf/tst-auditmod6b.c: Likewise.
20546         * elf/tst-auditmod6c.c: Likewise.
20547         * elf/tst-auditmod7b.c: Likewise.
20548         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20549         * sysdeps/x86_64/preconfigure.in: Likewise.
20550         * sysdeps/x86_64/preconfigure: Regenerated.
20551
20552 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
20553
20554         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20555         __ILP32__.
20556
20557 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
20558
20559         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20560         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20561
20562 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
20563
20564         [BZ #13973]
20565         * locale/iso-639.def: Fix gl language name. Spotted by
20566         Yaron Shahrabani.
20567
20568 2012-04-12  Roland McGrath  <roland@hack.frob.com>
20569
20570         [BZ #2074]
20571         * libio/libio.h (__io_write_fn): Update comment.
20572
20573 2012-04-12  Petr Baudis  <pasky@ucw.cz>
20574
20575         [BZ #2074]
20576         * stdio.texi (Hook Functions): The user provided writer function
20577         is not allowed to return -1.
20578
20579 2012-04-11  David S. Miller  <davem@davemloft.net>
20580
20581         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20582
20583 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
20584
20585         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20586         Add a leading slash to rtkaio.
20587
20588 2012-04-11  Jim Meyering  <meyering@redhat.com>
20589
20590         [BZ #11959]
20591         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20592         It is not necessarily an error to ignore fwrite's return
20593         value.  One can reliably use ferror to test for errors after
20594         the fact.
20595
20596 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
20597
20598         * bits/types.h (__snseconds_t): New type.
20599         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20600
20601         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20602         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20603         (__SNSECONDS_T_TYPE): Likewise.
20604         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20605         (__SNSECONDS_T_TYPE): Likewise.
20606         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20607         (__SNSECONDS_T_TYPE): Likewise.
20608
20609 2012-04-10  Andreas Jaeger  <aj@suse.de>
20610
20611         [BZ #2636]
20612         * manual/time.texi (Processor Time): Return type of times is
20613         elapsed real time since an arbitrary point in the past.
20614         (CPU Time): Move CLK_TCK from here...
20615         (Processor Time): ...to here.  Correct description.
20616         * manual/conf.texi (Constants for Sysconf): Correct description of
20617         _SC_CLK_TCK.
20618
20619 2012-04-10  David S. Miller  <davem@davemloft.net>
20620
20621         [BZ #13967]
20622         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20623         where the is a gap between DT_REL(A) and DT_JMPREL.
20624
20625 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
20626
20627         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20628         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20629         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20630
20631 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20632
20633         * elf/dl-support.c (_dl_inhibit_cache): New variable.
20634         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20635         (dl_main): Handle --inhibit-cache.
20636         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20637         _dl_inhibit_cache.
20638         * elf/dl-load.c (_dl_map_object): Use it.
20639         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20640
20641 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
20642
20643         [BZ #13872]
20644         * sysdeps/i386/fpu/e_powl.S (p78): New object.
20645         (__ieee754_powl): Saturate large exponents rather than testing for
20646         overflow of y*log2(x).
20647         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20648         * math/libm-test.inc (pow_test): Do not permit spurious overflow
20649         exceptions.
20650
20651         [BZ #11521]
20652         * math/s_ctan.c: Include <float.h>.
20653         (__ctan): Avoid internal overflow or cancellation in calculating
20654         denominator.
20655         * math/s_ctanf.c: Likewise.
20656         * math/s_ctanl.c: Likewise.
20657         * math/s_ctanh.c: Likewise.
20658         * math/s_ctanhf.c: Likewise.
20659         * math/s_ctanhl.c: Likewise.
20660         * math/libm-test.inc (ctan_test): Add more tests.
20661         (ctanh_test): Likewise.
20662         * sysdeps/i386/fpu/libm-test-ulps: Update.
20663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20664
20665 2012-04-09  Andreas Jaeger  <aj@suse.de>
20666
20667         [BZ #6894]
20668         * manual/filesys.texi (Directory Entries): Mention that d_namlen
20669         is an optional BSD extension.
20670
20671         [BZ #10254]
20672         * manual/stdio.texi (Opening Streams): Document additional fopen
20673         parameters.
20674
20675 2012-04-09  Roland McGrath  <roland@hack.frob.com>
20676
20677         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20678         %eax without telling the compiler.
20679
20680 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
20681
20682         [BZ # 13963]
20683         * manual/install.texi: Use sourceware.org.
20684
20685 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
20686
20687         [BZ #13873]
20688         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20689         (__ieee754_pow): Generate overflow and underflow using huge*huge
20690         and tiny*tiny rather than just returning constant infinity or zero
20691         for large exponents.
20692         * math/libm-test.inc (pow_test): Require overflow exceptions for
20693         applicable cases of large exponents.
20694
20695         [BZ #706]
20696         * sysdeps/i386/fpu/e_pow.S (p10): New object.
20697         (__ieee754_pow): Use iterative multiplication algorithm only for
20698         integer exponents with absolute value below 1024.  Check for odd
20699         integer exponents when using algorithm for real exponents.
20700         * math/libm-test.inc (pow_test): Add more tests.
20701         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20702
20703 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
20704
20705         [BZ #13705]
20706         * math/libm-test.inc (exp_test): Do not allow overflow exception
20707         on underflow test.
20708
20709 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
20710
20711         [BZ #13705]
20712         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20713         instead of __kernel_standard_f.
20714
20715 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
20716
20717         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20718         * sysdeps/x86_64/memset_chk.S: Likewise.
20719
20720 2012-04-08  Andreas Jaeger  <aj@suse.de>
20721
20722         [BZ #10153]
20723         * manual/startup.texi (Environment Access): Describe return value
20724         for putenv and setenv.
20725
20726         [BZ #6895]
20727         * manual/filesys.texi (Directory Entries): Add description for
20728         DT_LNK.
20729
20730         [BZ #6890]
20731         * manual/filesys.texi (Directory Entries): Clarify that it's file
20732         system not operating system in the description of DT_UNKNOWN.
20733
20734         [BZ #6578]
20735         * manual/syslog.texi (closelog): Fix reference, it's openlog.
20736
20737 2012-04-08  Stephen Compall  <s11@member.fsf.org>
20738
20739         [BZ #6649]
20740         * manual/llio.texi (Opening and Closing Files): Add cross
20741         reference to explain mode argument.
20742
20743 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
20744
20745         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20746         * sysdeps/x86_64/memset_chk.S: Likewise.
20747
20748 2012-04-07  David S. Miller  <davem@davemloft.net>
20749
20750         * elf/elf.h (R_SPARC_WDISP10): Define.
20751         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20752         R_SPARC_SIZE32.
20753         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20754         R_SPARC_SIZE64 and R_SPARC_H34.
20755
20756 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
20757
20758         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20759         conditions and remove no longer applicable assertion.
20760
20761 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
20762
20763         * bits/byteswap.h: Include <features.h>.
20764         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20765         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20766
20767 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
20768
20769         * bits/byteswap.h (__bswap_16): Removed.
20770         Include <bits/byteswap-16.h> to get __bswap_16.
20771         * sysdeps/i386/bits/byteswap.h: Likewise.
20772         * sysdeps/s390/bits/byteswap.h: Likewise.
20773         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20774         * bits/byteswap-16.h: New file.
20775         * sysdeps/i386/bits/byteswap-16.h: Likewise.
20776         * sysdeps/s390/bits/byteswap-16.h: Likewise.
20777         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20778         * string/Makefile (headers): Add bits/byteswap-16.h.
20779
20780 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20781
20782         [BZ #13895]
20783         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20784         extra indirection.
20785         * nss/Makefile (tests-static, tests): Add tst-nss-static.
20786         * nss/tst-nss-static.c: New.
20787
20788 2012-04-06  Robert Millan  <rmh@gnu.org>
20789
20790         [BZ #6486]
20791         * manual/llio.texi (File Position Primitive): lseek
20792         refers to WHENCE when it really means OFFSET.
20793
20794 2012-04-06  Andreas Jaeger  <aj@suse.de>
20795
20796         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20797         strncmp declarations.
20798
20799         * abilist/libc.abilist: Add __poll and __ppoll.
20800
20801 2012-04-05  David S. Miller  <davem@davemloft.net>
20802
20803         * scripts/check-local-headers.sh: Accept a host triplet in the
20804         path matched by the exclude regexp.
20805
20806         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20807         definition.
20808         * sysdeps/powerpc/powerpc32/dl-machine.h
20809         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20810         * sysdeps/s390/s390-32/dl-machine.h
20811         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20812         * sysdeps/sparc/sparc32/dl-machine.h
20813         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20814         * sysdeps/sparc/sparc64/dl-machine.h
20815         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20816
20817         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20818         lazy binding.
20819         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
20820         undefined symbol errors.
20821
20822         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
20823         DT_NEEDED entries.
20824
20825 2012-04-05  Michael Matz  <matz@suse.de>
20826
20827         [BZ #13592]
20828         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20829
20830 2012-04-05  Andreas Jaeger  <aj@suse.de>
20831
20832         [BZ #13908]
20833         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20834         comment.
20835
20836 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20837
20838         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20839         which ROUND is no valid rounding mode.
20840
20841 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20842
20843         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20844         read again.
20845         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20846
20847 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20848
20849         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20850         an exception using FPU order intentionally.
20851
20852 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20853
20854         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20855         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20856         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20857         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20858
20859 2012-04-05  Simon Josefsson  <simon@josefsson.org>
20860
20861         [BZ #12340]
20862         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20863         EINVAL when BUFLEN is too smal.
20864
20865 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20866
20867         [BZ #13553]
20868         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20869         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20870
20871 2012-04-03  Andreas Jaeger  <aj@suse.de>
20872
20873         [BZ #13938]
20874         * manual/setjmp.texi (System V contexts): Fix sentence.
20875
20876         [BZ #13926]
20877         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20878         New macro for this case.
20879         [!__GNUC__] (__bswap_64): New inline function for this case.
20880         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20881         * bits/byteswap.h: Likewise.
20882         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20883         ull, guard with __GLIBC_HAVE_LONG_LONG.
20884
20885         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20886         __GLIBC_HAVE_LONG_LONG.
20887
20888         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20889         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20890
20891 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20892
20893         [BZ #13691]
20894         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20895         inptr and inend, rather than using last_ch.
20896
20897 2012-04-02  David S. Miller  <davem@davemloft.net>
20898
20899         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20900         * stdio-common/printf-parse.h (read_int): Change return type to
20901         'int', return -1 on INT_MAX overflow.
20902         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20903         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
20904         overflows INT_MAX.  Check for overflow of in-format-string precision
20905         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
20906         SIZE_MAX not INT_MAX for integer overflow test.
20907         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20908         skip the construct in the format string but do not record anything.
20909         * stdio-common/bug22.c: Adjust to test both width/prevision
20910         INT_MAX overflow as well as total length INT_MAX overflow.  Check
20911         explicitly for proper errno values.
20912
20913 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20914
20915         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20916         CHAR_MAX.
20917         * string/test-strcmp.c [! WIDE]: Likewise.
20918         * time/tst-mktime2.c: Likewise for INT_MAX.
20919         * string/test-string.h: #include <sys/param.h> for MIN.
20920
20921         * csu/init-first.c (__libc_init_first): Call __ctype_init.
20922         * sysdeps/i386/init-first.c (init): Likewise.
20923         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20924         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20925         * sysdeps/sh/init-first.c (init): Likewise.
20926
20927 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
20928
20929         * po/ru.po: Update from translation team.
20930         * po/vi.po: Likewise.
20931
20932 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20933
20934         * resolv/nss_dns/dns-host.c: Merge copyright years.
20935
20936 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20937
20938         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20939         Optimize memcpy with prefetch if
20940         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
20941         src, dst pointers have unequal 16 byte alignments.
20942
20943 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20944
20945         [BZ #13928]
20946         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20947         from a CNAME entry and return the minimum ttl for the query.
20948         (gaih_getanswer_slice): Likewise.
20949
20950 2012-03-30  Jeff Law  <law@redhat.com>
20951
20952         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20953         due to long keys.
20954         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20955         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20956
20957         * resolv/nss_dns/dns-host.c: Update copyright year.
20958
20959 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
20960
20961         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20962         requests to save a system call.  Fix check that all bytes are sent.
20963
20964         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20965         comments for sendmmsg.
20966
20967 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20968
20969         [BZ #13691]
20970         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20971         with only 1 character between 0x0041 and 0x01b0.
20972         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20973         * wcsmbs/tst-mbsnrtowcs.c: New file.
20974
20975 2012-03-29  David S. Miller  <davem@davemloft.net>
20976
20977         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20978         small copies by hand.
20979
20980 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20981
20982         [BZ #13761]
20983         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20984         _nss_compat_initgroups_dyn): Fall back to malloc/free
20985         for large group memberships.
20986
20987 2012-03-28  David S. Miller  <davem@davemloft.net>
20988
20989         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20990         that branches into memcpy.
20991         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20992         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20993         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20994         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20995         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20996         bits.
20997         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20998         implementation too.
20999         * sysdeps/sparc/mempcpy.S: New file.
21000
21001         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21002         the IFUNC routine in the libc case.
21003         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21004
21005         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21006         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21007         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21008         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21009         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21010         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21011         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21012         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21013
21014         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21015         loop to 256 bytes instead of 64 bytes and fix test signedness.
21016
21017         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21018         * sysdeps/sparc/sparc32/Makefile: rather than here...
21019         * sysdeps/sparc/sparc64/Makefile: and here.
21020
21021 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
21022
21023         * malloc/mallocbug.c: Avoid warnings about unused variables.
21024
21025 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21026
21027         [BZ #13760]
21028         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21029         in the right place. Discard and retry query if response is
21030         larger than input buffer size.
21031
21032 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
21033
21034         [BZ #369]
21035         [BZ #2678]
21036         [BZ #3866]
21037         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21038         x for large integer exponent.
21039         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21040         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
21041         sign of result as needed afterwards.
21042         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21043         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21044         result for underflowing pow the same as for overflow.
21045         (__kernel_standard_l): Handle powl overflow and underflow here
21046         rather than calling __kernel_standard.
21047         * math/libm-test.inc (pow_test): Add more tests.
21048
21049         [BZ #3868]
21050         [BZ #13879]
21051         [BZ #13910]
21052         [BZ #13911]
21053         [BZ #13912]
21054         [BZ #13913]
21055         [BZ #13915]
21056         [BZ #13916]
21057         [BZ #13917]
21058         [BZ #13918]
21059         [BZ #13919]
21060         [BZ #13920]
21061         [BZ #13921]
21062         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21063         * sysdeps/ieee754/k_standard.c: Include <float.h>.
21064         (__kernel_standard_l): New function.
21065         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21066         __kernel_standard.
21067         * math/w_acosl.c (__acosl): Likewise.
21068         * math/w_asinl.c (__asinl): Likewise.
21069         * math/w_atan2l.c (__atan2l): Likewise.
21070         * math/w_atanhl.c (__atanhl): Likewise.
21071         * math/w_coshl.c (__coshl): Likewise.
21072         * math/w_exp10l.c (__exp10l): Likewise.
21073         * math/w_exp2l.c (__exp2l): Likewise.
21074         * math/w_fmodl.c (__fmodl): Likewise.
21075         * math/w_hypotl.c (__hypotl): Likewise.
21076         * math/w_j0l.c (__j0l, __y0l): Likewise.
21077         * math/w_j1l.c (__j1l, __y1l): Likewise.
21078         * math/w_jnl.c (__jnl, __ynl): Likewise.
21079         * math/w_lgammal.c (__lgammal): Likewise.
21080         * math/w_log10l.c (__log10l): Likewise.
21081         * math/w_log2l.c (__log2l): Likewise.
21082         * math/w_logl.c (__logl): Likewise.
21083         * math/w_powl.c (__powl): Likewise.
21084         * math/w_remainderl.c (__remainderl): Likewise.
21085         * math/w_scalbl.c (sysv_scalbl): Likewise.
21086         * math/w_sinhl.c (__sinhl): Likewise.
21087         * math/w_sqrtl.c (__sqrtl): Likewise.
21088         * math/w_tgammal.c (__tgammal): Likewise.
21089         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21090         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21091         * math/libm-test.inc (acos_test): Add more tests.
21092         (acosh_test): Likewise.
21093         (asin_test): Likewise.
21094         (atanh_test): Likewise.
21095         (exp_test): Likewise.
21096         (exp10_test): Likewise.
21097         (exp2_test): Likewise.
21098         (expm1_test): Likewise.
21099         (lgamma_test): Likewise.
21100         (log_test): Likewise.
21101         (log10_test): Likewise.
21102         (log1p_test): Likewise.
21103         (log2_test): Likewise.
21104         (pow_test): Do not allow some spurious overflow exceptions.
21105         (sqrt_test): Add more tests.
21106         (tgamma_test): Likewise.
21107         (y0_test): Likewise.
21108         (y1_test): Likewise.
21109         (yn_test): Likewise.
21110
21111 2012-03-27  Anton Blanchard  <anton@samba.org>
21112
21113         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21114         MAP_HUGETLB.
21115         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21116         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21117         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21118
21119 2012-03-27  David S. Miller  <davem@davemloft.net>
21120
21121         * conform/Makefile: Run run-conformtest.sh using $(BASH).
21122
21123         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21124         have-as-vis3 check.
21125
21126 2012-03-27  Andreas Jaeger  <aj@suse.de>
21127
21128         * sysdeps/x86_64/elf/configure.in: Moved to ...
21129         * sysdeps/x86_64/configure.in: ... here.
21130         * sysdeps/x86_64/elf/start.S: Moved to ...
21131         * sysdeps/x86_64/start.S: ... here.
21132         * sysdeps/x86_64/elf/configure: Delete.
21133
21134         * sysdeps/x86_64/configure.in: Merge contents from
21135         sysdeps/i386/configure.in (without i686 check).
21136
21137         * sysdeps/i386/elf/Versions: Merge into ...
21138         * sysdeps/i386/Versions: ... this.
21139         * sysdeps/i386/elf/Versions: Delete file.
21140         * sysdeps/i386/elf/start.S: Moved to ...
21141         * sysdeps/i386/start.S: ...here.
21142         * sysdeps/i386/elf/configure.in: Merge into...
21143         * sysdeps/i386/configure.in: ...here.
21144         * sysdeps/i386/elf/configure.in: Delete file.
21145         * sysdeps/i386/elf/configure: Delete file.
21146
21147         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21148         * debug/backtracesyms.c: ... here.
21149         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21150         * debug/backtracesymsfd.c: ... here.
21151         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21152         * sysdeps/generic/ifunc-sel.h: ... here.
21153
21154         * sysdeps/unix/i386/start.c: Delete file.
21155         * sysdeps/unix/sparc/start.c: Delete file.
21156         * sysdeps/unix/start.c: Delete file.
21157
21158         * sysdeps/sh/elf/configure.in: Moved to ...
21159         * sysdeps/sh/configure.in: ... here.
21160         * sysdeps/sh/elf/start.S: Moved to ...
21161         * sysdeps/sh/start.S: ... here.
21162         * sysdeps/sh/elf/configure: Delete file.
21163
21164         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21165         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21166         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21167         * sysdeps/powerpc/powerpc64/entry.h: ... here.
21168         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21169         * sysdeps/powerpc/powerpc64/start.S: here.
21170         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21171         * sysdeps/powerpc/powerpc64/Makefile: ... this.
21172         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21173         * sysdeps/powerpc/powerpc64/configure.in: ... this.
21174         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21175
21176         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21177         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21178         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21179         * sysdeps/powerpc/powerpc32/start.S: ... here.
21180         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21181         * sysdeps/powerpc/powerpc32/configure.in: ... this.
21182         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21183
21184         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21185         * sysdeps/powerpc/ifunc-sel.h: ... here.
21186         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21187         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21188
21189         * sysdeps/sparc/elf/configure.in: Moved to ...
21190         * sysdeps/sparc/configure.in: ... here.
21191         * sysdeps/sparc/elf/configure: Delete file.
21192         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21193         * sysdeps/sparc/sparc32/start.S: ... here.
21194         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21195         * sysdeps/sparc/sparc64/start.S: ... here.
21196         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21197         * sysdeps/sparc/sparc32/Makefile: ... this.
21198         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21199         * sysdeps/sparc/sparc64/Makefile: ... this.
21200
21201         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21202         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21203         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21204         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21205         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21206         * sysdeps/s390/s390-32/setjmp.S: ... here.
21207         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21208         * sysdeps/s390/s390-32/configure.in: ... here.
21209         * sysdeps/s390/s390-32/elf/configure: Delete file.
21210         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21211         * sysdeps/s390/s390-32/start.S: ... here.
21212
21213         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21214         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21215         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21216         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21217         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21218         * sysdeps/s390/s390-64/setjmp.S: ... here.
21219         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21220         * sysdeps/s390/s390-64/configure.in: ... here
21221         * sysdeps/s390/s390-64/elf/configure: Delete file.
21222         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21223         * sysdeps/s390/s390-64/start.S: ... here.
21224         * sysdeps/s390/s390-64/elf/configure: Delete.
21225
21226         * configure.in: Remove support for elf directories in sysdeps.
21227
21228         * configure: Regenerated.
21229         * sysdeps/i386/configure: Regenerated.
21230         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21231         * sysdeps/powerpc/powerpc64/configure: Regenerated.
21232         * sysdeps/s390/s390-32/configure: Regenerated.
21233         * sysdeps/s390/s390-64/configure: Regenerated.
21234         * sysdeps/sh/configure: Regenerated.
21235         * sysdeps/sparc/configure: Regenerated.
21236         * sysdeps/x86_64/configure: Regenerated.
21237
21238 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
21239
21240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21241
21242         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21243         denormal result into account.
21244
21245 2012-03-25  Roland McGrath  <roland@hack.frob.com>
21246
21247         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21248         Reported by Allan McRae <allan@archlinux.org>.
21249
21250 2012-03-23  Jeff Law  <law@redhat.com>
21251
21252         * nss/getnssent.c (__nss_getent): Fix typo.
21253
21254 2012-03-23  David S. Miller  <davem@davemloft.net>
21255
21256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21257
21258 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
21259
21260         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21261         to pad to uint64_t for each field.
21262         (dl_tls_index): Replace unsigned long with uint64_t.
21263
21264 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
21265         Paul Pluzhnikov  <ppluzhnikov@google.com>
21266
21267         [BZ #6528]
21268         * grp/Makefile (otherlibs): Don't set it.
21269         * inet/Makefile (otherlibs): Likewise.
21270         * login/Makefile (otherlibs): Likewise.
21271         * nscd/Makefile (otherlibs): Likewise.
21272         * posix/Makefile (otherlibs): Likewise.
21273         * pwd/Makefile (otherlibs): Likewise.
21274         * rt/Makefile (otherlibs): Likewise.
21275         * sunrpc/Makefile (otherlibs): Likewise.
21276         * nss/Makefile (otherlibs): Likewise.
21277         Add libnss_files to routines and static-only-routines.
21278         ($(objpfx)getent): Remove rule.
21279         * resolv/Makefile: Add libnss_dns and libresolv to routines and
21280         static-only-routines.
21281
21282 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
21283
21284         [BZ #13892]
21285         * math/s_cexp.c: Include <float.h>.
21286         (__cexp): Handle exp result overflowing not necessarily
21287         overflowing both real and imaginary parts of result.
21288         * math/s_cexpf.c: Likewise.
21289         * math/s_cexpl.c: Likewise.
21290         * math/libm-test.inc (cexp_test): Add more tests.
21291         * sysdeps/i386/fpu/libm-test-ulps: Update.
21292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21293
21294 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21295
21296         * include/link.h (ELFW): New macro.
21297         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21298         Replace ELF64_R_TYPE with ELFW(R_TYPE).
21299
21300 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21301
21302         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21303         with uint64_t.
21304
21305 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21306
21307         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21308         declaration.
21309         (struct La_x32_retval): Likewise.
21310
21311 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21312
21313         * sysdeps/x86_64/preconfigure.in: New file.
21314         * sysdeps/x86_64/preconfigure: New generated file.
21315
21316 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
21317
21318         [BZ #13824]
21319         * math/e_exp2l.c: Include <float.h>.
21320         (__ieee754_exp2l): Handle overflow and underflow cases
21321         separately.  Only pass fractional part of argument to
21322         __ieee754_expl.
21323         * math/libm-test.inc (exp2_test): Add more tests.
21324
21325         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21326         negating x to take absolute value.
21327         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21328         Likewise.
21329         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21330         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21331         Likewise.
21332         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21333         computing low part if x was negated.
21334         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21335
21336 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21337
21338         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21339         la_x32_gnu_pltexit.
21340         (pltexit): Cast int_retval to ptrdiff_t.
21341         * elf/tst-auditmod3b.c: Likewise.
21342         * elf/tst-auditmod4b.c: Likewise.
21343         * elf/tst-auditmod5b.c: Likewise.
21344         * elf/tst-auditmod6b.c: Likewise.
21345         * elf/tst-auditmod6c.c: Likewise.
21346         * elf/tst-auditmod7b.c: Likewise.
21347
21348         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21349         and x32_gnu_pltexit.
21350
21351         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21352         __ELF_NATIVE_CLASS.
21353         (La_x32_regs): New macro.
21354         (La_x32_retval): Likewise.
21355         (la_x32_gnu_pltenter): New function prototype.
21356         (la_x32_gnu_pltexit): Likewise.
21357
21358 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
21359
21360         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21361         exponent.
21362
21363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21364
21365         * configure.in (libc_cv_cc_nofma): Check for option to disable
21366         generation of FMA instructions.
21367         * configure: Regenerate.
21368         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21369         * sysdeps/ieee754/dbl-64/Makefile: New file.
21370         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21371         Remove brandred-fma4.
21372         (CFLAGS-brandred-fma4.c): Remove.
21373         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21374         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21375         define.
21376         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21377         define.
21378
21379 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21380
21381         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21382         LLONG_MAX != LONG_MAX.
21383         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21384         (_fitoa_word): Likewise.
21385         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21386         LLONG_MAX != LONG_MAX.
21387         * stdio-common/_itowa.h: Include <_itoa.h>.
21388         (_itowa_word): Use _ITOA_WORD_TYPE on value.
21389         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
21390         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
21391         only if not defined.
21392         (_ITOA_WORD_TYPE): Likewise.
21393         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21394         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21395
21396 2012-03-21  David S. Miller  <davem@davemloft.net>
21397
21398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21399
21400 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21401
21402         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21403         of x86_64 when setting libc_cv_slibdir, libdir and
21404         libc_cv_localedir.
21405         * sysdeps/unix/sysv/linux/configure: Regenerated.
21406
21407 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21408
21409         * manual/lang.texi (Old Varargs): Remove section.
21410         (How Variadic): Update menu.
21411         (va_start): Do not mention varargs.h.
21412
21413 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21414             Joseph Myers  <joseph@codesourcery.com>
21415
21416         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21417         link test.
21418         * configure: Regenerated.
21419
21420 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21421
21422         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21423         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21424         conformtest.pl
21425
21426 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21427
21428         * NOTES: Remove.
21429         * Makefile (files-for-dist): Remove NOTES.
21430         (NOTES): Remove rule.
21431         * README: Don't refer to NOTES.
21432         * manual/creature.texi: Don't include macros.texi.
21433         * manual/intro.texi (creature.texi): Remove comment referring to
21434         NOTES.
21435
21436         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21437         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21438         * configure: Regenerated.
21439         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21440         LIBC_TRY_CC_OPTION.
21441         (libc_cv_as_i686): Likewise.
21442         (libc_cv_cc_avx): Likewise.
21443         (libc_cv_cc_sse2avx): Likewise.
21444         (libc_cv_cc_fma4): Likewise.
21445         (libc_cv_cc_novzeroupper): Likewise.
21446         * sysdeps/i386/configure: Regenerated.
21447
21448         [BZ #13883]
21449         * sysdeps/i386/fpu/s_cexp.S: Remove.
21450         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21451         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21452         * math/libm-test.inc (cexp_test): Add more tests.
21453         * sysdeps/i386/fpu/libm-test-ulps: Update.
21454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21455
21456 2012-03-21  Allan McRae  <allan@archlinux.org>
21457
21458         * timezone/Makefile: Do not install iso3166.tab and zone.tab
21459
21460 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21461
21462         [BZ #13871]
21463         * math/w_exp2.c: Do not include <float.h>.
21464         (o_threshold, u_threshold): Remove.
21465         (__exp2): Calculate result before checking finiteness and calling
21466         __kernel_standard.
21467         * math/w_exp2f.c: Likewise.
21468         * math/w_exp2l.c: Likewise.
21469         * math/libm-test.inc (exp2_test): Require overflow exception for
21470         1e6 input.
21471
21472         [BZ #3866]
21473         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21474         range of signed 64-bit integers before using fistpll.  Remove
21475         checks for whether integers fit in mantissa bits.
21476         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21477         the range of signed 32-bit integers before using fistpl.  Remove
21478         checks for whether integers fit in mantissa bits.
21479         * sysdeps/i386/fpu/e_powl.S (p64): New object.
21480         (__ieee754_powl): Test for y outside the range of signed 64-bit
21481         integers before using fistpll.  Reduce 64-bit values to 63-bit
21482         ones as needed.
21483         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21484         divide-by-zero is raised for zero to large negative powers.
21485         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21486         (__ieee754_powl): Test for y outside the range of signed 64-bit
21487         integers before using fistpll.  Reduce 64-bit values to 63-bit
21488         ones as needed.
21489         * math/libm-test.inc (pow_test): Add more tests.
21490
21491 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21492
21493         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21494         <stdio-common/_itoa.h>.
21495         * debug/segfault.c: Likewise.
21496         * elf/dl-cache.c: Likewise.
21497         * elf/dl-minimal.c: Likewise.
21498         * elf/dl-misc.c: Likewise.
21499         * elf/dl-sysdep.c: Likewise.
21500         * elf/dl-version.c: Likewise.
21501         * elf/rtld.c: Likewise.
21502         * hurd/hurdsock.c: Likewise.
21503         * hurd/lookup-retry.c: Likewise.
21504         * malloc/malloc.c: Likewise.
21505         * malloc/mtrace.c: Likewise.
21506         * nscd/nscd_getgr_r.c: Likewise.
21507         * nscd/nscd_getpw_r.c: Likewise.
21508         * nscd/nscd_getserv_r.c: Likewise.
21509         * posix/getopt_init.c: Likewise.
21510         * posix/wordexp.c: Likewise.
21511         * stdio-common/_itoa.c: Likewise.
21512         * stdio-common/printf_fphex.c: Likewise.
21513         * stdio-common/vfprintf.c: Likewise.
21514         * string/_strerror.c: Likewise.
21515         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21516         * sysdeps/i386/i686/hp-timing.h: Likewise.
21517         * sysdeps/mach/_strerror.c: Likewise.
21518         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21519         * sysdeps/mach/hurd/sethostid.c: Likewise.
21520         * sysdeps/mach/hurd/xmknodat.c: Likewise.
21521         * sysdeps/mach/xpg-strerror.c: Likewise.
21522         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21523         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21524         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21525         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21526         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21527         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21528         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21529         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21530         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21531         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21532         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21533         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21534         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21535         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21536         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21537         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21538         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21539         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21540         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21541         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21542         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21543
21544         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21545
21546         * stdio-common/_itoa.h: Moved to ...
21547         * sysdeps/generic/_itoa.h: Here.
21548
21549         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21550
21551         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21552         instead of "_itoa.h" and "_itowa.h".
21553         * stdio-common/vfprintf.: Likewise.
21554
21555 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21556
21557         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21558         <bits/wordsize.h>.
21559         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21560         (__signbit): Likwise.
21561         (llrintf): Likwise.
21562         (llrint): Likwise.
21563
21564 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21565
21566         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21567         __WORDSIZE != 64.
21568
21569 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
21570
21571         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21572         OVERFLOW_EXCEPTION_OK.
21573         * math/libm-test.inc ("Philosophy"): Update comment about
21574         exception testing.
21575         (OVERFLOW_EXCEPTION): Define.
21576         (OVERFLOW_EXCEPTION_OK): Likewise.
21577         (INVALID_EXCEPTION_OK): Renumber.
21578         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21579         (IGNORE_ZERO_INF_SIGN): Likewise.
21580         (test_exceptions): Handle FE_OVERFLOW.
21581         (exp10_test): Expect overflow exceptions.
21582         (exp2_test): Likewise.
21583         (expm1_test): Likewise.
21584         (nextafter_test): Likewise.
21585         (pow_test): Likewise.
21586         (scalbn_test): Likewise.
21587         (scalbln_test): Likewise.
21588
21589 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21590
21591         * sysdeps/x86_64/bits/atomic.h
21592         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21593         64bit integer.
21594         (atomic_exchange_acq): Likewise.
21595         (__arch_exchange_and_add_body): Likewise.
21596         (__arch_add_body): Likewise.
21597         (atomic_add_negative): Likewise.
21598         (atomic_add_zero): Likewise.
21599
21600 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21601
21602         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
21603         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21604
21605 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21606
21607         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21608         Check __x86_64__ instead of __WORDSIZE.
21609
21610 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21611
21612         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21613
21614 2012-03-19  David S. Miller  <davem@davemloft.net>
21615
21616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21617
21618         * sysdeps/sparc/fpu/fenv_private.h: New file.
21619         * sysdeps/sparc/fpu/math_private.h: Use it.
21620         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21621         Remove.
21622         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21623         (libc_feholdexcept_setroundl): Remove.
21624         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21625         Remove.
21626         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21627         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21628
21629 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21630
21631         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21632         int64_t instead of long int.
21633         (INSERT_WORDS64): Likwise.
21634
21635 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21636
21637         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21638         _Unwind_GetCFA return to _Unwind_Ptr first.
21639
21640 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
21641
21642         [BZ #13629]
21643         * math/s_clog.c: Include <float.h>.
21644         (__clog): Scale large or subnormal inputs.
21645         * math/s_clogf.c: Likewise.
21646         * math/s_clogl.c: Likewise.
21647         * math/s_clog10.c: Include <float.h>.
21648         (M_LOG10_2): Define.
21649         (__clog10): Scale large or subnormal inputs.
21650         * math/s_clog10f.c: Likewise.
21651         * math/s_clog10l.c: Likewise.
21652         * math/libm-test.inc (clog_test): Add more tests.
21653         (clog10_test): Likewise.
21654         * sysdeps/i386/fpu/libm-test-ulps: Update.
21655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21656
21657         [BZ #11451]
21658         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21659         x and y.
21660         * math/libm-test.inc (atan2_test): Add another test.
21661
21662         * Makerules (common-objdir-compile): Remove.
21663         * sysdeps/unix/Makefile (config-generated): Do not add
21664         $(unix-generated) to variable.
21665         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21666         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21667         Remove rule.
21668         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21669         Likewise.
21670         [generic bits/local_lim.h] (before-compile): Do not append to
21671         variable.
21672         [generic bits/local_lim.h] (common-generated): Likewise.
21673         [generic sys/param.h] (before-compile): Do not append to variable.
21674         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21675         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21676         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21677         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21678         include.
21679         [generic sys/param.h] (sys/param.h-includes): Remove variable.
21680         [generic sys/param.h] (sys/param.h-includes): Remove rule.
21681         [generic sys/param.h] ($(addprefix
21682         $(common-objpfx),$(sys/param.h-includes))): Likewise.
21683         [generic sys/param.h] (common-generated): Do not append to
21684         variable.
21685         [generic sys/param.h] (sysdep_headers): Likewise.
21686         [generic bits/errno.h] (before-compile): Do not append to
21687         variable.
21688         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21689         rule.
21690         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21691         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21692         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21693         [generic bits/errno.h] (common-generated): Do not append to
21694         variable.
21695         [generic bits/ioctls.h] (before-compile): Do not append to
21696         variable.
21697         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21698         rule.
21699         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21700         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21701         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21702         rule.
21703         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21704         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21705         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21706         [generic bits/ioctls.h] (common-generated): Do not append to
21707         variable.
21708         [generic sys/syscall.h] (syscall.h): Remove variable.
21709         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21710         rule.
21711         [generic sys/syscall.h] (before-compile): Do not append to
21712         variable.
21713         [generic sys/syscall.h] (common-generated): Likewise.
21714         * sysdeps/unix/errnos-tmpl.c: Remove file.
21715         * sysdeps/unix/errnos.awk: Likewise.
21716         * sysdeps/unix/ioctls-tmpl.c: Likewise.
21717         * sysdeps/unix/ioctls.awk: Likewise.
21718         * sysdeps/unix/mk-local_lim.c: Likewise.
21719         * sysdeps/unix/snarf-ioctls: Likewise.
21720
21721 2012-03-19  Richard Henderson  <rth@twiddle.net>
21722
21723         * sysdeps/i386/fpu/fenv_private.h: New file.
21724         * sysdeps/i386/fpu/math_private.h: Use it.
21725         (math_opt_barrier, math_force_eval): Remove.
21726         (libc_feholdexcept_setround_53bit): Remove.
21727         (libc_feupdateenv_53bit): Remove.
21728         * sysdeps/x86_64/fpu/math_private.h: Likewise.
21729         (math_opt_barrier, math_force_eval): Remove.
21730         (libc_feholdexcept): Remove.
21731         (libc_feholdexcept_setround): Remove.
21732         (libc_fetestexcept, libc_fesetenv): Remove.
21733         (libc_feupdateenv_test): Remove.
21734         (libc_feupdateenv, libc_feholdsetround): Remove.
21735         (libc_feresetround): Remove.
21736
21737         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21738         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21739
21740         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21741         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21742         (libc_feupdateenv_testl): New.
21743         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21744         (libc_feupdateenv_testf): New.
21745         (libc_feupdateenv): Use libc_feupdateenv_test.
21746         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21747         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21748
21749         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21750         (libc_feholdsetroundf, libc_feholdsetroundl): New.
21751         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21752         (libc_feresetround_noex): New.
21753         (libc_feresetround_noexf): New.
21754         (libc_feresetround_noexl): New.
21755         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21756         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21757         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21758         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21759         SET_RESTORE_ROUND.
21760         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21761         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21762         (__cos): Likewise.
21763         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21764         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21765         SET_RESTORE_ROUND_NOEX.
21766         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21767         SET_RESTORE_ROUND_NOEXF.
21768         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21769         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21770         (libc_feholdsetroundf): New.
21771         (libc_feresetround, libc_feresetroundf): New.
21772
21773         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21774         (libc_feholdexcept_setround_53bit): Convert from macro to function.
21775         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
21776
21777         * sysdeps/generic/math_private.h: Include <fenv.h>.
21778         (default_libc_feholdexcept): New.
21779         (default_libc_feholdexcept_setround): New.
21780         (default_libc_fesetenv, default_libc_feupdateenv): New.
21781         (libc_feholdexcept): Only define if undefined.
21782         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21783         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21784         (libc_feholdexcept_setroundl): Likewise.
21785         (libc_feholdexcept_setround_53bit): Likewise.
21786         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21787         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21788         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21789         (libc_feupdateenv_53bit): Likewise.
21790         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21791         (libc_feholdexcept): Convert from macro to inline function.
21792         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21793         (libc_fesetenv, libc_feupdateenv): Likewise.
21794
21795         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21796         not previously defined.
21797         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21798         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21799         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21800         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21801         * sysdeps/ieee754/flt-32/math_private.h: New file.
21802         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21803         math_private.h below SET_FLOAT_WORD.
21804         (__isnan, __isinf_ns, __finite): Remove.
21805         (__isnanf, __isinf_nsf, __finitef): Remove.
21806
21807 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
21808
21809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21810
21811 2012-03-17  David S. Miller  <davem@davemloft.net>
21812
21813         [BZ #6471]
21814         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21815         for 2.16.
21816
21817 2012-03-16  David S. Miller  <davem@davemloft.net>
21818
21819         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21820         warnings.
21821
21822         [BZ #6471]
21823         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21824         properly.
21825         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21826         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21827         sysdep_routines when subdir is sysvipc.
21828         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21829         __getshmlba helper.
21830
21831         * sysdeps/sparc/fpu/libm-test/ulps: Update.
21832
21833 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21834
21835         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21836         [__LP64__].
21837
21838 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21839
21840         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21841         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21842         (__lround): Renamed to ...
21843         (__llround): This.  Replace long int with long long int.
21844         Define lround functions as aliases of llround functions.
21845         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21846
21847 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21848
21849         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21850         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
21851         adresses to uintptr_t.  Replace "long int" and "unsigned long
21852         int" with "greg_t" on va_arg.
21853
21854 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21855
21856         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21857         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21858
21859         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21860         Move e_machine check before EI_CLASS check.  Handle x32
21861         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21862         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21863         SKIP_EM_IA_64 and include
21864         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21865
21866         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21867         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21868         (add_system_dir): New macro.
21869
21870         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21871         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21872
21873 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21874
21875         [BZ #2551]
21876         [BZ #2552]
21877         [BZ #2553]
21878         [BZ #2554]
21879         [BZ #2562]
21880         [BZ #2563]
21881         [BZ #2565]
21882         [BZ #2566]
21883         [BZ #2576]
21884         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21885         (y0): Likewise.
21886         * math/w_j0f.c (j0f): Likewise.
21887         (y0f): Likewise.
21888         * math/w_j0l.c (__j0l): Likewise.
21889         (__y0l): Likewise.
21890         * math/w_j1.c (j1): Likewise.
21891         (y1): Likewise.
21892         * math/w_j1f.c (j1f): Likewise.
21893         (y1f): Likewise.
21894         * math/w_j1l.c (__j1l): Likewise.
21895         (__y1l): Likewise.
21896         * math/w_jn.c (jn): Likewise.
21897         (yn): Likewise.
21898         * math/w_jnf.c (jnf): Likewise.
21899         (ynf): Likewise.
21900         * math/w_jnl.c (__jnl): Likewise.
21901         (__ynl): Likewise.
21902         * math/libm-test.inc (j0_test): Add more tests.
21903         (j1_test): Likewise.
21904         (jn_test): Likewise.  Add trailing semicolon to existing test.
21905         (y0_test): Likewise.
21906         (y1_test): Likewise.
21907         * sysdeps/i386/fpu/libm-test-ulps: Update.
21908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21909
21910         [BZ #13851]
21911         [BZ #13854]
21912         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21913         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21914         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21915         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21916         (__tanl): Set errno for infinite argument.
21917         * sysdeps/i386/fpu/mptan.c: Remove.
21918         * sysdeps/i386/fpu/s_tan.S: Likewise.
21919         * sysdeps/i386/fpu/s_tanl.S: Likewise.
21920         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21921         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21922         * math/libm-test.inc (tan_test): Add more tests and enable more
21923         tests for double and long double.
21924         * sysdeps/i386/fpu/libm-test-ulps: Update.
21925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21926
21927 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
21928
21929         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21930         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21931
21932 2012-03-16  Roland McGrath  <roland@hack.frob.com>
21933
21934         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21935         * configure.in: Use it for both main tree and add-ons.
21936         * configure: Regenerated.
21937
21938 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21939
21940         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21941
21942 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21943
21944         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21945         in comment.
21946
21947         [BZ #13851]
21948         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21949         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21950         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21951         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21952         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21953         infinite argument.
21954         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21955         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21956         != 0 for prec == 2.
21957         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21958         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21959         * sysdeps/i386/fpu/s_cosl.S: Likewise.
21960         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21961         * sysdeps/i386/fpu/s_sinl.S: Likewise.
21962         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21963         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21964         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21965         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21966         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21967         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21968         * math/libm-test.inc (cos_test): Add more tests and enable more
21969         tests for long double.
21970         (sin_test): Likewise.
21971         (sincos_test): Likewise.
21972         * sysdeps/i386/fpu/libm-test-ulps: Update.
21973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21974
21975 2012-03-16  David S. Miller  <davem@davemloft.net>
21976
21977         * sysdeps/sparc/fpu/math_private.h: New file.
21978
21979 2012-03-15  David S. Miller  <davem@davemloft.net>
21980
21981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21982         file.
21983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
21984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21985         file.
21986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21987         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21988         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21989         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21990         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21991         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21992         sysdep routines.
21993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21994
21995         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21996         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21997
21998         * sysdeps/sparc/sparc-ifunc.h: New file.
21999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22000         sparc-ifunc.h
22001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22003         Likewise.
22004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22005         Likewise.
22006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22010         Likewise.
22011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22016         Likewise.
22017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22018         Likewise.
22019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22023         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22024         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22025         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22026         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22027         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22028         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22029         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22030         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22031         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22032         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22033         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22034         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22035         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22036         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22037         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22038         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22039         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22040         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22041         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22042         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22043
22044 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
22045
22046         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22047         scaling.
22048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22049
22050 2012-03-15  Andreas Jaeger  <aj@suse.de>
22051
22052         [BZ #13852]
22053         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22054         ieee754/flt-32 implementation for sin, cos and sincos.
22055         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22056         * sysdeps/i386/fpu/s_cosf.S: Likewise.
22057         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22058         * sysdeps/i386/fpu/s_sinf.S: Likewise.
22059         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22060         ieee754/flt-32 implementation for tan.
22061
22062         * math/libm-test.inc (cos_test): Enable some large input tests for
22063         float as well
22064         (sin_test): Likewise.
22065         (sincos_test): Likewise.
22066         (tan_test): Add tests for large input.
22067
22068         * sysdeps/i386/fpu/libm-test-ulps: Update.
22069
22070 2012-03-15  Andreas Jaeger  <aj@suse.de>
22071
22072         [BZ #13658]
22073         * math/libm-test.inc (cos_test): Add more test cases.
22074         (sin_test): Likewise.
22075         (sincos_test): Likewise.
22076
22077 2012-03-15  Andreas Jaeger  <aj@suse.de>
22078
22079         [BZ #13837]
22080         * math/libm-test.inc (cos_test): Add a test case for large input
22081         value.
22082         (sin_test): Likewise.
22083         (sincos_test): Likewise.
22084
22085 2012-03-15  Andreas Jaeger  <aj@suse.de>,
22086         Joseph Myers  <joseph@codesourcery.com>
22087
22088         [BZ #13658]
22089         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22090         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22091         * sysdeps/i386/fpu/branred.c: Likewise.
22092         * sysdeps/i386/fpu/dosincos.c: Likewise.
22093         * sysdeps/i386/fpu/mpa.c: Likewise.
22094         * sysdeps/i386/fpu/s_cos.S: Likewise.
22095         * sysdeps/i386/fpu/s_sin.S: Likewise.
22096         * sysdeps/i386/fpu/s_sincos.S: Likewise.
22097         * sysdeps/i386/fpu/sincos32.c: Likewise.
22098
22099         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22100         Define.
22101         (libc_feupdateenv_53bit): Define.
22102         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22103         Define.
22104         (libc_feupdateenv_53bit): Define.
22105
22106         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22107         53 bit (without extend i386 double precision).
22108
22109         * math/libm-test.inc (sincos_test): Add tests for large input.
22110         (sin): Likewise.
22111         (cos): Likewise.
22112
22113         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22114
22115 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
22116
22117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22118
22119 2012-03-15  David S. Miller  <davem@davemloft.net>
22120
22121         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22122         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22123         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22124         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22129         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22130         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22131         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22132         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22133         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22134         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22135         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22137         file.
22138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22140         file.
22141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22143         file.
22144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22146         file.
22147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22148         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22149         fmin/fmax sysdep routines.
22150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22151
22152 2012-03-14  David S. Miller  <davem@davemloft.net>
22153
22154         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22155         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22156         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22157         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22158         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22159         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22160         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22161         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22162         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22163         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22164         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22165         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22166         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22167         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22168         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22169         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22170         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22171         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22172         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22173         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22174         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22175         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22176         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22177         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22178         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22179         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22180         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22181         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22182         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22183         routines.
22184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22185         file.
22186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22188         file.
22189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22191         file.
22192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22194         file.
22195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22197         file.
22198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22200         file.
22201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22202         file.
22203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22204         file.
22205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22206         file.
22207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22208         New file.
22209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22210         file.
22211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22212         file.
22213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22215         file.
22216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22218         file.
22219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22221         file.
22222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22224         VIS3 routines.
22225
22226         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22227         New file.
22228
22229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22230
22231         * sysdeps/sparc/configure.in: New file.
22232         * sysdeps/sparc/configure: Generate.
22233         * configure.in (libc_cv_sparc_as_vis3): Substitute.
22234         * configure: Regenerate.
22235         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22236         * config.make.in (have-as-vis3): New.
22237         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22238         available use -Av9d instead of -Av9a.
22239         * sysdeps/sparc/sparc64/Makefile: Likewise.
22240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22242         New file.
22243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22244         file.
22245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22246         New file.
22247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22248         file.
22249         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22250         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22251         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22252         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22253         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22254
22255         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22256         fzeros/fnegs to load 0x80000000 into a float register instead of
22257         using the stack.
22258         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22259
22260 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
22261
22262         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22263         bits/syscall.h.
22264         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22265         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22266         ($(inst_includedir)/bits/syscall.h): Remove rule.
22267         ($(objpfx)bits/syscall.d): Include instead of
22268         $(objpfx)syscall-list.d.
22269         (generated): Change syscall-list.h and syscall-list.d to
22270         bits/syscall.h and bits/syscall.d.
22271
22272 2012-03-14  Roland McGrath  <roland@hack.frob.com>
22273
22274         [BZ #13846]
22275         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22276
22277 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
22278
22279         [BZ #13841]
22280         * math/s_csqrt.c: Include <float.h>.
22281         (__csqrt): Scale large or subnormal inputs.
22282         * math/s_csqrtf.c: Likewise.
22283         * math/s_csqrtl.c: Likewise.
22284         * math/libm-test.inc (csqrt_test): Add more tests.
22285         * sysdeps/i386/fpu/libm-test-ulps: Update.
22286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22287
22288         [BZ #13840]
22289         * math/libm-test.inc (hypot_test): Add more tests.
22290
22291 2012-03-13  David S. Miller  <davem@davemloft.net>
22292
22293         [BZ #13840]
22294         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22295         double-precision for the calculation instead of scaling.
22296
22297 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
22298
22299         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22300         manipulate bits before adding and subtracting TWO52[sx].
22301         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22302         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22303         Likewise.
22304         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22305
22306 2012-03-13  David S. Miller  <davem@davemloft.net>
22307
22308         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22309         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22310         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22311         rtld-global-offsets.h
22312         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22313
22314         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22315         large parameters.
22316
22317         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22318
22319         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22320         'err' in the ifdef scope in which it is actually used.
22321
22322         * nss/nss_db/db-init.c: Include string.h
22323
22324 2012-03-12  David S. Miller  <davem@davemloft.net>
22325
22326         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22327         masking out of the most significant byte of random value used.
22328         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22329         Fix coding style in previous change.
22330
22331         * sysdeps/unix/sysv/linux/kernel-features.h
22332         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22333         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22334         expression.
22335         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22336         later.
22337
22338 2012-03-11  David S. Miller  <davem@davemloft.net>
22339
22340         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22341         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22342         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22343         for 'resultvar' otherwise things get truncated on 64-bit.
22344
22345         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22346         Fix masking out of the most significant byte of random value used.
22347
22348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22349
22350 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
22351
22352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22353
22354 2012-03-09  David S. Miller  <davem@davemloft.net>
22355
22356         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22357         variables with appropriate CPP guards.
22358         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22359         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
22360         on resulting framesize and the management of the outregs buffer for pltexit.
22361         Preserve floating point return values across _dl_call_pltexit call.
22362         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22363         framesize and the management of the outregs buffer for pltexit.
22364         Preserve floating point return values across _dl_call_pltexit
22365         call.
22366         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22367         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22368         (print_exit): Fix format string for return register value.
22369
22370 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
22371
22372         * sunrpc/Makefile (others): Add rpcgen.
22373         ($(objpfx)rpcgen): Remove special build rule and dependency on
22374         libc.
22375         * sunrpc/rpcgen.c: New file.
22376
22377 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
22378
22379         [BZ #13673]
22380         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22381         * stdio-common/bug-vfprintf-nargs.c: Likewise.
22382         * sysdeps/i386/crti.S: Likewise.
22383         * sysdeps/i386/crtn.S: Likewise.
22384         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22385         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22386         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22387         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22388         * sysdeps/sh/crti.S: Likewise.
22389         * sysdeps/sh/crtn.S: Likewise.
22390         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22391
22392         [BZ #13673]
22393         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22394         with URL.
22395         * locale/programs/locfile-kw.gperf: Likewise.
22396         * locale/programs/charmap-kw.h: Regenerated.
22397         * locale/programs/locfile-kw.h: Likewise.
22398
22399         [BZ #13673]
22400         * intl/plural.y: Replace FSF snail mail address with URL.
22401         * intl/plural.c: Regenerated.
22402
22403 2012-03-09  Richard Henderson  <rth@twiddle.net>
22404
22405         * include/math_private.h: Remove file.
22406         * math/math_private.h: Move file ...
22407         * sysdeps/generic/math_private.h: ... here.
22408
22409         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22410         * sysdeps/powerpc/fpu/math_private.h: Likewise.
22411         * sysdeps/x86_64/fpu/math_private.h: Likewise.
22412
22413         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22414         and <math_private.h>.
22415         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22416         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22417         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22418         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22419         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22420         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22421         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22422         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22423         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22424         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22425         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22426         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22427         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22428         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22429         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22430         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22431         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22432         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22433         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22434         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22435         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22436         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22437         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22438         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22439         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22440         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22441         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22442         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22443         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22444         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22445         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22446         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22447         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22448         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22449         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22450         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22451         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22452         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22453         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22454         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22455         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22456         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22457         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22458         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22459         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22460         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22461         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22462         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22463         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22464         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22465         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22466         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22467         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22468         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22469         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22470         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22471         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22472         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22473         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22474         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22475         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22476         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22477         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22478         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22479         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22480         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22481         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22482         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22483         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22484         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22485         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22486         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22487         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22488         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22489         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22490         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22491         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22492         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22493         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22494         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22495         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22496         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22497         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22498         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22499         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22500         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22501         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22502         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22503         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22504         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22505         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22506         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22507         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22508         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22509         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22510         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22511         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22512         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22513         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22514         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22515         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22516         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22517         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22518         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22519         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22520         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22521         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22522         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22523         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22524         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22525         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22526         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22527         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22528         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22529         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22530         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22531         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22532         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22533         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22534         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22535         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22536         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22537         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22538         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22539         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22540         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22541         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22542         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22543         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22544         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22545         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22546         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22547         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22548         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22549         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22550         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22551         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22552         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22553         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22554         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22555         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22556         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22557         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22558         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22559         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22560         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22561         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22562         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22563         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22564         * sysdeps/ieee754/k_standard.c: Likewise.
22565         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22566         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22567         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22568         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22569         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22570         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22571         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22572         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22573         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22574         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22575         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22576         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22577         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22578         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22579         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22580         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22581         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22582         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22583         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22584         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22585         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22586         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22587         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22588         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22589         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22590         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22591         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22592         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22593         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22594         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22595         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22596         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22597         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22598         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22599         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22600         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22601         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22602         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22603         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22604         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22605         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22606         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22607         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22608         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22609         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22610         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22611         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22612         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22613         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22614         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22615         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22616         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22617         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22618         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22619         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22620         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22621         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22622         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22623         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22624         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22625         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22626         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22627         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22628         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22629         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22630         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22631         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22632         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22633         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22634         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22635         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22636         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22637         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22638         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22639         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22640         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22641         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22642         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22643         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22644         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22645         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22646         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22647         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22648         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22649         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22650         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22651         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22652         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22653         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22654         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22655         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22656         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22657         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22658         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22659         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22660         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22661         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22662         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22663         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22664         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22665         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22666         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22667         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22668         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22669         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22670         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22671         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22672         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22673         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22674         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22675         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22676         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22677         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22678         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22679         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22680         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22681         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22682         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22683         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22684         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22685         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22686         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22687         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22688         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22689         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22690         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22691         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22692         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22693         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22694         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22695         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22696         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22697         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22698         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22699         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22700         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22701         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22702         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22703         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22704         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22705         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22706         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22707         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22708         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22709         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22710         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22711         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22712         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22713         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22714         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22715         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22716         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22717         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22718         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22719         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22720         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22721         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22722         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22723         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22724         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22725         * sysdeps/ieee754/s_lib_version.c: Likewise.
22726         * sysdeps/ieee754/s_matherr.c: Likewise.
22727         * sysdeps/ieee754/s_signgam.c: Likewise.
22728         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22729         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22730         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22731         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22732         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22733         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22734         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22735         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22736         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22737         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22738         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22739         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22740         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22741         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22742         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22743         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22744         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22745         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22746         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22747         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22748         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22749
22750 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
22751
22752         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22753         * sunrpc/rpc_main.c: Likewise.
22754         * sunrpc/rpc_svcout.c: Likewise.
22755
22756 2012-03-09  David S. Miller  <davem@davemloft.net>
22757
22758         * include/math_private.h: New file.
22759
22760 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
22761
22762         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22763         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22764         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22765         from <bits/socket_type.h>.
22766         (enum __socket_type): Don't define here.
22767         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22768         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22769         bits/socket_type.h.
22770
22771         [BZ #13566]
22772         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22773         checking __USE_GNU.
22774
22775         * Makerules ($(inst_includedir)/%.h): New rule.
22776         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22777         (install-others): Remove variable setting.
22778         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22779
22780 2012-03-08  Richard Henderson  <rth@twiddle.net>
22781
22782         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22783         from macro to inline function; merge with the
22784         !__LIBC_INTERNAL_MATH_INLINES version.
22785         (__ieee754_sqrtf): Likewise.
22786
22787         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22788         to inline function.
22789         (__rintf, __floor, __floorf): Likewise.
22790
22791         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22792         macro to inline function.
22793         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22794
22795         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22796         not <math/math_private.h>.
22797
22798 2012-03-08  David S. Miller  <davem@davemloft.net>
22799
22800         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22801         copyright year.
22802         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22803
22804 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
22805
22806         * resolv/gai_misc.c (handle_requests): Fix struct timespec
22807         normalization.
22808         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22809         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22810
22811 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
22812
22813         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
22814         be defined individually, they must be defined as a block.  Define
22815         S for printing a string instead of hidint the different by using a
22816         macro for adding the 'l'.
22817         * stdio-common/tst-fphex-wide.c: Adjust.
22818
22819 2012-03-07  Marek Polacek  <polacek@redhat.com>
22820
22821         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22822
22823 2012-03-08  Marek Polacek  <polacek@redhat.com>
22824
22825         [BZ #13806]
22826         * stdio-common/Makefile (tests): Add tst-fphex-wide.
22827         * stdio-common/tst-fphex.c: Define a few macros to make the
22828         test reusable.  Use them.
22829         * stdio-common/tst-fphex-wide.c: New file.
22830
22831 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
22832
22833         [BZ #6911]
22834         * manual/macros.texi (gnusystems): New macro.
22835         (nongnusystems): Likewise.
22836         (gnulinuxhurdsystems): Likewise.
22837         (gnuhurdsystems): Likewise..
22838         (gnulinuxsystems): Likewise.
22839         * manual/charset.texi: Use new macros or @theglibc{} to refer to
22840         variants of the GNU system, not "GNU system".
22841         * manual/conf.texi: Likewise.
22842         * manual/errno.texi: Likewise.  Update example of errno macro
22843         expansion.
22844         * manual/filesys.texi: Likewise.
22845         (getumask): Document as specific to GNU/Hurd.
22846         * manual/install.texi: Likewise.  Reword some references to
22847         GNU/Linux.
22848         * manual/intro.texi: Likewise.
22849         * manual/io.texi: Likewise.
22850         (File Name Portability): Detail which constraints are inapplicable
22851         to all GNU systems and which are only inapplicable to GNU/Hurd.
22852         * manual/job.texi: Likewise.
22853         * manual/llio.texi: Likewise.
22854         (O_NOCTTY): Document as present on GNU/Linux.
22855         * manual/maint.texi: Likewise.
22856         * manual/memory.texi: Likewise.
22857         * manual/pattern.texi: Likewise.
22858         * manual/pipe.texi: Likewise.
22859         * manual/process.texi: Likewise.
22860         * manual/resource.texi: Likewise.
22861         (RUSAGE_CHILDREN): Remove statement about specifying a particular
22862         child on GNU/Hurd.
22863         * manual/setjmp.texi: Likewise.
22864         * manual/signal.texi: Likewise.
22865         * manual/startup.texi: Likewise.
22866         * manual/stdio.texi: Likewise.
22867         * manual/terminal.texi: Likewise.
22868         (ONLCR): Document as POSIX.
22869         (OXTABS): Document availability on GNU/Linux as XTABS.
22870         (ONOEOT): Document availability separately from other bits.
22871         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22872         * manual/time.texi: Likewise.
22873         * manual/users.texi: Likewise.
22874         * INSTALL: Regenerated.
22875         * sysdeps/gnu/errlist.c: Regenerated.
22876
22877         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22878         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22879         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
22880         puts.
22881         * configure: Regenerated.
22882
22883 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
22884
22885         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22886         default includes instead of AC_HEADER_CHECK.
22887         * sysdeps/i386/configure: Regenerated.
22888
22889         [BZ #10716]
22890         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22891         * math/s_cacoshf.c (__cacoshf): Likewise.
22892         * math/s_cacoshl.c (__cacoshl): Likewise.
22893         * math/s_casinh.c (__casinh): Set signs of result from argument.
22894         * math/s_casinhf.c (__casinhf): Likewise.
22895         * math/s_casinhl.c (__casinhl): Likewise.
22896         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22897         (casinh_test): Add more tests.
22898         * sysdeps/i386/fpu/libm-test-ulps: Update.
22899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22900
22901 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
22902
22903         * po/zh_TW.po: Update from translation team.
22904
22905         * login/Makefile (distribute): Remove variable.
22906         * catgets/Makefile: Likewise.
22907         * mach/Makefile: Likewise.
22908         * malloc/Makefile: Likewise.
22909         * misc/Makefile: Likewise.
22910         * iconv/Makefile: Likewise.
22911         * nscd/Makefile: Likewise.
22912         * hurd/Makefile: Likewise.
22913         * manual/Makefile: Likewise.
22914         * locale/Makefile: Likewise.
22915         * intl/Makefile: Likewise.
22916         * conform/Makefile: Likewise.
22917         * nss/Makefile: Likewise.
22918         * time/Makefile: Likewise.
22919         * soft-fp/Makefile: Likewise.
22920         * dirent/Makefile: Likewise.
22921         * gmon/Makefile: Likewise.
22922         * po/Makefile: Likewise.
22923         * rt/Makefile: Likewise.
22924         * socket/Makefile: Likewise.
22925         * math/Makefile: Likewise.
22926         * signal/Makefile: Likewise.
22927         * debug/Makefile: Likewise.
22928         * elf/Makefile: Likewise.
22929         * timezone/Makefile: Likewise.
22930         * stdlib/Makefile: Likewise.
22931         * iconvdata/Makefile: Likewise.
22932         * sunrpc/Makefile: Likewise.
22933         * io/Makefile: Likewise.
22934         * argp/Makefile: Likewise.
22935         * inet/Makefile: Likewise.
22936         * hesiod/Makefile: Likewise.
22937         * grp/Makefile: Likewise.
22938         * csu/Makefile: Likewise.
22939         * wctype/Makefile: Likewise.
22940         * crypt/Makefile: Likewise.
22941         * libio/Makefile: Likewise.
22942         * string/Makefile: Likewise.
22943         * nis/Makefile: Likewise.
22944         * resolv/Makefile: Likewise.
22945         * stdio-common/Makefile: Likewise.
22946         * wcsmbs/Makefile: Likewise.
22947         * dlfcn/Makefile: Likewise.
22948         * posix/Makefile: Likewise.
22949
22950         [BZ #6959]
22951         * timezone/Makefile: Don't install timezone files, just the programs
22952         and scripts.
22953
22954 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
22955
22956         * nss/databases.def: Add missing gshadow entry.
22957
22958         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
22959
22960 2012-03-06  Marek Polacek  <polacek@redhat.com>
22961
22962         [BZ #13726]
22963         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22964         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22965         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22966         * stdio-common/tst-long-dbl-fphex.c: New file.
22967
22968 2012-03-06  David S. Miller  <davem@davemloft.net>
22969
22970         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22971         (set_obp_int): New function.
22972         (get_obp_int): New function.
22973         (__get_clockfreq_via_dev_openprom): Likewise.
22974         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22975         Avoid unused variable warnings on 'val' and use builtin_expect.
22976         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22977         __builtin_expect.
22978         (INLINE_CLONE_SYSCALL): Likewise.
22979
22980 2012-03-05  David S. Miller  <davem@davemloft.net>
22981
22982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22983
22984 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
22985
22986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22987
22988         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22989         only for |x| >= 40.
22990         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22991
22992 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22993
22994         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22995         Replace gettimeofday with __vdso_gettimeofday.
22996
22997         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22998         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22999         __vdso_clock_gettime and __vdso_getcpu.
23000
23001         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23002         time with __vdso_time.
23003
23004 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
23005
23006         * manual/lang.texi (size_t): Note types to which size_t may be
23007         equivalent with the GNU C Library, but do not describe when
23008         differences between them are significant.
23009
23010 2012-03-05  Andreas Jaeger  <aj@suse.de>
23011
23012         * sysdeps/i386/fpu/libm-test-ulps: Update.
23013
23014 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
23015
23016         [BZ #3976]
23017         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23018         (__ieee754_pow): Save and restore rounding mode and use
23019         round-to-nearest for main computations.
23020         * math/libm-test.inc (pow_test_tonearest): New function.
23021         (pow_test_towardzero): Likewise.
23022         (pow_test_downward): Likewise.
23023         (pow_test_upward): Likewise.
23024         (main): Call the new functions.
23025         * sysdeps/i386/fpu/libm-test-ulps: Update.
23026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23027
23028         [BZ #3976]
23029         * math/libm-test.inc (cosh_test_tonearest): New function.
23030         (cosh_test_towardzero): Likewise.
23031         (cosh_test_downward): Likewise.
23032         (cosh_test_upward): Likewise.
23033         (sinh_test_tonearest): Likewise.
23034         (sinh_test_towardzero): Likewise.
23035         (sinh_test_downward): Likewise.
23036         (sinh_test_upward): Likewise.
23037         (main): Call the new functions.
23038         * sysdeps/i386/fpu/libm-test-ulps: Update.
23039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23040
23041 2012-03-05  Tom de Vries  <tom@codesourcery.com>
23042
23043         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23044         default stack guard is set in last bytes.
23045         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23046
23047 2012-03-05  Kees Cook  <keescook@chromium.org>
23048
23049         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23050
23051         [BZ #13656]
23052         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23053         possibly allocate from heap instead of stack.
23054         * stdio-common/bug-vfprintf-nargs.c: New file.
23055         * stdio-common/Makefile (tests): Add nargs overflow test.
23056
23057 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
23058
23059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23060
23061 2012-03-03  Marek Polacek  <polacek@redhat.com>
23062
23063         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23064         * math/math_private.h: Likewise.
23065         * stdlib/tst-strtod.c: Likewise.
23066         * sysdeps/i386/i486/bits/atomic.h: Likewise.
23067         * sysdeps/x86_64/bits/atomic.h: Likewise.
23068
23069 2012-03-02  David S. Miller  <davem@davemloft.net>
23070
23071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23075         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23076         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23077         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23078         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23079
23080 2012-03-02  Roland McGrath  <roland@hack.frob.com>
23081
23082         [BZ #13792]
23083         * manual/examples/README: New file, says the example source files
23084         can be used under GPL>=2.
23085         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23086         line containing just "*/".
23087         * manual/examples/add.c: Add copyright header (GPL>=2).
23088         * manual/examples/argp-ex1.c: Likewise.
23089         * manual/examples/argp-ex2.c: Likewise.
23090         * manual/examples/argp-ex3.c: Likewise.
23091         * manual/examples/argp-ex4.c: Likewise.
23092         * manual/examples/atexit.c: Likewise.
23093         * manual/examples/db.c: Likewise.
23094         * manual/examples/dir.c: Likewise.
23095         * manual/examples/dir2.c: Likewise.
23096         * manual/examples/execinfo.c: Likewise.
23097         * manual/examples/filecli.c: Likewise.
23098         * manual/examples/filesrv.c: Likewise.
23099         * manual/examples/fmtmsgexpl.c: Likewise.
23100         * manual/examples/genpass.c: Likewise.
23101         * manual/examples/inetcli.c: Likewise.
23102         * manual/examples/inetsrv.c: Likewise.
23103         * manual/examples/isockad.c: Likewise.
23104         * manual/examples/longopt.c: Likewise.
23105         * manual/examples/memopen.c: Likewise.
23106         * manual/examples/memstrm.c: Likewise.
23107         * manual/examples/mkfsock.c: Likewise.
23108         * manual/examples/mkisock.c: Likewise.
23109         * manual/examples/mygetpass.c: Likewise.
23110         * manual/examples/pipe.c: Likewise.
23111         * manual/examples/popen.c: Likewise.
23112         * manual/examples/rprintf.c: Likewise.
23113         * manual/examples/search.c: Likewise.
23114         * manual/examples/select.c: Likewise.
23115         * manual/examples/setjmp.c: Likewise.
23116         * manual/examples/sigh1.c: Likewise.
23117         * manual/examples/sigusr.c: Likewise.
23118         * manual/examples/stpcpy.c: Likewise.
23119         * manual/examples/strdupa.c: Likewise.
23120         * manual/examples/strftim.c: Likewise.
23121         * manual/examples/strncat.c: Likewise.
23122         * manual/examples/subopt.c: Likewise.
23123         * manual/examples/swapcontext.c: Likewise.
23124         * manual/examples/termios.c: Likewise.
23125         * manual/examples/testopt.c: Likewise.
23126         * manual/examples/testpass.c: Likewise.
23127         * manual/examples/timeval_subtract.c: Likewise.
23128
23129         [BZ #13792]
23130         * manual/time.texi (Elapsed Time): Move timeval_subtract example
23131         function to ...
23132         * manual/timeval_subtract.c.texi: ... here, new file.
23133
23134 2012-03-02  David S. Miller  <davem@davemloft.net>
23135
23136         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23137
23138 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
23139
23140         [BZ #3976]
23141         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23142         (__sin): Save and restore rounding mode and use round-to-nearest
23143         for all computations.
23144         (__cos): Save and restore rounding mode and use round-to-nearest
23145         for all computations.
23146         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23147         <fenv.h>.
23148         (tan): Save and restore rounding mode and use round-to-nearest for
23149         all computations.
23150         * math/libm-test.inc (cos_test_tonearest): New function.
23151         (cos_test_towardzero): Likewise.
23152         (cos_test_downward): Likewise.
23153         (cos_test_upward): Likewise.
23154         (sin_test_tonearest): Likewise.
23155         (sin_test_towardzero): Likewise.
23156         (sin_test_downward): Likewise.
23157         (sin_test_upward): Likewise.
23158         (tan_test_tonearest): Likewise.
23159         (tan_test_towardzero): Likewise.
23160         (tan_test_downward): Likewise.
23161         (tan_test_upward): Likewise.
23162         (main): Call the new functions.
23163         * sysdeps/i386/fpu/libm-test-ulps: Update.
23164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23165
23166         [BZ #10135]
23167         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23168         small n, then large n, before computing and testing k+n.
23169         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23170         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23171         Likewise.
23172         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23173         Likewise.
23174         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23175         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23176         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23177         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23178         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23179         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23180         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23181         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23182         * math/libm-test.inc (scalbn_test): Add more tests.
23183         (scalbln_test): Likewise.
23184
23185         * manual/filesys.texi (mode_t): Describe constraints on size and
23186         signedness, not exact equivalence to a particular type.
23187         (ino_t): Likewise.
23188         (ino64_t): Likewise.
23189         (dev_t): Likewise.
23190         (nlink_t): Likewise.
23191         (blkcnt_t): Likewise.
23192         (blkcnt64_t): Likewise.
23193         * manual/llio.texi (off_t): Likewise.
23194
23195         [BZ #3976]
23196         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23197         (__ieee754_exp): Save and restore rounding mode and use
23198         round-to-nearest for all computations.
23199         * math/libm-test.inc (exp_test_tonearest): New function.
23200         (exp_test_towardzero): Likewise.
23201         (exp_test_downward): Likewise.
23202         (exp_test_upward): Likewise.
23203         (main): Call the new functions.
23204         * sysdeps/i386/fpu/libm-test-ulps: Update.
23205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23206
23207 2012-03-01  Chris Demetriou  <cgd@google.com>
23208
23209         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23210         have predictable order.
23211
23212 2012-03-01  David S. Miller  <davem@davemloft.net>
23213
23214         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23215
23216         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23217         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23218         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23219         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23220
23221         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23222         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23223         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23225         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23226         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23227         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23228         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23229         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23230
23231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23232
23233         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23234         * sysdeps/sparc/fpu/libm-test-ulps: to here.
23235         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23236
23237         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23238         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23239         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23240         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23241         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23242         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23243         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23244         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23245         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23246         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23247         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23248         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23249         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23250         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23251         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23252         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23253         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23254         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23255         * sysdeps/sparc/elf/configure: Regenerated.
23256
23257 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
23258
23259         * configure.in (AS, LD): Require binutils 2.20 or later.
23260         * configure: Regenerated.
23261         * manual/install.texi (Tools for Compilation): Give binutils 2.20
23262         as required minimum version.
23263         * INSTALL: Regenerated.
23264
23265         [BZ #2541]
23266         [BZ #4108]
23267         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23268         before squaring exponent.
23269         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23270         bottom long double and 27 bits of top long double before squaring
23271         exponent.
23272         * math/libm-test.inc (erfc_test): Add more tests.
23273         * sysdeps/i386/fpu/libm-test-ulps: Update.
23274         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23276
23277 2012-03-01  Kai Tietz  <ktietz@redhat.com>
23278
23279         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23280         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23281         containing bit-fields.
23282         * soft-fp/extended.h (_FP_UNION_E): Likewise.
23283         * soft-fp/single.h (_FP_UNION_S): Likewise.
23284         * soft-fp/double.h (_FP_UNION_D): Likewise.
23285
23286 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
23287
23288         [BZ #13786]
23289         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23290         not include ../strcmp.S.
23291         [USE_AS_STRNCASECMP_L]: Likewise.
23292         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23293         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23294         * sysdeps/i386/i686/multiarch/strncase_l-c.c
23295         (__strncasecmp_l_ia32): Define as alias to
23296         __strncasecmp_l_nonascii.
23297
23298         [BZ #5794]
23299         * math/libm-test.inc (expm1_test): Add test for bug 5794.
23300         * sysdeps/i386/fpu/libm-test-ulps: Update.
23301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23302
23303         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23305
23306 2012-02-29  Jeff Law  <law@redhat.com>
23307
23308         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23309         out of bounds read.
23310
23311 2012-02-29  Marek Polacek  <polacek@redhat.com>
23312
23313         [BZ #13706]
23314         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23315         * elf/Makefile: Add rules to run tst-unused-dep.out.
23316
23317 2012-02-28  David S. Miller  <davem@davemloft.net>
23318
23319         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23320         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23321         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23322         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23323         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23324         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23325
23326 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
23327
23328         * math/libm-test.inc (llround_test): Move one test from
23329         lround_test.  Use TEST_f_L in moved test.
23330         (lround_test): Move misplaced test to llround_test.  Add testcase
23331         from bug 2561.
23332
23333 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
23334
23335         * sysdeps/x86_64/fpu/e_expf.S: New file.
23336         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23337
23338 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
23339
23340         [BZ #13637]
23341         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23342         of remain_len that may cause incomplete multi-byte character and
23343         false match.
23344         * posix/bug-regex33.c: New file.
23345         * posix/Makefile (tests): Add bug-regex33.
23346
23347 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
23348
23349         * manual/macros.texi: New file.
23350         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23351         * manual/libc.texinfo: Include macros.texi.
23352         * manual/creatute.texi: Likewise.
23353         * manual/install.texi: Likewise.
23354         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23355         @glibcadj{} in references to the GNU C Library.
23356         * manual/charset.texi: Likewise.
23357         * manual/conf.texi: Likewise.
23358         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
23359         when not using those macros.
23360         * manual/creature.texi: Likewise.
23361         * manual/crypt.texi: Likewise.
23362         * manual/errno.texi: Likewise.
23363         * manual/filesys.texi: Likewise.
23364         * manual/header.texi: Likewise.
23365         * manual/install.texi: Likewise.
23366         * manual/intro.texi: Likewise.
23367         * manual/io.texi: Likewise.
23368         * manual/job.texi: Likewise.
23369         * manual/lang.texi: Likewise.
23370         * manual/libc.texiinfo: Likewise.
23371         * manual/llio.texi: Likewise.
23372         * manual/locale.texi: Likewise.
23373         * manual/maint.texi: Likewise.
23374         * manual/math.texi: Likewise.
23375         * manual/memory.texi: Likewise.
23376         * manual/message.texi: Likewise.
23377         * manual/nss.texi: Likewise.
23378         * manual/pattern.texi: Likewise.
23379         * manual/process.texi: Likewise.
23380         * manual/resource.texi: Likewise.
23381         * manual/search.texi: Likewise.
23382         * manual/setjmp.texi: Likewise.
23383         * manual/signal.texi: Likewise.
23384         * manual/socket.texi: Likewise.
23385         * manual/startup.texi: Likewise.
23386         * manual/stdio.texi: Likewise.
23387         * manual/string.texi: Likewise.
23388         * manual/sysinfo.texi: Likewise.
23389         * manual/syslog.texi: Likewise.
23390         * manual/terminal.texi: Likewise.
23391         * manual/time.texi: Likewise.
23392         * manual/users.texi: Likewise.
23393         * INSTALL: Regenerated.
23394         * NOTES: Regenerated.
23395         * sysdeps/gnu/errlist.c: Regenerated.
23396
23397 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
23398
23399         * include/dirent.h: Include <dirstream.h> before
23400         <dirent/dirent.h>.
23401
23402 2012-02-28  David S. Miller  <davem@davemloft.net>
23403
23404         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23405         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23406         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23407         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23408
23409 2012-02-27  David S. Miller  <davem@davemloft.net>
23410
23411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23413         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23414         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23415
23416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23417         frame pointer instead of stack pointer relative arg slot.
23418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23419         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23420         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23421
23422 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
23423
23424         [BZ #3992]
23425         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23426
23427 2012-02-27  David S. Miller  <davem@davemloft.net>
23428
23429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23433         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23434         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23435         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23436         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23437
23438 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
23439
23440         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23441         later.  Allow versions 5-9.
23442         * configure: Regenerated.
23443         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23444         required minimum version and 4.6 as recommended version.  Do not
23445         mention bugs in GCC 2.7 and 2.8.
23446         * INSTALL: Regenerated.
23447
23448 2012-02-27  David S. Miller  <davem@davemloft.net>
23449
23450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23454         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23455         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23456         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23457         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23458
23459         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23460         manipulate bits before adding and subtracting TWO112[sx].
23461         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23462
23463 2012-02-27  Roland McGrath  <roland@hack.frob.com>
23464
23465         [BZ #13775]
23466         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23467         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23468         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23469         being in POSIX, because they are in 1003.1-2008.
23470
23471         * rt/tst-aio.c: Include <fcntl.h>.
23472         * rt/tst-aio7.c: Likewise.
23473         * rt/tst-aio64.c: Likewise.
23474
23475         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23476
23477 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
23478
23479         * manual/install.texi (--with-headers): Describe headers as
23480         interface headers, not private headers.
23481         (Specific advice for GNU/Linux systems): Describe use of headers
23482         from "make headers_install", not private headers from older
23483         kernels.
23484         * INSTALL: Regenerated.
23485         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23486         Change to 2.6.19.
23487         * sysdeps/unix/sysv/linux/configure: Regenerated.
23488
23489         * manual/llio.texi (fclean): Remove documentation.
23490
23491         * manual/Makefile (libc-texi-generated): New variable.  Include
23492         version.texi.
23493         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23494         $(libc-texi-generated), not duplicated list of files.
23495         (version.texi, stamp-version): New rules.
23496         (realclean): Remove $(libc-texi-generated), not individual files
23497         from that list.  Do not remove dir-add.texinfo.
23498         * manual/libc.texinfo: Comment out uses of edition numbers and
23499         references to printed manual.  Remove last-updated dates.
23500         (EDITION): Comment out.
23501         (ISBN): Likewise.
23502         (VERSION, UPDATED): Remove.
23503         (version.texi): Include.
23504
23505 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
23506
23507         * sysdeps/posix/spawni.c: Include <signal.h>.
23508         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23509         * sysdeps/pthread/aio_fsync.c: Likewise.
23510
23511 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
23512
23513         * conform/Makefile (tests): Run only when not cross-compiling and
23514         when fast-check is not defined.
23515
23516         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23517         * conform/data/limits.h-data: Fixes for POSIX2008.
23518         * conform/run-conformtest.sh: Run all tests.
23519         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23520         headers.
23521         * include/bits/dlfcn.h: Likewise.
23522         * include/langinfo.h: Likewise.
23523         * include/monetary.h: Likewise.
23524         * include/sys/poll.h: Likewise.
23525
23526         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23527         for __USE_GNU.
23528         * posix/spawn.h: Define __need_sigset_t.
23529         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23530         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23531         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
23532         to get sigevent_t only.
23533         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23534         only for __USE_GNU.
23535         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23536         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23537         process_vm_writev only for __USE_GNU.
23538         * termios/termios.h: Declare tcgetsid also for POSIX2008.
23539
23540         * conform/Makefile: For now ignore errors from run-conformtest.
23541         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
23542         POSIX to avoid namespace pollution.  Don't prepend headers.
23543         * conform/data/aio.h-data: Fixes for POSIX testing.
23544         * conform/data/fcntl.h-data: Likewise.
23545         * conform/data/glob.h-data: Likewise.
23546         * conform/data/grp.h-data: Likewise.
23547         * conform/data/pthread.h-data: Likewise.
23548         * conform/data/pwd.h-data: Likewise.
23549         * conform/data/signal.h-data: Likewise.
23550         * conform/data/spawn.h-data: Likewise.
23551         * conform/data/stdio.h-data: Likewise.
23552         * conform/data/stdlib.h-data: Likewise.
23553         * conform/data/stropts.h-data: Likewise.
23554         * conform/data/sys/mman.h-data: Likewise.
23555         * conform/data/sys/stat.h-data: Likewise.
23556         * conform/data/sys/types.h-data: Likewise.
23557         * conform/data/sys/wait.h-data: Likewise.
23558         * conform/data/time.h-data: Likewise.
23559         * conform/data/unistd.h-data: Likewise.
23560         * conform/data/utime.h-data: Likewise.
23561
23562         * io/sys/stat.h: fchmod was always in POSIX.
23563         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23564         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23565         * rt/aio.h: Define __need_timespec before including <time.h>.
23566         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23567         struct.  Add forward declaration of pthread_attr_t and use it in
23568         sigevent.
23569         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23570         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23571         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23572         always remove CLK_TCK definition.
23573
23574 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
23575
23576         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23577
23578 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
23579
23580         * conform/run-conformtest.sh: New file.
23581         * conform/Makefile: Run run-conformtest for tests.
23582         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
23583         support.
23584
23585         * conform/data/uchar.h-data: New file.
23586         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23587         * conform/data/arpa/inet.h-data: Likewise.
23588         * conform/data/assert.h-data: Likewise.
23589         * conform/data/complex.h-data: Likewise.
23590         * conform/data/cpio.h-data: Likewise.
23591         * conform/data/ctype.h-data: Likewise.
23592         * conform/data/dirent.h-data: Likewise.
23593         * conform/data/dlfcn.h-data: Likewise.
23594         * conform/data/errno.h-data: Likewise.
23595         * conform/data/fcntl.h-data: Likewise.
23596         * conform/data/float.h-data: Likewise.
23597         * conform/data/fmtmsg.h-data: Likewise.
23598         * conform/data/fnmatch.h-data: Likewise.
23599         * conform/data/ftw.h-data: Likewise.
23600         * conform/data/glob.h-data: Likewise.
23601         * conform/data/grp.h-data: Likewise.
23602         * conform/data/iconv.h-data: Likewise.
23603         * conform/data/inttypes.h-data: Likewise.
23604         * conform/data/langinfo.h-data: Likewise.
23605         * conform/data/libgen.h-data: Likewise.
23606         * conform/data/limits.h-data: Likewise.
23607         * conform/data/locale.h-data: Likewise.
23608         * conform/data/math.h-data: Likewise.
23609         * conform/data/monetary.h-data: Likewise.
23610         * conform/data/mqueue.h-data: Likewise.
23611         * conform/data/ndbm.h-data: Likewise.
23612         * conform/data/net/if.h-data: Likewise.
23613         * conform/data/netdb.h-data: Likewise.
23614         * conform/data/netinet/in.h-data: Likewise.
23615         * conform/data/nl_types.h-data: Likewise.
23616         * conform/data/poll.h-data: Likewise.
23617         * conform/data/pthread.h-data: Likewise.
23618         * conform/data/pwd.h-data: Likewise.
23619         * conform/data/regex.h-data: Likewise.
23620         * conform/data/sched.h-data: Likewise.
23621         * conform/data/search.h-data: Likewise.
23622         * conform/data/semaphore.h-data: Likewise.
23623         * conform/data/setjmp.h-data: Likewise.
23624         * conform/data/signal.h-data: Likewise.
23625         * conform/data/spawn.h-data: Likewise.
23626         * conform/data/stdarg.h-data: Likewise.
23627         * conform/data/stdio.h-data: Likewise.
23628         * conform/data/stdlib.h-data: Likewise.
23629         * conform/data/string.h-data: Likewise.
23630         * conform/data/strings.h-data: Likewise.
23631         * conform/data/stropts.h-data: Likewise.
23632         * conform/data/sys/ipc.h-data: Likewise.
23633         * conform/data/sys/mman.h-data: Likewise.
23634         * conform/data/sys/msg.h-data: Likewise.
23635         * conform/data/sys/resource.h-data: Likewise.
23636         * conform/data/sys/select.h-data: Likewise.
23637         * conform/data/sys/sem.h-data: Likewise.
23638         * conform/data/sys/shm.h-data: Likewise.
23639         * conform/data/sys/socket.h-data: Likewise.
23640         * conform/data/sys/stat.h-data: Likewise.
23641         * conform/data/sys/statvfs.h-data: Likewise.
23642         * conform/data/sys/time.h-data: Likewise.
23643         * conform/data/sys/timeb.h-data: Likewise.
23644         * conform/data/sys/times.h-data: Likewise.
23645         * conform/data/sys/types.h-data: Likewise.
23646         * conform/data/sys/uio.h-data: Likewise.
23647         * conform/data/sys/un.h-data: Likewise.
23648         * conform/data/sys/utsname.h-data: Likewise.
23649         * conform/data/sys/wait.h-data: Likewise.
23650         * conform/data/syslog.h-data: Likewise.
23651         * conform/data/tar.h-data: Likewise.
23652         * conform/data/termios.h-data: Likewise.
23653         * conform/data/utime.h-data: Likewise.
23654         * conform/data/utmpx.h-data: Likewise.
23655         * conform/data/varargs.h-data: Likewise.
23656         * conform/data/wchar.h-data: Likewise.
23657         * conform/data/wctype.h-data: Likewise.
23658         * conform/data/wordexp.h-data: Likewise.
23659
23660         * include/stropts.h: New file.
23661         * include/uchar.h: New file.
23662         * include/aio.h: Changes to allow conformtest.pl to use the headers.
23663         * include/assert.h: Likewise.
23664         * include/ctype.h: Likewise.
23665         * include/dirent.h: Likewise.
23666         * include/dlfcn.h: Likewise.
23667         * include/fcntl.h: Likewise.
23668         * include/fnmatch.h: Likewise.
23669         * include/glob.h: Likewise.
23670         * include/grp.h: Likewise.
23671         * include/libio.h: Likewise.
23672         * include/locale.h: Likewise.
23673         * include/math.h: Likewise.
23674         * include/net/if.h: Likewise.
23675         * include/netdb.h: Likewise.
23676         * include/netinet/in.h: Likewise.
23677         * include/pthread.h: Likewise.
23678         * include/pwd.h: Likewise.
23679         * include/regex.h: Likewise.
23680         * include/sched.h: Likewise.
23681         * include/search.h: Likewise.
23682         * include/setjmp.h: Likewise.
23683         * include/signal.h: Likewise.
23684         * include/stdio.h: Likewise.
23685         * include/stdlib.h: Likewise.
23686         * include/string.h: Likewise.
23687         * include/sys/cdefs.h: Likewise.
23688         * include/sys/mman.h: Likewise.
23689         * include/sys/msg.h: Likewise.
23690         * include/sys/resource.h: Likewise.
23691         * include/sys/select.h: Likewise.
23692         * include/sys/socket.h: Likewise.
23693         * include/sys/stat.h: Likewise.
23694         * include/sys/statvfs.h: Likewise.
23695         * include/sys/time.h: Likewise.
23696         * include/sys/times.h: Likewise.
23697         * include/sys/uio.h: Likewise.
23698         * include/sys/utsname.h: Likewise.
23699         * include/sys/wait.h: Likewise.
23700         * include/termios.h: Likewise.
23701         * include/time.h: Likewise.
23702         * include/ulimit.h: Likewise.
23703         * include/unistd.h: Likewise.
23704         * include/utime.h: Likewise.
23705         * include/wchar.h: Likewise.
23706         * include/wctype.h: Likewise.
23707         * include/wordexp.h: Likewise.
23708
23709         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23710
23711         * time/time.h: TIME_UTC must be a macro.
23712         Make timespec_get available for ISO C11 only as well.
23713
23714 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
23715
23716         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23717         Reported by Peng Haitao <penght@cn.fujitsu.com>.
23718
23719 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23720
23721         * configure.in: Use -o not -a in test for unsupported multi-arch.
23722
23723 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23724
23725         * manual/texinfo.tex: Update to version 2012-01-19.16.
23726
23727 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23728
23729         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23730
23731 2012-02-24  Roland McGrath  <roland@hack.frob.com>
23732
23733         [BZ #13738]
23734         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23735         * manual/fdl-1.3.texi: New file.
23736         * manual/fdl-1.1.texi: File removed.
23737
23738         [BZ #13738]
23739         * manual/libc.texinfo (FDL_VERSION): New @set.
23740         Use it for mention of FDL in cover text.
23741         (Documentation License): Use it in @include file name.
23742
23743 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23744             Roland McGrath  <roland@hack.frob.com>
23745
23746         [BZ #5461]
23747         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23748         not LONG_LONG_MAX and LONG_LONG_MIN.
23749         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23750         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
23751         name.
23752         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23753
23754 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23755
23756         [BZ #2547]
23757         [BZ #11365]
23758         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23759         manipulate bits before adding and subtracting TWO23[sx].
23760         * math/libm-test.inc (nearbyint_test): Add more tests.
23761
23762 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23763
23764         [BZ #2548]
23765         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23766         bits before adding and subtracting TWO23[sx].
23767         * math/libm-test.inc (rint_test): Add more tests.
23768         (rint_test_tonearest): Likewise.
23769         (rint_test_towardzero): Likewise.
23770         (rint_test_downward): Likewise.
23771         (rint_test_upward: Likewise.
23772
23773 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23774
23775         [BZ #10110]
23776         * include/stdc-predef.h: New file.  Extracted from features.h.
23777         * include/features.h: Include stdc-predef.h.
23778         * Makefile (headers): Add stdc-predef.h.
23779         * CONFORMANCE (Compiler limitations): Update.
23780
23781 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23782
23783         * manual/libc.texinfo (VERSION, UPDATED): Revert.
23784
23785 2012-02-21  David S. Miller  <davem@davemloft.net>
23786
23787         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23788         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23789
23790 2012-02-20  David S. Miller  <davem@davemloft.net>
23791
23792         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23793         using a normal save/restore sequence, rather than allocating a
23794         dummy stack frame just to store a frame pointer and restore.
23795         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23796
23797 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23798
23799         * manual/install.texi: Fix stray word in line-wrapped comment.
23800
23801 2012-02-20  David S. Miller  <davem@davemloft.net>
23802
23803         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23804         both binutils and gcc support GOTDATA.
23805
23806         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23807         "rd %pc" in the PIC register setup sequences.
23808
23809         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23810         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23811         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23812         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23813         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23814         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23815         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23816         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23817         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23818         (SYSCALL_ERROR_HANDLER): Likewise.
23819         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23820         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23821         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23822         (SYSCALL_ERROR_HANDLER): Likewise.
23823
23824         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23825         (HAVE_GCC_GOTDATA): New.
23826         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23827         relocation support in both binutils and gcc.
23828         * sysdeps/sparc/elf/configure: Regenerate.
23829
23830         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23831         * sysdeps/sparc/sparc32/elf/configure: Delete.
23832         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23833         * sysdeps/sparc/sparc64/elf/configure: Delete.
23834         * sysdeps/sparc/elf/configure.in: New file.
23835         * sysdeps/sparc/elf/configure: Generate.
23836
23837         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23838         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23839         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23840         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23841         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23842
23843 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23844
23845         * manual/install.texi: Do not mention specific glibc version
23846         numbers.
23847         * manual/libc.texinfo (VERSION, UPDATED): Update.
23848         (@copying): Use @copyright{} and range of years.
23849
23850 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23851
23852         [BZ #13695]
23853         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23854         [crti.S not in sysdirs] (generated): Do not append.
23855         [crti.S not in sysdirs] (omit-deps): Likewise.
23856         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23857         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23858         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23859         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23860         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23861         Likewise.
23862         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23863         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23864         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23865         * csu/defs.awk: Remove file.
23866         * sysdeps/generic/initfini.c: Likewise.
23867         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23868         variable.
23869         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23870         Likewise.
23871
23872 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23873
23874         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23875         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23876         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23877         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23878         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23879         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23880         <bits/epoll.h>.
23881         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23882         (__EPOLL_PACKED): Define to empty if not defined by
23883         <bits/epoll.h>.
23884         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23885         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23886         bits/epoll.h.
23887
23888 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23889
23890         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23891         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23892         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23893         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23894         <bits/timerfd.h>.
23895         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23896         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23897         bits/timerfd.h.
23898
23899 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23900
23901         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23902         in C locale.
23903         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23904         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23905         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23907
23908 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
23909
23910         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23911         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23912
23913 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
23914
23915         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23916         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23917         defined.
23918         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23919         Likewise.
23920         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23921         entry for 2.16.
23922
23923 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
23924
23925         * math/w_acos.c: Use non-signaling floating-point comparisons.
23926         * math/w_acosf.c: Likewise.
23927         * math/w_acosh.c: Likewise.
23928         * math/w_acoshf.c: Likewise.
23929         * math/w_acoshl.c: Likewise.
23930         * math/w_acosl.c: Likewise.
23931         * math/w_asin.c: Likewise.
23932         * math/w_asinf.c: Likewise.
23933         * math/w_asinl.c: Likewise.
23934         * math/w_atanh.c: Likewise.
23935         * math/w_atanhf.c: Likewise.
23936         * math/w_atanhl.c: Likewise.
23937         * math/w_exp2.c: Likewise.
23938         * math/w_exp2f.c: Likewise.
23939         * math/w_exp2l.c: Likewise.
23940         * math/w_j0.c: Likewise.
23941         * math/w_j0f.c: Likewise.
23942         * math/w_j0l.c: Likewise.
23943         * math/w_j1.c: Likewise.
23944         * math/w_j1f.c: Likewise.
23945         * math/w_j1l.c: Likewise.
23946         * math/w_jn.c: Likewise.
23947         * math/w_jnf.c: Likewise.
23948         * math/w_log.c: Likewise.
23949         * math/w_log10.c: Likewise.
23950         * math/w_log10f.c: Likewise.
23951         * math/w_log10l.c: Likewise.
23952         * math/w_log2.c: Likewise.
23953         * math/w_log2f.c: Likewise.
23954         * math/w_log2l.c: Likewise.
23955         * math/w_logf.c: Likewise.
23956         * math/w_logl.c: Likewise.
23957         * math/w_sqrt.c: Likewise.
23958         * math/w_sqrtf.c: Likewise.
23959         * math/w_sqrtl.c: Likewise.
23960         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23961         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23962         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23963         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23964         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23965
23966 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23967
23968         [BZ #9739]
23969         * manual/string.texi (strnlen): Use correct parameter name in
23970         equivalent expression.
23971
23972 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23973
23974         [BZ #11174]
23975         * manual/users.texi (seteuid): Consistently use neweuid for
23976         argument name.
23977
23978 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23979
23980         [BZ #13704]
23981         * manual/nss.texi (Services in the NSS configuration): Correct
23982         list of services in example configuration file.
23983
23984 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
23985
23986         [BZ #11322]
23987         * manual/arith.texi: Remove statements about negative zero
23988         behaving identically to zero.
23989
23990 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
23991
23992         [BZ #5993]
23993         * manual/install.texi: Do not document upgrading from libc5.
23994
23995 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
23996
23997         [BZ #4596]
23998         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23999
24000 2012-02-18  David S. Miller  <davem@davemloft.net>
24001
24002         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24003         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24004         %o7 across the call.
24005         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24006         instead.
24007         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24008         SETUP_PIC_REG_LEAF.
24009         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24010         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24011         * sysdeps/sparc/crtn.S: Likewise.
24012
24013 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
24014
24015         * aout/Makefile: Remove.
24016
24017 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
24018
24019         [BZ #13058]
24020         * manual/examples/argp-ex1.c (main): Format definition in GNU
24021         style.
24022         * manual/examples/argp-ex2.c (main): Likewise.
24023         * manual/examples/argp-ex3.c (main): Likewise.
24024         * manual/examples/argp-ex4.c (main): Likewise.
24025         * manual/examples/longopt.c (main): Use new-style prototype
24026         definition.
24027         * manual/examples/strncat.c (main): Specify return type and use
24028         (void) for arguments.
24029         * manual/examples/subopt.c (main): Use char **argv argument.
24030
24031 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24032
24033         [BZ #5077]
24034         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24035         rounding modes.
24036
24037 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
24038
24039         [BZ #6907]
24040         * manual/string.texi (strchr): Change when strchrnul is
24041         recommended.
24042
24043 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
24044
24045         [BZ #174]
24046         * manual/locale.texi (setlocale): Document LOCPATH.
24047
24048 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24049
24050         [BZ #10210]
24051         * manual/process.texi (execle): Move @dots{} before last argument.
24052
24053 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
24054
24055         [BZ #12047]
24056         * manual/charset.texi (Generic Charset Conversion): Fix typo
24057         (LC_TYPE -> LC_CTYPE).
24058
24059 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
24060
24061         [BZ #5805]
24062         * manual/arith.texi (scalbn): Use @var{} on parameter names.
24063         (scalbnf): Likewise.
24064         (scalbnl): Likewise.
24065         (scalbln): Likewise.
24066         (scalblnf): Likewise.
24067         (scalblnl): Likewise.
24068         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24069         (vwarnx): Likewise.
24070         (verr): Likewise.
24071         (verrx): Likewise.
24072         * manual/filesys.texi (telldir): Use braces around return type.
24073         * manual/llio.texi (mmap): Add space after comma.
24074         (mmap64): Likewise.
24075         * manual/math.texi (jn): Use @var{} on parameter names.
24076         (jnf): Likewise.
24077         (jnl): Likewise.
24078         (yn): Likewise.
24079         (ynf): Likewise.
24080         (ynl): Likewise.
24081         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24082         line.
24083         * manual/resource.texi (ulimit): Use @dots{} instead of literal
24084         "...".
24085         (sched_get_priority_min): Remove semicolon on @deftypefun line.
24086         (sched_get_priority_max): Likewise.
24087         * manual/signal.texi (sigvec): Add space after comma.
24088         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24089         names.
24090         (if_indextoname): Likewise.
24091         (if_freenameindex): Likewise.
24092         (sendto): Use ',' instead of '.' in prototype.
24093         * manual/startup.texi (syscall): Use @dots{} instead of literal
24094         "...".
24095         * manual/stdio.texi (__fpending): Separate initial words of
24096         paragraph from @deftypefun line.
24097         * manual/syslog.texi (syslog): Use @dots{} instead of literal
24098         "...".
24099         (vsyslog): Use @var{} on parameter names.
24100         * manual/terminal.texi (stty): Use @var{} on parameter names.
24101         * manual/users.texi (getutmp): Use @var{} on parameter names.
24102         (getutmpx): Likewise.
24103
24104 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24105
24106         [BZ #6884]
24107         * manual/stdio.texi (fopen): Fix typos in description of
24108         ",ccs=STRING".
24109
24110 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
24111
24112         [BZ #4026]
24113         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24114         get clock_id definition.
24115
24116 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
24117
24118         [BZ #4822]
24119         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24120         (madvise): Cast every argument to void on its own.
24121
24122 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24123
24124         [BZ #9902]
24125         * manual/startup.texi (Exit Status): Fix typo.
24126
24127 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24128
24129         [BZ #10140]
24130         * manual/examples/argp-ex1.c: Include <stdlib.h>.
24131         * manual/examples/argp-ex2.c: Likewise.
24132         * manual/examples/argp-ex3.c: Likewise.
24133
24134 2012-02-16  Richard Henderson  <rth@redhat.com>
24135
24136         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24137         * sysdeps/s390/s390-32/initfini.c: Remove.
24138         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24139         * sysdeps/s390/s390-64/initfini.c: Remove.
24140
24141 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24142
24143         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24144         compiler output for sysdeps/generic/initfini.c.
24145         * sysdeps/sh/elf/initfini.c: Remove file.
24146
24147 2012-02-16  David S. Miller  <davem@davemloft.net>
24148
24149         [BZ #11494]
24150         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24151
24152         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24153         * sysdeps/sparc/crti.S: New file.
24154         * sysdeps/sparc/crtn.S: New file.
24155         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24156         * sysdeps/sparc/sparc64/Makefile: Likewise.
24157
24158 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
24159
24160         [BZ #3335]
24161         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24162
24163 2012-02-15  Roland McGrath  <roland@hack.frob.com>
24164
24165         [BZ #4822]
24166         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24167
24168         * mach/devstream.c (cookie_io_functions_t): Macro removed.
24169         (write, read, close): Likewise.
24170         Patch by Aurelien Jarno <aurelien@aurel32.net>.
24171
24172 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
24173
24174         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24175         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24176         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24177         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24178         <bits/signalfd.h>.
24179         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24180         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24181         bits/signalfd.h.
24182
24183 2012-02-14  Marek Polacek  <polacek@redhat.com>
24184
24185         * sysdeps/x86_64/crti.S: New file.
24186         * sysdeps/x86_64/crtn.S: New file.
24187         * sysdeps/x86_64/elf/initfini.c: Remove file.
24188
24189 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
24190
24191         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24192         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24193         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24194         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24195         <bits/inotify.h>.
24196         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24197         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24198         bits/inotify.h.
24199
24200 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
24201
24202         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24203         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24204         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24205         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24206         <bits/eventfd.h>.
24207         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24208         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24209         bits/eventfd.h.
24210
24211 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
24212
24213         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24214         __feraiseexcept instead of feraiseexcept.
24215
24216         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24217         nanosleep invocations.
24218         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24219         strings, and add error checking for a nanosleep invocations.
24220
24221 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
24222
24223         Replace FSF snail mail address with URLs, as per GNU coding standards.
24224         Most of the snail mail addresses were wrong anyway, and omitting
24225         them makes the source code easier to maintain.  Almost all of the
24226         changes are to license notices and to locale LC_IDENTIFICATION
24227         addresses, except for this one:
24228         * manual/libc.texinfo: In "Published by", give the FSF's URL,
24229         not its snail mail address.
24230
24231 2012-02-09  Richard Henderson  <rth@twiddle.net>
24232
24233         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24234         of kernel-features.h.
24235
24236         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24237
24238 2012-02-08  Marek Polacek  <polacek@redhat.com>
24239
24240         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24241         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24242         * sysdeps/gnu/_G_config.h: Likewise.
24243         * sysdeps/generic/_G_config.h: Likewise.
24244
24245 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
24246
24247         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24248         tests.
24249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24250
24251         * sysdeps/powerpc/powerpc32/crti.S: New file.
24252         * sysdeps/powerpc/powerpc32/crtn.S: New file.
24253         * sysdeps/powerpc/powerpc64/crti.S: New file.
24254         * sysdeps/powerpc/powerpc64/crtn.S: New file.
24255
24256         * Makeconfig (have-initfini): Don't set.
24257         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24258         * configure.in (nopic_initfini): Don't substitute.
24259         * config.h.in (HAVE_INITFINI): Don't #undef.
24260         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24261         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24262
24263 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
24264
24265         Support crti.S and crtn.S provided directly by architectures.
24266         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24267         [crti.S in sysdirs] (omit-deps): Likewise.
24268         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24269         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24270         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24271         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24272         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24273         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24274         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24275         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24276         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24277         compiler output for sysdeps/generic/initfini.c.
24278         * sysdeps/i386/elf/Makefile: Remove file.
24279         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24280
24281 2012-02-07  Marek Polacek  <polacek@redhat.com>
24282
24283         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24284         * sysdeps/gnu/_G_config.h: Likewise.
24285         * sysdeps/mach/hurd/_G_config.h: Likewise.
24286
24287 2012-02-07  Marek Polacek  <polacek@redhat.com>
24288
24289         * math/Makefile (tests): Add tst-CMPLX2.
24290         * math/tst-CMPLX2.c: New file.
24291
24292 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
24293
24294         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24295
24296         * math/libm-test.inc (jn_test): Add missing L suffix.
24297
24298 2012-02-06  Marek Polacek  <polacek@redhat.com>
24299
24300         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24301         * sysdeps/i386/fpu/e_powf.S: Likewise.
24302         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24303         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24304         * sysdeps/i386/fpu/e_acosh.S: Likewise.
24305         * sysdeps/i386/fpu/e_pow.S: Likewise.
24306         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24307         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24308         * sysdeps/i386/fpu/s_expm1.S: Likewise.
24309         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24310         * sysdeps/i386/fpu/e_log2.S: Likewise.
24311         * sysdeps/i386/fpu/e_log2l.S: Likewise.
24312         * sysdeps/i386/fpu/e_scalb.S: Likewise.
24313         * sysdeps/i386/fpu/e_powl.S: Likewise.
24314         * sysdeps/i386/fpu/s_log1p.S: Likewise.
24315         * sysdeps/i386/fpu/e_log10f.S: Likewise.
24316         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24317         * sysdeps/i386/fpu/e_logl.S: Likewise.
24318         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24319         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24320         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24321         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24322         * sysdeps/i386/fpu/e_log2f.S: Likewise.
24323         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24324         * sysdeps/i386/fpu/e_log.S: Likewise.
24325         * sysdeps/i386/fpu/s_cexp.S: Likewise.
24326         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24327         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24328         * sysdeps/i386/fpu/e_logf.S: Likewise.
24329         * sysdeps/i386/fpu/e_log10l.S: Likewise.
24330         * sysdeps/i386/fpu/e_atanh.S: Likewise.
24331         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24332         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24333         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24334         * sysdeps/i386/fpu/e_log10.S: Likewise.
24335         * sysdeps/i386/fpu/s_frexp.S: Likewise.
24336         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24337         * sysdeps/i386/fpu/s_asinh.S: Likewise.
24338         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24339         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24340         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24341         * sysdeps/i386/asm-syntax.h: Likewise.
24342         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24343         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24344         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24345         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24346         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24347         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24348         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24349         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24350         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24351         * sysdeps/powerpc/sysdep.h: Likewise.
24352         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24353         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24354
24355 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
24356
24357         [BZ #411]
24358         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24359
24360 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
24361
24362         * sysdeps/i386/sysdep.h: Include <features.h>.
24363         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24364         version.
24365
24366 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
24367
24368         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24369         Define.
24370         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24371         LOAD_PIC_REG_STR.
24372
24373 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24374
24375         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24376         (SETUP_PIC_REG): Use GET_PC_THUNK.
24377         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24378         macro.
24379
24380 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24381
24382         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24383         for non-PIC compilation.
24384         (SETUP_PIC_REG): Add .p2align directive.
24385         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24386         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24387         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24388         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24389         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24390         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24391         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24392         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24393         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24394         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24395         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24396         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24397         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24398         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24399         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24400         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24401         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24402         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24403         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24404         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24405         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24406         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24407         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24408         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24409         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24410         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24411         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24412         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24413         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24414         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24415         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24416         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24417         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24418         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24419         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24420         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24421         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24422         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24423         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24424         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24425         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24426
24427 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24428
24429         * math/tst-CMPLX.c: Include <stdio.h>.
24430
24431 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
24432
24433         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24434         float.
24435         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24436         * sysdeps/sparc/bits/mathdef.h: Likewise.
24437
24438 2012-01-31  Marek Polacek  <polacek@redhat.com>
24439
24440         * libio/libio.h: Don't define _PARAMS.
24441         * locale/programs/config.h: Don't define PARAMS.
24442         * stdlib/strtol_l.c: Likewise.
24443         (__strtol_l): Remove PARAMS from the prototype.
24444
24445 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
24446
24447         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
24448         names.  Just use the correct names.  Remove unnecessary wrapper
24449         functions.
24450         * malloc/arena.c: Likewise.
24451         * malloc/hooks.c: Likewise.
24452
24453         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24454         ARENA_TEST says not to.  Simplify test for creation of a new arena.
24455         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24456
24457 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
24458
24459         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24460         into tail calls.
24461         (update_get_addr): New function.
24462         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24463         GET_ADDR_MODULE parameter.
24464
24465 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
24466
24467         * crypt/cert.c: Remove __STDC__ conditionals.
24468         * crypt/crypt-entry.c: Likewise.
24469         * crypt/crypt_util.c: Likewise.
24470         * libio/filedoalloc.c: Likewise.
24471         * libio/fileops.c: Likewise.
24472         * libio/genops.c: Likewise.
24473         * libio/iofclose.c: Likewise.
24474         * libio/iofdopen.c: Likewise.
24475         * libio/iofopen.c: Likewise.
24476         * libio/iofopen64.c: Likewise.
24477         * libio/iogetdelim.c: Likewise.
24478         * libio/iopopen.c: Likewise.
24479         * libio/obprintf.c: Likewise.
24480         * libio/oldfileops.c: Likewise.
24481         * libio/oldiofclose.c: Likewise.
24482         * libio/oldiofdopen.c: Likewise.
24483         * libio/oldiofopen.c: Likewise.
24484         * libio/oldiopopen.c: Likewise.
24485         * libio/wfiledoalloc.c: Likewise.
24486         * libio/wgenops.c: Likewise.
24487         * locale/programs/xmalloc.c: Likewise.
24488         * misc/syslog.c: Likewise.
24489         * stdio-common/xbug.c: Likewise.
24490         * string/memchr.c: Likewise.
24491         * string/memcmp.c: Likewise.
24492         * string/memrchr.c: Likewise.
24493         * string/rawmemchr.c: Likewise.
24494         * sysdeps/posix/getcwd.c: Likewise.
24495         * time/strftime_l.c: Likewise.
24496
24497 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
24498
24499         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
24500         * config.make.in (config-cflags-sse2avx): Define.
24501         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24502         Fix typo.
24503
24504 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
24505
24506         * scripts/config.guess: Update from upstream config git repository.
24507         * scripts/config.sub: Likewise.
24508
24509 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
24510
24511         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24512         (EM_NUM): Update.
24513         (R_TILEPRO_*, R_TILEGX_*): New macros.
24514
24515         * scripts/firstversions.awk: Fix bug in version range handling.
24516
24517         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24518
24519         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24520
24521         * include/sys/epoll.h: New file.
24522         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24523         libc_hidden_def.
24524
24525 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
24526
24527         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24528         Avoid unnecessary __WORDSIZE == 64 test.
24529         (fmaxf): Use VEX format if possible.
24530         (fmax): Likewise.
24531         (fminf): Likewise.
24532         (fmin): Likewise.
24533
24534         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24535         * math/math_private.h: Remove libc_fegetround* and
24536         libc_fesetround*.
24537         * sysdeps/i386/configure.in: Check for -msse2avx.
24538         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24539         also if SSE2AVX is defined.
24540         Remove libc_fegetround* and libc_fesetround*.
24541         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24542         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
24543         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24544         of HAS_YMM_USABLE.
24545         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24546         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24547         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24548         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24549         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24550
24551         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24552
24553 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24554
24555         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24556         size is not set.
24557         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24558
24559 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
24560
24561         [BZ #13618]
24562         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24563         relocation.
24564         * Makeconfig (libm): Define.
24565         * elf/Makefile: Add rules to build and run tst-relsort1.
24566         * elf/tst-relsort1.c: New file.
24567         * elf/tst-relsort1mod1.c: New file.
24568         * elf/tst-relsort1mod2.c: New file.
24569
24570 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
24571
24572         * math/s_ldexp.c: Remove __STDC__ conditionals.
24573         * math/s_ldexpf.c: Likewise.
24574         * math/s_ldexpl.c: Likewise.
24575         * math/s_nextafter.c: Likewise.
24576         * math/s_nexttowardf.c: Likewise.
24577         * math/s_significand.c: Likewise.
24578         * math/s_significandf.c: Likewise.
24579         * math/s_significandl.c: Likewise.
24580         * math/w_jnl.c: Likewise.
24581         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24582         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24583         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24584         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24585         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24586         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24587         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24588         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24589         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24590         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24591         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24592         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24593         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24594         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24595         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24596         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24597         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24598         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24599         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24600         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24601         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24602         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24603         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24604         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24605         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24606         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24607         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24608         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24609         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24610         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24611         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24612         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24613         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24614         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24615         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24616         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24617         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24618         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24619         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24620         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24621         * sysdeps/ieee754/k_standard.c: Likewise.
24622         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24623         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24624         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24625         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24626         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24627         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24628         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24629         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24630         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24631         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24632         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24633         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24634         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24635         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24636         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24637         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24638         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24639         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24640         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24641         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24642         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24643         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24644         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24645         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24646         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24647         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24648         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24649         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24650         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24651         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24652         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24653         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24654         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24655         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24656         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24657         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24658         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24659         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24660         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24661         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24662         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24663         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24664         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24665         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24666         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24667         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24668         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24669         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24670         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24671         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24672         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24673         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24674         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24675         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24676         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24677         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24678         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24679         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24680         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24681         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24682         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24683         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24684         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24685         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24686         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24687         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24688         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24689         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24690         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24691         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24692         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24693         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24694         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24695         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24696         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24697         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24698         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24699         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24700         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24701         * sysdeps/ieee754/s_matherr.c: Likewise.
24702         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24703         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24704         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24705         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24706
24707 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
24708
24709         * crypt/md5.h: Remove __STDC__ conditionals.
24710         * libio/libioP.h: Likewise.
24711         * locale/programs/config.h: Likewise.
24712         * sysdeps/generic/sysdep.h: Likewise.
24713         * sysdeps/i386/asm-syntax.h: Likewise.
24714         * sysdeps/s390/asm-syntax.h: Likewise.
24715         * sysdeps/unix/sysdep.h: Likewise.
24716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24718
24719 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
24720
24721         * libio/libio.h: Remove __STDC__ conditionals.
24722         * malloc/obstack.h: Likewise.
24723         * math/complex.h: Likewise.
24724         * math/math.h: Likewise.
24725         * sysdeps/generic/_G_config.h: Likewise.
24726         * sysdeps/gnu/_G_config.h: Likewise.
24727         * sysdeps/mach/hurd/_G_config.h: Likewise.
24728         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24729         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24730         * sysdeps/sparc/bits/mathdef.h: Likewise.
24731
24732 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
24733
24734         [BZ #13583]
24735         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
24736         Clean up HAS_* macros.
24737         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
24738         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24739         possible.
24740         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24741         HAS_AVX.
24742         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24743         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24744         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24745         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24746         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24747
24748 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
24749
24750         * elf/tst-unique3.cc (gets): Remove declaration.
24751         * elf/tst-unique3lib.cc (gets): Likewise.
24752         * elf/tst-unique3lib2.cc (gets): Likewise.
24753         * elf/tst-unique4.cc (gets): Likewise.
24754
24755 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
24756
24757         * include/stdio.h: Add C++ protection.  Add gets declarations and
24758         definitions.
24759         * debug/tst-chk1.c: Don't declare gets here.
24760         * stdio-common/tst-gets.c: Likewise.
24761
24762 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
24763
24764         * posix/glob: Remove directory.
24765
24766 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
24767
24768         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24769
24770 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
24771
24772         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24773         of the non-standard EPFNOSUPPORT.
24774
24775 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24776
24777         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24778         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24779         ANYWHERE set to 1 only on KERN_NO_SPACE error.
24780
24781 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
24782
24783         * wcsmbs/uchar.h: Test __STDC_VERSION__.
24784
24785 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
24786
24787         * nscd/aicache.c (addhstaiX): Do not cache negative results of
24788         transient errors.
24789         * nscd/grpcache.c (cache_addgr): Likewise.
24790         * nscd/hstcache.c (cache_addhst): Likewise.
24791         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24792         * nscd/pwdcache.c (cache_addpw): Likewise.
24793         * nscd/servicescache.c (cache_addserv): Likewise.
24794
24795 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
24796
24797         * malloc/malloc.c: Various cleanups.
24798         * malloc/hooks.c: Likewise.
24799
24800         * stdlib/Makefile (tests): Add bug-fmtmsg1.
24801         * stdlib/bug-fmtmsg1.c: New file.
24802
24803         * stdlib/fmtmsg.c (init): Add missing unlock.
24804         Patch by Peng Haitao <penght@cn.fujitsu.com>.
24805
24806 2012-01-12  Marek Polacek  <polacek@redhat.com>
24807
24808         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24809         and _GNU_SOURCE.
24810
24811 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
24812
24813         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24814         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24815         macro to ensure uniqueness of label name.
24816         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24817         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24818
24819 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
24820
24821         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24822
24823         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24824         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24825         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24826         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24827
24828 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
24829
24830         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24831
24832         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24833         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24834         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24835
24836         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24837
24838         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
24839         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24840         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24841         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
24842
24843         * math/bits/math-finite.h: Add ldexp support.
24844
24845 2012-01-10  Marek Polacek  <polacek@redhat.com>
24846
24847         * locale/programs/localedef.h (show_archive_content): Add noreturn
24848         attribute.
24849
24850 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
24851
24852         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24853
24854 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24855
24856         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24857
24858         * io/Makefile (headers): Add bits/poll2.h.
24859
24860 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
24861
24862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24863         typo #include statement.
24864
24865 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24866
24867         * include/sys/cdefs.h: Define __attribute_alloc_size.
24868         * catgets/gencat.c: Add alloc_size attribute and apply consistently
24869         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24870         * elf/pldd.c: Likewise.
24871         * iconv/iconv_charmap.c: Likewise.
24872         * iconv/iconvconfig.c: Likewise.
24873         * iconv/strtab.c: Likewise.
24874         * locale/programs/locale.c: Likewise.
24875         * locale/programs/localedef.h: Likewise.
24876         * locale/programs/simple-hash.c: Likewise.
24877         * nscd/nscd.h: Likewise.
24878         * nss/makedb.c: Likewise.
24879         * sysdeps/generic/ldconfig.h: Likewise.
24880         * locale/programs/localedef.c: Remove xmalloc prototype.
24881         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24882
24883 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24884
24885         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24886         appropriate.
24887
24888 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24889
24890         * math/Makefile (tests): Add tst-CMPLX.
24891         * math/tst-CMPLX.c: New file.
24892
24893         * math/complex.h (CMPLXL): Fix typo.
24894
24895         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24896         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24897         GLIBC_2.16.
24898         * debug/tst-chk1.c: Add poll and ppoll tests.
24899         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24900         * include/sys/poll.h: Add hidden proto for ppoll.
24901         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24902         * sysdeps/mach/hurd/ppoll.c: Likewise.
24903         * io/ppoll.c: Likewise.
24904         * debug/poll_chk.c: New file.
24905         * debug/ppoll_chk.c: New file.
24906         * include/bits/poll2.h: New file.
24907         * io/bits/poll2.h: New file.
24908
24909         [BZ #1350]
24910         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24911
24912         * configure.in: static is always set to yes.  Remove.
24913         * config.make.in: Don't set build-static.
24914         * Makeconfig: Remove use of build-static.
24915         * dlfcn/Makefile: Likewise.
24916         * elf/Makefile: Likewise.
24917         * math/Makefile: Likewise.
24918         * misc/Makefile: Likewise.
24919         * nptl/Makefile: Likewise.
24920         * sysdeps/mach/hurd/Makefile: Likewise.
24921
24922         * configure.in: PWD_P is not used anymore.
24923         * config.make.in: Remove PWD_P entry.
24924
24925         * configure.in: Remove last remnants of RANLIB.
24926         No need to check for signed size_t anymore.
24927         Don't set libc_commonpagesize and libc_relro_required here for Alpha
24928         and IA-64.
24929         Remove __builtin_expect test because we require at least gcc 3.4.
24930         * aclocal.m4: Likewise.
24931
24932         * wcsmbs/mbrtoc16.c: Implement using towc function.
24933         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24934         * wcsmbs/wcsmbsload.c: Likewise.
24935         * iconv/gconv_simple.c: Likewise.
24936         * iconv/gconv_int.h: Likewise.
24937         * iconv/gconv_builtin.h: Likewise.
24938         * iconv/iconv_prog.c: Remove CHAR16 handling.
24939
24940         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24941
24942         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24943
24944         * configure.in: Remove --with-elf and --enable-bounded options.
24945         Dont set base_machine for ia64.  More non-ELF conditions removed.
24946         Remove testing and setting of leading underscore information.
24947         * config.make.in (build-bounded): Set to no.
24948         * config.h.in: Remove NO_UNDERSCORES entry.
24949         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
24950         them.
24951         * csu/start.c: Remove !NO_UNDERSCORE code.
24952         * locale/localeinfo.h: Likewise.
24953         * sysdeps/generic/machine-gmon.h: Likewise.
24954         * sysdeps/generic/sysdep.h: Likewise.
24955         * sysdeps/i386/sysdep.h: Likewise.
24956         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24957         * sysdeps/mach/sysdep.h: Likewise.
24958         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24959         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24960         * sysdeps/sh/sysdep.h: Likewise.
24961         * sysdeps/sparc/sparc32/alloca.S: Likewise.
24962         * sysdeps/unix/i386/sysdep.S: Likewise.
24963         * sysdeps/unix/sparc/start.c: Likewise.
24964         * sysdeps/unix/sparc/sysdep.S: Likewise.
24965         * sysdeps/unix/sparc/sysdep.h: Likewise.
24966         * sysdeps/unix/start.c: Likewise.
24967         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24968         * sysdeps/x86_64/sysdep.h: Likewise.
24969
24970 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
24971
24972         [BZ #13553]
24973         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24974         for non-gcc.
24975         * argp/argp-fmtstream.h: Use const instead __const.
24976         * argp/argp.h: Likewise.
24977         * assert/assert.h: Likewise.
24978         * bits/fenv.h: Likewise.
24979         * bits/sched.h: Likewise.
24980         * bits/sigset.h: Likewise.
24981         * bits/sigthread.h: Likewise.
24982         * catgets/nl_types.h: Likewise.
24983         * conform/data/pthread.h-data: Likewise.
24984         * crypt/crypt-private.h: Likewise.
24985         * crypt/crypt.h: Likewise.
24986         * crypt/crypt_util.c: Likewise.
24987         * ctype/ctype.h: Likewise.
24988         * debug/execinfo.h: Likewise.
24989         * debug/mbsnrtowcs_chk.c: Likewise.
24990         * debug/mbsrtowcs_chk.c: Likewise.
24991         * debug/wcsnrtombs_chk.c: Likewise.
24992         * debug/wcsrtombs_chk.c: Likewise.
24993         * debug/wcstombs_chk.c: Likewise.
24994         * dirent/dirent.h: Likewise.
24995         * dlfcn/dlfcn.h: Likewise.
24996         * elf/neededtest4.c: Likewise.
24997         * grp/grp.h: Likewise.
24998         * gshadow/gshadow.h: Likewise.
24999         * iconv/gconv.h: Likewise.
25000         * iconv/gconv_int.h: Likewise.
25001         * iconv/gconv_simple.c: Likewise.
25002         * iconv/iconv.h: Likewise.
25003         * iconv/loop.c: Likewise.
25004         * iconv/skeleton.c: Likewise.
25005         * include/aio.h: Likewise.
25006         * include/aliases.h: Likewise.
25007         * include/argz.h: Likewise.
25008         * include/arpa/inet.h: Likewise.
25009         * include/assert.h: Likewise.
25010         * include/dirent.h: Likewise.
25011         * include/dlfcn.h: Likewise.
25012         * include/execinfo.h: Likewise.
25013         * include/fcntl.h: Likewise.
25014         * include/fenv.h: Likewise.
25015         * include/glob.h: Likewise.
25016         * include/grp.h: Likewise.
25017         * include/libintl.h: Likewise.
25018         * include/mntent.h: Likewise.
25019         * include/netdb.h: Likewise.
25020         * include/pwd.h: Likewise.
25021         * include/rpc/netdb.h: Likewise.
25022         * include/sched.h: Likewise.
25023         * include/search.h: Likewise.
25024         * include/shadow.h: Likewise.
25025         * include/signal.h: Likewise.
25026         * include/stdio.h: Likewise.
25027         * include/stdlib.h: Likewise.
25028         * include/string.h: Likewise.
25029         * include/sys/socket.h: Likewise.
25030         * include/sys/stat.h: Likewise.
25031         * include/sys/statfs.h: Likewise.
25032         * include/sys/statvfs.h: Likewise.
25033         * include/sys/syslog.h: Likewise.
25034         * include/sys/time.h: Likewise.
25035         * include/sys/uio.h: Likewise.
25036         * include/time.h: Likewise.
25037         * include/unistd.h: Likewise.
25038         * include/utmp.h: Likewise.
25039         * include/wchar.h: Likewise.
25040         * include/wctype.h: Likewise.
25041         * inet/aliases.h: Likewise.
25042         * inet/arpa/inet.h: Likewise.
25043         * inet/netinet/ether.h: Likewise.
25044         * inet/netinet/in.h: Likewise.
25045         * intl/libintl.h: Likewise.
25046         * io/bits/fcntl2.h: Likewise.
25047         * io/fcntl.h: Likewise.
25048         * io/ftw.h: Likewise.
25049         * io/sys/poll.h: Likewise.
25050         * io/sys/stat.h: Likewise.
25051         * io/sys/statfs.h: Likewise.
25052         * io/sys/statvfs.h: Likewise.
25053         * io/utime.h: Likewise.
25054         * libio/bits/stdio.h: Likewise.
25055         * libio/bits/stdio2.h: Likewise.
25056         * libio/libio.h: Likewise.
25057         * libio/libioP.h: Likewise.
25058         * libio/stdio.h: Likewise.
25059         * locale/lc-ctype.c: Likewise.
25060         * locale/locale.h: Likewise.
25061         * login/utmp.h: Likewise.
25062         * malloc/arena.c: Likewise.
25063         * malloc/malloc.c: Likewise.
25064         * malloc/malloc.h: Likewise.
25065         * malloc/mcheck.c: Likewise.
25066         * malloc/mtrace.c: Likewise.
25067         * math/bits/mathcalls.h: Likewise.
25068         * math/fenv.h: Likewise.
25069         * math/math_private.h: Likewise.
25070         * misc/bits/error.h: Likewise.
25071         * misc/bits/syslog.h: Likewise.
25072         * misc/err.h: Likewise.
25073         * misc/error.h: Likewise.
25074         * misc/fstab.h: Likewise.
25075         * misc/mntent.h: Likewise.
25076         * misc/regexp.h: Likewise.
25077         * misc/search.h: Likewise.
25078         * misc/sgtty.h: Likewise.
25079         * misc/sys/mman.h: Likewise.
25080         * misc/sys/syslog.h: Likewise.
25081         * misc/sys/uio.h: Likewise.
25082         * misc/sys/xattr.h: Likewise.
25083         * misc/ttyent.h: Likewise.
25084         * nis/rpcsvc/ypclnt.h: Likewise.
25085         * nss/nss.h: Likewise.
25086         * posix/bits/unistd.h: Likewise.
25087         * posix/fnmatch.h: Likewise.
25088         * posix/glob.h: Likewise.
25089         * posix/sched.h: Likewise.
25090         * posix/spawn.h: Likewise.
25091         * posix/sys/wait.h: Likewise.
25092         * posix/unistd.h: Likewise.
25093         * posix/wordexp.h: Likewise.
25094         * pwd/pwd.h: Likewise.
25095         * resolv/netdb.h: Likewise.
25096         * resource/sys/resource.h: Likewise.
25097         * rt/aio.h: Likewise.
25098         * rt/bits/mqueue2.h: Likewise.
25099         * rt/mqueue.h: Likewise.
25100         * shadow/shadow.h: Likewise.
25101         * signal/signal.h: Likewise.
25102         * socket/send.c: Likewise.
25103         * socket/sendto.c: Likewise.
25104         * socket/sys/socket.h: Likewise.
25105         * stdio-common/printf.h: Likewise.
25106         * stdlib/bits/stdlib.h: Likewise.
25107         * stdlib/fmtmsg.h: Likewise.
25108         * stdlib/monetary.h: Likewise.
25109         * stdlib/stdlib.h: Likewise.
25110         * stdlib/ucontext.h: Likewise.
25111         * streams/stropts.h: Likewise.
25112         * string/argz.h: Likewise.
25113         * string/bits/string2.h: Likewise.
25114         * string/string.h: Likewise.
25115         * string/strings.h: Likewise.
25116         * sunrpc/rpc/auth.h: Likewise.
25117         * sunrpc/rpc/auth_des.h: Likewise.
25118         * sunrpc/rpc/clnt.h: Likewise.
25119         * sunrpc/rpc/netdb.h: Likewise.
25120         * sunrpc/rpc/pmap_clnt.h: Likewise.
25121         * sunrpc/rpc/xdr.h: Likewise.
25122         * sysdeps/generic/inttypes.h: Likewise.
25123         * sysdeps/generic/net/if.h: Likewise.
25124         * sysdeps/generic/sys/swap.h: Likewise.
25125         * sysdeps/gnu/net/if.h: Likewise.
25126         * sysdeps/gnu/utmpx.h: Likewise.
25127         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25128         * sysdeps/i386/i486/bits/string.h: Likewise.
25129         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25130         * sysdeps/s390/bits/string.h: Likewise.
25131         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25132         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25133         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25134         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25135         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25136         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25137         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25138         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25139         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25140         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25141         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25142         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25143         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25144         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25145         * sysdeps/unix/sysv/linux/readv.c: Likewise.
25146         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25147         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25148         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25149         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25150         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25151         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25152         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25153         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25154         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25155         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25156         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25157         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25158         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25159         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25160         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25161         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25162         * sysvipc/sys/ipc.h: Likewise.
25163         * sysvipc/sys/msg.h: Likewise.
25164         * sysvipc/sys/sem.h: Likewise.
25165         * sysvipc/sys/shm.h: Likewise.
25166         * termios/termios.h: Likewise.
25167         * time/sys/time.h: Likewise.
25168         * time/time.h: Likewise.
25169         * wcsmbs/bits/wchar2.h: Likewise.
25170         * wcsmbs/uchar.h: Likewise.
25171         * wcsmbs/wchar.h: Likewise.
25172         * wctype/wctype.h: Likewise.
25173
25174         [BZ #13551]
25175         * Makeconfig: Remove all but ELF support including AIX support.
25176         * Makerules: Likewise.
25177         * config.h.in: Likewise.
25178         * config.make.in: Likewise.
25179         * configure: Likewise.
25180         * configure.in: Likewise.
25181         * csu/Makefile: Likewise.
25182         * csu/version.c: Likewise.
25183         * debug/Makefile: Likewise.
25184         * dlfcn/Makefile: Likewise.
25185         * elf/Makefile: Likewise.
25186         * extra-lib.mk: Likewise.
25187         * iconv/Makefile: Likewise.
25188         * include/libc-symbols.h: Likewise.
25189         * include/shlib-compat.h: Likewise.
25190         * resolv/Makefile: Likewise.
25191         * resolv/res_libc.c: Likewise.
25192         * rt/Makefile: Likewise.
25193         * sysdeps/i386/asm-syntax.h: Likewise.
25194         * sysdeps/i386/sysdep.h: Likewise.
25195         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25196         * sysdeps/mach/sysdep.h: Likewise.
25197         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25198         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25199         * sysdeps/s390/asm-syntax.h: Likewise.
25200         * sysdeps/s390/s390-32/sysdep.h: Likewise.
25201         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25202         * sysdeps/sh/sysdep.h: Likewise.
25203         * sysdeps/unix/sparc/sysdep.h: Likewise.
25204         * sysdeps/wordsize-32/divdi3.c: Likewise.
25205         * sysdeps/x86_64/sysdep.h: Likewise.
25206
25207         * argp/Versions: Remove _argp_unlock_xxx.
25208
25209         [BZ #13559]
25210         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
25211         * abilist/libBrokenLocale.abilist: Likewise.
25212         * abilist/libanl.abilist: Likewise.
25213         * abilist/libc.abilist: Likewise.
25214         * abilist/libcrypt.abilist: Likewise.
25215         * abilist/libdl.abilist: Likewise.
25216         * abilist/libm.abilist: Likewise.
25217         * abilist/libnsl.abilist: Likewise.
25218         * abilist/libpthread.abilist: Likewise.
25219         * abilist/libresolv.abilist: Likewise.
25220         * abilist/librt.abilist: Likewise.
25221         * abilist/libthread_db.abilist: Likewise.
25222         * abilist/libutil.abilist: Likewise.
25223         * abilist/libnss_db.abilist: New file.
25224
25225         * scripts/abilist.awk: Add support for indirect functions.
25226
25227         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25228
25229         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25230
25231         * shlib-versions: Remove entries for ports architectures.
25232
25233         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
25234         files in ports.
25235         * elf/stackguard-macros.h: Remove support for IA-64.
25236         * elf/tst-auditmod1.c: Likewise.
25237         * sysdeps/generic/ldsodefs.h: Likewise.
25238
25239         * sysdeps/unix/sysv/linux/configure.in: Ports should define
25240         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25241         configure files.
25242
25243         [BZ #13552]
25244         * configure.in: Remove --enable-omitfp support.
25245         * FAQ.in: Adjust.
25246         * config.make.in: Likewise.
25247         * Makeconfig: Likewise.
25248         * manual/install.texi: Likewise.
25249
25250         In case anyone cares, the IA-64 architecture could move to ports.
25251         * sysdeps/ia64/*: Removed.
25252         * sysdeps/unix/sysv/linux/ia64/*: Removed.
25253         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25254
25255         [BZ #13555]
25256         * configure.in: Remove entries for unsupported architectures.
25257
25258         [BZ #13533]
25259         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25260         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
25261         routines.
25262         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25263         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25264         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
25265         fall back to using wcrtomb.
25266         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25267         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
25268         renaming.
25269         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25270         * wcsmbs/tst-c16c32-1.c: New file.
25271
25272         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25273         local variable.
25274
25275         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25276
25277         * elf/tst-unique3.cc: Add explicit declaration of gets.
25278         * elf/tst-unique3lib.cc: Likewise.
25279         * elf/tst-unique3lib2.cc: Likewise.
25280         * elf/tst-unique4.cc: Likewise.
25281
25282         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25283
25284 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
25285
25286         [BZ #13566]
25287         * assert/assert.h (static_assert): Don't define for C++.
25288         * libio/stdio.h (gets): Do declare for C++ <= C++11.
25289         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25290
25291 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
25292
25293         * iconv/loop.c (single loop): Fix assertion in storing of
25294         remaining bytes.
25295
25296         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25297
25298 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
25299
25300         * posix/getconf.c: Update copyright year.
25301         * nss/getent.c: Likewise.
25302         * nss/makedb.c: Likewise.
25303         * iconv/iconvconfig.c: Likewise.
25304         * iconv/iconv_prog.c: Likewise.
25305         * elf/ldconfig.c: Likewise.
25306         * elf/pldd.c: Likewise.
25307         * elf/sotruss.ksh: Likewise.
25308         * catgets/gencat.c: Likewise.
25309         * csu/version.c: Likewise.
25310         * elf/ldd.bash.in: Likewise.
25311         * elf/sprof.c (print_version): Likewise.
25312         * locale/programs/locale.c: Likewise.
25313         * locale/programs/localedef.c: Likewise.
25314         * login/programs/pt_chown.c: Likewise.
25315         * nscd/nscd.c (print_version): Likewise.
25316         * debug/xtrace.sh: Likewise.
25317         * malloc/memusage.sh: Likewise.
25318         * malloc/mtrace.pl: Likewise.
25319         * debug/catchsegv.sh: Likewise.
25320
25321 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
25322
25323         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25324         pure attribute.
25325
25326 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
25327
25328         [BZ #13533]
25329         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25330         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25331         transformations.
25332         * iconv/gconv_int.h: Likewise.
25333         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25334         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25335         from libc for GLIBC_2.16.
25336         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25337         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25338         * wcsmbs/uchar.h: Really define mbstate_t.
25339         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25340         * wcsmbs/c16rtomb.c: New file.
25341         * wcsmbs/mbrtoc16.c: New file.
25342         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25343         for C/POSIX locale.
25344         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25345         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25346
25347         * wcsmbs/wchar.h: Add missing __restrict.
25348
25349 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
25350
25351         [BZ #13532]
25352         * time/Makefile (routines): Add timespec_get.
25353         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25354         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
25355         timespec for ISO C11.
25356         * time/timespec_get.c: New file.
25357         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25358         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25359
25360         [BZ #13531]
25361         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25362         * stdlib/stdlib.h: Declare aligned_alloc.
25363         * Versions.def: Add GLIBC_2.16 for libc.
25364         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25365
25366         [BZ 13527]
25367         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25368         ISO C11.
25369
25370         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25371         code.
25372
25373         [BZ #13528]
25374         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25375
25376         [BZ #13529]
25377         * assert/assert.h (static_assert): Define.
25378
25379         * version.h: Update for 2.16 development version.
25380
25381         [BZ #13526]
25382         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25383         _ISOC11_SOURCE.
25384
25385         * version.h (RELEASE): Bump for 2.15 release.
25386         * include/features.h (__GLIBC_MINOR__): Bump to 15.
25387
25388         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25389         Patch by Marek Polacek <mpolacek@redhat.com>.
25390
25391         * bits/byteswap.h: Protect long long constants with __extension__.
25392         * sysdeps/i386/bits/byteswap.h: Likewise.
25393         * sysdeps/ia64/bits/byteswap.h: Likewise.
25394         * sysdeps/s390/bits/byteswap.h: Likewise.
25395         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25396
25397 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25398
25399         [BZ #13540]
25400         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25401         destination buffer.
25402         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25403
25404 2011-12-23  Marek Polacek  <polacek@redhat.com>
25405
25406         * elf/dl-addr.c (determine_info): Add inline keyword.
25407         * elf/tst-auditmod4b.c (check_avx): Likewise.
25408         * elf/tst-auditmod6b.c (check_avx): Likewise.
25409         * elf/tst-auditmod6c.c (check_avx): Likewise.
25410         * elf/tst-auditmod7b.c (check_avx): Likewise.
25411
25412 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
25413
25414         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25415         !__SSE_MATH__.
25416
25417 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25418
25419         [BZ #13540]
25420         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25421         processing for last bytes.
25422
25423 2011-08-06  Bruno Haible  <bruno@clisp.org>
25424
25425         [BZ #13061]
25426         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25427         U+0385, not to U+1FEE.
25428
25429         [BZ #13062]
25430         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25431         entry for U+00A5 U+0301.
25432
25433 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
25434
25435         [BZ #13166]
25436         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25437         buffer for the output is too small.
25438
25439         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25440         optimization.
25441
25442         [BZ #13185]
25443         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25444         SSE flags if possible.
25445
25446 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25447
25448         [BZ #13540]
25449         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25450         processing for last bytes.
25451
25452 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
25453
25454         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25455         (syscall-list-default-options, syscall-list-default-condition)
25456         (syscall-list-includes): Define.
25457         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25458         list of ABIs and options and #if conditions for each ABI.  Do not
25459         handle common syscalls between ABIs specially.
25460         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25461         Remove.
25462         (syscall-list-variants, syscall-list-32bit-options)
25463         (syscall-list-32bit-condition, syscall-list-64bit-options)
25464         (syscall-list-64bit-condition): Define.
25465         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25466         (syscall-list-variants, syscall-list-32bit-options)
25467         (syscall-list-32bit-condition, syscall-list-64bit-options)
25468         (syscall-list-64bit-condition): Define.
25469         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25470         Remove.
25471         (syscall-list-variants, syscall-list-32bit-options)
25472         (syscall-list-32bit-condition, syscall-list-64bit-options)
25473         (syscall-list-64bit-condition): Define.
25474         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25475         Remove.
25476         (syscall-list-variants, syscall-list-32bit-options)
25477         (syscall-list-32bit-condition, syscall-list-64bit-options)
25478         (syscall-list-64bit-condition): Define.
25479
25480 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
25481
25482         * locale/iso-639.def: Add brx entry.
25483
25484         [BZ #13328]
25485         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25486         Proposed by Mariusz_Cukr <marcukr@op.pl>.
25487
25488         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25489         __feraiseexcept_renamed.
25490
25491 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
25492
25493         [BZ #13538]
25494         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25495         EPOLLET with unsigned values.
25496         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25497         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25498
25499         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25500         to large cancellation.
25501         * math/s_cacoshf.c: Likewise.
25502         * math/s_cacoshl.c: Likewise.
25503
25504 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
25505
25506         [BZ #13305]
25507         [BZ #12786]
25508         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25509         * math/s_cacoshf.c: Likewise.
25510         * math/s_cacoshl.c: Likewise.
25511
25512 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
25513
25514         [BZ #13439]
25515         * iconv/gconv.h: Define __GCONV_SWAP.
25516         * iconvdata/unicode.c: The swap bit must be stored in __flags.
25517         * iconvdata/utf-16.c: Likewise.
25518         * iconvdata/utf-32.c: Likewise.
25519
25520 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25521
25522         [BZ #13524]
25523         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25524         numerator after shifting it by one limb.
25525
25526 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
25527
25528         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25529         under [__USE_EXTERN_INLINES].
25530
25531 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
25532
25533         [BZ #13446]
25534         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25535
25536 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25537
25538         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25539         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25540         optimized code.
25541         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25542         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25543         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25544         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25545         for strncasecmp/strncasecmp_l compilation.
25546         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25547         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25548
25549 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
25550
25551         [BZ #13484]
25552         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25553         of __asm__.
25554
25555 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
25556
25557         [BZ #13506]
25558         * time/tzfile.c (__tzfile_read): Check values from file header.
25559
25560 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
25561
25562         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25563         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25564         * powerpc/powerpc32/dl-start.S: Likewise.
25565         * powerpc/powerpc32/elf/start.S: Likewise.
25566         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25567         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25568         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25569         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25570         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25571         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25572         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25573         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25574         * powerpc/powerpc32/fpu/s_round.S: Likewise.
25575         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25576         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25577         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25578         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25579         * powerpc/powerpc32/memset.S: Likewise.
25580         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25581         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25582         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25583         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25584         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25585         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25586         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25587         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25588         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25589         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25590         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25591         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25592         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25593
25594 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25595
25596         * math/libm-test.inc: Added more nearbyint tests.
25597         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25598         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25599         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25600         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25601
25602 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
25603
25604         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25605         FD_CLOEXEC.
25606
25607 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25608
25609         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25610         Add wcscpy-ssse3 wcscpy-c.
25611         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25612         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25613         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25614         * sysdeps/x86_64/wcschr.S: New file.
25615         * sysdeps/x86_64/wcsrchr.S: New file.
25616         * string/test-strcmp.c: Remove checking of wcscmp function for
25617         wrong alignments.
25618         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25619         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25620         wcsrchr-sse2 wcsrchr-c.
25621         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25622         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25623         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25624         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25625         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25626         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25627         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25628         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25629         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25630         * wcsmbc/wcschr.c (WCSCHR): New macro.
25631
25632 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25633
25634         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25635         * wcsmbs/test-wcsrchr.c: New file.
25636         * string/test-strrchr.c: Add wcsrchr support.
25637         (WIDE): New macro.
25638         * wcsmbs/test-wcscpy.c: New file.
25639         * string/test-strcpy.c: Add wcscpy support.
25640         (WIDE): New macro.
25641
25642 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
25643
25644         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25645         the inner loop.
25646
25647 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
25648
25649         [BZ #13472]
25650         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25651
25652 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
25653
25654         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
25655         Minor optimizations.
25656
25657         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25658         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25659         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25660
25661 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
25662
25663         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25664         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25665         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25666         for gcc to avoid warnings.
25667         * inet/Makefile (tests): Add tst-checks.
25668         * inet/tst-checks.c: New file.
25669
25670         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25671         warning.
25672
25673         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25674         __wmemcmp_sse2.
25675
25676         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25677         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25678
25679         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25680
25681 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
25682
25683         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25684         problem.
25685
25686         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25687
25688 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
25689
25690         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25691         conditional on GCC version.
25692         (__arch_compare_and_exchange_val_8_acq)
25693         (__arch_compare_and_exchange_val_16_acq)
25694         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25695         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25696         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25697
25698 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
25699
25700         * sysdeps/sh/backtrace.c: New file.
25701
25702 2011-12-02  Andreas Schwab  <schwab@redhat.com>
25703
25704         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
25705         parenthesis.
25706
25707 2011-12-01  Andreas Schwab  <schwab@redhat.com>
25708
25709         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25710         falling back to utime.
25711
25712 2011-11-30  Andreas Schwab  <schwab@redhat.com>
25713
25714         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25715         expectations for float.
25716
25717 2011-11-29  Andreas Schwab  <schwab@redhat.com>
25718
25719         * locale/weight.h (findidx): Add parameter len.
25720         * locale/weightwc.h (findidx): Likewise.
25721         * posix/fnmatch_loop.c (FCT): Adjust caller.
25722         * posix/regcomp.c (build_equiv_class): Likewise.
25723         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25724         * posix/regexec.c (check_node_accept_bytes): Likewise.
25725         * string/strcoll_l.c (STRCOLL): Likewise.
25726         * string/strxfrm_l.c (STRXFRM): Likewise.
25727
25728 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
25729
25730         * Makefile.in: Remove CVSOPT handling.
25731         * configure.in: Remove use of AC_REVISION.
25732         * iconvdata/Makefile (distribute): No need to filter out CVS.
25733         * scripts/list-sources.sh: Remove CVS, subversion and monotone
25734         handling.
25735
25736 2011-11-16  Andreas Schwab  <schwab@redhat.com>
25737
25738         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25739         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25740         [USE_AS_STRNCASECMP_L]: Likewise.
25741         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25742         NO_TLS_DIRECT_SEG_REFS.
25743         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25744         Fix argument offsets for non-PIC.
25745         [USE_AS_STRNCASECMP_L]: Likewise.
25746         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25747         NO_TLS_DIRECT_SEG_REFS.
25748
25749 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
25750
25751         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
25752         O_CLOEXEC.
25753         * locale/loadlocale.c (_nl_load_locale): Likewise.
25754
25755 2011-11-15  Andreas Schwab  <schwab@redhat.com>
25756
25757         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25758         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25759         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25760         (SYSCALL_GETTIME): Set errno on error.
25761
25762         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25763         count references to noai6ai_cached.
25764
25765 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
25766
25767         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25768
25769         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25770         FD_CLOEXEC for /proc/self/maps.
25771
25772         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25773         FD_CLOEXEC for /proc/meminfo.
25774
25775         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25776         gai.conf.
25777
25778         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
25779         FD_CLOEXEC for given file.
25780
25781         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25782
25783         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25784         FD_CLOEXEC for /etc/hosts.
25785         (_gethtent): Likewise.
25786
25787         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25788
25789         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25790         cancellation and set FD_CLOEXEC for /etc/netgroup.
25791
25792         * nss/nss_files/files-key.c (search): Don't allow cancellation when
25793         reading /etc/publickey.
25794
25795         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25796         allow cancellation when reading /etc/group.
25797
25798         * nss/nss_files/files-alias.c (internal_setent): Don't allow
25799         cancellation.
25800         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
25801
25802         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25803         when using data file.
25804
25805         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25806
25807         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25808         (write_nis_obj): Use "c" and "e" in fopen.
25809
25810         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25811
25812         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25813
25814         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25815
25816         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25817
25818         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25819         locale.alias.
25820
25821         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25822
25823         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25824
25825         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25826
25827         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25828         file parsing and set FD_CLOEXEC.
25829
25830 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
25831
25832         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25833
25834 2011-11-14  Andreas Schwab  <schwab@redhat.com>
25835
25836         * malloc/arena.c (arena_get2): Don't call reused_arena when
25837         _int_new_arena failed.
25838
25839 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
25840
25841         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25842         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25843         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25844         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25845         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25846         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25847         to compile strcasecmp and strncasecmp.
25848         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25849         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25850
25851         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25852
25853 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
25854
25855         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25856         locale-defines.sym to gen-as-const-headers.
25857         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25858         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25859         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25860         to compile strcasecmp and strncasecmp.
25861         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25862         strcasecmp_l and strncasecmp_l.
25863         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25864         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25865         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25866         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25867         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25868         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25869         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25870         * sysdeps/i386/i686/multiarch/strncase.S: New file.
25871         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25872         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25873         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25874
25875 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
25876
25877         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25878         result of SYSDEP_GETTIME_CPU to retval.
25879         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25880         parameter list to macro.  Remove trailing semicolon.  Adjust users.
25881
25882         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25883         variable.
25884
25885         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25886         mantissa words.
25887         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25888
25889         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25890         from unused variable.
25891
25892         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25893         DWARF definitions.
25894         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25895         for assembling.
25896
25897         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25898         over namespaces.
25899
25900         * sunrpc/rpc_prot.c (rejected): Fix case value.
25901
25902         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25903         unsigned long long int to avoid warnings in shift.
25904
25905         * posix/regex_internal.c (re_string_reconstruct): Actually use result
25906         of use of trans.
25907         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25908         variable tmp.
25909
25910         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25911         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25912         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25913
25914         * nis/nis_table.c (nis_list): Use variable of correct type for
25915         result of __follow_path call.
25916
25917 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25918
25919         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25920         of math functions ceil, trunc, floor, round, and sqrt, when
25921         avaliable on the platform.
25922         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25923         name clash.
25924         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25925         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25926         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25927
25928 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
25929
25930         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25931         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25932
25933 2011-11-11  Roland McGrath  <roland@hack.frob.com>
25934
25935         * include/unistd.h: Fix __readlink return type.
25936         Reported by Chris Metcalf <cmetcalf@tilera.com>.
25937
25938 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
25939
25940         * stdlib/ucontext.h: Undo last change for makecontext.
25941
25942 2011-11-11  Andreas Schwab  <schwab@redhat.com>
25943
25944         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25945
25946         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25947         * setjmp/setjmp.h: Mark functions as non-leaf.
25948         * setjmp/bits/setjmp2.h: Likewise.
25949         * stdlib/ucontext.h: Likewise.
25950
25951 2011-11-10  Andreas Schwab  <schwab@redhat.com>
25952
25953         * malloc/arena.c (_int_new_arena): Don't increment narenas.
25954         (reused_arena): Don't check arena limit.
25955         (arena_get2): Atomically check arena limit.
25956
25957 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
25958
25959         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25960         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25961
25962         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25963         instructions.
25964
25965 2011-11-07  Andreas Schwab  <schwab@redhat.com>
25966
25967         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25968         handler when locking.
25969
25970         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25971         Fix size of allocated buffer.
25972
25973 2011-11-04  Andreas Schwab  <schwab@redhat.com>
25974
25975         [BZ #10103]
25976         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25977         declarations for long double functions.
25978         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25979
25980         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25981
25982 2011-11-03  Andreas Schwab  <schwab@redhat.com>
25983
25984         * nscd/nscd.c (main): Don't start AVC thread until credentials are
25985         installed.
25986
25987         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25988         is disabled.
25989
25990 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25991
25992         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25993
25994 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25995
25996         * include/alloca.h (stackinfo_alloca_round): Define.
25997         (extend_alloca): Use it.
25998         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25999         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26000         here.
26001
26002         * scripts/check-local-headers.sh: Ignore libaudit.h.
26003
26004         * nscd/Makefile (extra-objs): Make recursively expanded.
26005
26006 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
26007
26008         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26009         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26010
26011         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26012         * posix/tst-rfc3484-2.c: Likewise.
26013         * posix/tst-rfc3484-3.c: Likewise.
26014
26015         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26016         process_vm_writev.
26017         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26018         process_vm_writev.
26019         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26020         process_vm_writev from libc using GLIBC_2.15 version.
26021
26022         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26023
26024 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
26025
26026         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26027         stack usage.
26028
26029 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
26030
26031         [BZ #13367]
26032         * nss/getent.c (initgroups_keys): Show error message in case no group
26033         names are given.
26034
26035         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26036         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26037         __bump_nl_timestamp.
26038         * nscd/connections (nscd_init): When host database is served open
26039         netlink socket and request notification about configuration changes.
26040         (main_loop_poll): Track netlink file descriptor and bump timestamp
26041         in case data becomes available.
26042         (main_loop_epoll): Likewise.
26043         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26044         (database_pers_head): Add extra_data fileds.
26045         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26046         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26047         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26048         Adjust caller.
26049         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26050         in6ai data, call __free_in6ai.
26051         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26052         Add -DHAVE_NETLINK.
26053         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
26054         interface information.  Reuse previous data if netlink timestamp
26055         is not changed.
26056         (__bump_nl_timestamp): New function.
26057         (__free_in6ai): New function.
26058
26059 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
26060
26061         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26062         close_not_cancel_no_status here.
26063         (__check_pf): Reorganize code a bit to not call close twice if OOM.
26064
26065 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
26066
26067         [BZ #13276]
26068         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26069         return value.
26070
26071         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26072         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26073         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26074
26075 2011-07-03  Andreas Jaeger  <aj@suse.de>
26076
26077         [BZ #10709]
26078         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26079         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26080         * math/libm-test.inc (sin_test): Add test case.
26081
26082 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
26083
26084         [BZ #13337]
26085         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26086         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26087
26088         * elf/chroot_canon.c (chroot_canon): Cleanups.
26089
26090         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26091
26092         [BZ #13335]
26093         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26094         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26095
26096         * string/test-strchr.c: Make usable for strchrnul testing.
26097         * string/test-strchrnul.c: New file.
26098         * string/Makefile (strop-tests): Add strchrnul.
26099
26100         * po/it.po: Update from translation team.
26101         * po/es.po: Likewise.
26102
26103 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
26104
26105         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26106         the three constants needed as parameters.  Drop the others.
26107         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26108         __m128i_strloadu_tolower.
26109         Create and initialize variable zero and use it in all the places
26110         where _mm_setzero_si128 was used.
26111
26112         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26113         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26114         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26115         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26116         anymore.
26117         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26118         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26119         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26120         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26121         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26122         __mpranred, __mptan.
26123         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26124         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26125         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26126         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26127         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26128         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26129         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26130         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26131         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26132
26133 2011-10-28  Andreas Schwab  <schwab@redhat.com>
26134
26135         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26136         redefine if SHARED.
26137         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26138
26139         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26140         wide char related routines to wcsmbs subdir.
26141
26142 2011-10-27  Andreas Schwab  <schwab@redhat.com>
26143
26144         [BZ #13344]
26145         * misc/sys/cdefs.h (__THROWNL): Define.
26146         * posix/unistd.h: Use __THREADNL instead of __THREAD
26147         for memory synchronization functions.
26148
26149 2011-10-26  Roland McGrath  <roland@hack.frob.com>
26150
26151         [BZ #13349]
26152         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26153         doesn't exist.
26154         * manual/stdio.texi (Obstack Streams): Node removed.
26155
26156 2011-10-26  Andreas Schwab  <schwab@redhat.com>
26157
26158         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26159         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26160         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26161
26162         * math/math_private.h (math_force_eval): Allow non-addressable
26163         arguments.
26164         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26165
26166 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26167
26168         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26169         file is not needed.
26170
26171         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26172         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26173         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26174         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26175         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26176         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26177         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26178         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26179         Add AVX variants.
26180         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26181         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26182         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26183         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26184         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26185         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26186         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26187         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26188         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26189         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26190         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26191         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26192         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26193         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26194         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26195         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26196         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26197         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26198         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26199
26200         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26201         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
26202
26203         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26204         place.  Use VEX encoding when compiling for AVX.
26205
26206 2011-10-25  Andreas Schwab  <schwab@redhat.com>
26207
26208         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26209         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26210
26211         * string/test-strchr.c (do_test): Don't generate NUL bytes.
26212
26213 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26214
26215         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26216         useless if() expression.
26217         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26218         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26219         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26220         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26221         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26222         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26223         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26224         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26225         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26226         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26227         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26228         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26229         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26230         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26231         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26232         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26233         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26234         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26235         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26236
26237         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26238
26239 2011-10-25  Andreas Schwab  <schwab@redhat.com>
26240
26241         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26242         condition.
26243         * elf/dl-fini.c (_dl_sort_fini): Likewise.
26244
26245 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26246
26247         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26248         .text section.  Avoid duplicate constants.
26249         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26250         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26251         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26252         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26253         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26254         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26255         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26256         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26257         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26258         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26259         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26260         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26261         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26262         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26263         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26264         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26265         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26266         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26267         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26268         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26269         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26270         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26271         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26272         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26273         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26274         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26275         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26276         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26277         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26278         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26279         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26280         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26281         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26282         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26283         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26284         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26285         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26286         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26287         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26288         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26289         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26290         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26291         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26292         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26293         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26294
26295 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
26296
26297         * sysdeps/x86_64/dla.h: Move to ...
26298         * sysdeps/x86_64/fpu/dla.h: ...here.
26299         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26300         situations.  Use __builtin_fma only for gcc 4.6 and up.
26301
26302         * config.make.in: Add have-mfma4 entry.
26303         * configure.in: Substitute libc_cv_cc_fma4.
26304         * math/Makefile (dbl-only-routines): Add sincostab.
26305         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26306         Use __sincostab not sincos.
26307         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26308         name is a macro.
26309         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26310         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26311         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26312         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
26313         using __copysign.
26314         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
26315         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
26316         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26317         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26318         and __inv.
26319         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26320         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26321         __copysign.
26322         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
26323         define aliases when function name is a macro.
26324         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26325         sysdeps/ieee754/dbl-64/sincos.tbl.
26326         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26327         fma4-enabled routines.
26328         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26329         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26330         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26331         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26332         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26333         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26334         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26335         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26336         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26337         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26338         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26339         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26340         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26341         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26342         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26343         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26344         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26345         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26346         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26347         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26348         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26349         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26350         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26351         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26352         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26353         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26354         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26355         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26356         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26357         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26358
26359         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26360         rename.
26361         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26362         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26363         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26364         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26365         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26366         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26367         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26368         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26369
26370 2011-10-24  Andreas Schwab  <schwab@redhat.com>
26371
26372         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26373
26374 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26375
26376         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26377
26378         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26379         prediction.
26380         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26381
26382         * string/strnlen.c: Don't define STRNLEN, reverse logic.
26383         Remove unused variable magic_bits.
26384         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26385
26386         * string/strnlen.c: Define and use STRNLEN macro.
26387         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26388         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26389         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26390         * wcsmbs/wcslen.c: Define and use WCSLEN.
26391         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26392         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26393         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26394         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26395         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26396         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26397         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26398
26399 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26400
26401         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26402         strnlen-sse2-no-bsf.
26403         Rename strlen-no-bsf to strlen-sse2-no-bsf.
26404         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26405         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26406         Add strnlen support.
26407         (USE_AS_STRNLEN): New macro.
26408         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26409         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26410         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26411         * sysdeps/x86_64/wcslen.S: New file.
26412
26413 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
26414
26415         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26416         XMM-moves are used for copying on small sizes.
26417
26418 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26419
26420         * wcsmbs/Makefile (strop-tests): Add wcschr.
26421         * wcsmbs/test-wcschr.c: New file.
26422         * string/test-strchr.c: Update.
26423         Add wcschr support.
26424         (WIDE): New macro.
26425
26426 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26427
26428         * wcsmbs/Makefile (strop-tests): Add wcslen.
26429         * wcsmbs/test-wcslen.c: New file.
26430         * string/test-strlen.c: Update.
26431         Add wcslen support.
26432         (WIDE): New macro.
26433
26434 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26435
26436         * po/it.po: Update from translation team.
26437
26438 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26439
26440         * sysdeps/x86_64/wcscmp.S: Update.
26441         Fix wrong comparison semantics.
26442         wcscmp shall use signed comparison not unsigned.
26443         Don't use substraction to avoid overflow bug.
26444         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26445         * wcsmbc/wcscmp.c: Likewise.
26446         * string/test-strcmp.c: Likewise.
26447         Add new tests to check cases with negative values.
26448
26449 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26450
26451         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26452         * sysdeps/x86_64/dla.h: ...here.  New file.
26453         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26454         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26455         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26456         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26457         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26458         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26459         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26460         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26461         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26462
26463 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
26464
26465         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26466         __ynl_finite aliases.
26467
26468 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
26469
26470         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26471
26472         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26473         define DLA_FMA.
26474         [DLA_FMA] (EMULV): Use DLA_FMA.
26475         [DLA_FMA] (MUL12): Use EMULV.
26476         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26477         that are not needed.
26478         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26479         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26480         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26481         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26482         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26483         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26484         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26485
26486 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
26487
26488         * math/s_nan.c: Undef __nan.
26489         * math/s_nanf.c: Undef __nanf.
26490         * math/s_nanl.c: Undef __nanl.
26491         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26492         "math_private.h".
26493
26494 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
26495
26496         * math/s_catan.c: Add branch predictions.
26497         * math/s_catanf.c: Likewise.
26498         * math/s_catanh.c: Likewise.
26499         * math/s_catanhf.c: Likewise.
26500         * math/s_catanhl.c: Likewise.
26501         * math/s_catanl.c: Likewise.
26502         * math/s_cexp.c: Likewise.
26503         * math/s_cexpf.c: Likewise.
26504         * math/s_cexpl.c: Likewise.
26505         * math/s_clog.c: Likewise.
26506         * math/s_clog10.c: Likewise.
26507         * math/s_clog10f.c: Likewise.
26508         * math/s_clog10l.c: Likewise.
26509         * math/s_clogf.c: Likewise.
26510         * math/s_clogl.c: Likewise.
26511         * math/s_csqrt.c: Likewise.
26512         * math/s_csqrtf.c: Likewise.
26513         * math/s_csqrtl.c: Likewise.
26514         * math/s_ctanf.c: Likewise.
26515         * math/s_ctanh.c: Likewise.
26516         * math/s_ctanhf.c: Likewise.
26517         * math/s_ctanhl.c: Likewise.
26518         * math/s_ctanl.c: Likewise.
26519
26520         * math/math_private.h: Define __nan, __nanf, __nanl.
26521         * math/s_cacosh.c: Include <math_private.h>.
26522         * math/s_cacoshl.c: Likewise.
26523         * math/s_casinh.c: Likewise.
26524         * math/s_casinhf.c: Likewise.
26525         * math/s_casinhl.c: Likewise.
26526         * math/s_ccos.c: Rely entire on ccosh.
26527         * math/s_ccosf.c: Rely entire on ccoshf.
26528         * math/s_ccosl.c: Rely entirely on ccoshl.
26529         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
26530         Remove tests for FE_INVALID.
26531         * math/s_ccoshf.c: Likewise.
26532         * math/s_ccoshl.c: Likewise.
26533         * math/s_csin.c: Likewise.
26534         * math/s_csinf.c: Likewise.
26535         * math/s_csinh.c Likewise.
26536         * math/s_csinhf.c: Likewise.
26537         * math/s_csinhl.c: Likewise.
26538         * math/s_csinl.c: Likewise.
26539         * math/s_ctan.c: Likewise.
26540         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26541         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26542         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26543
26544 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
26545
26546         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26547         compilation problems.
26548
26549         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26550         __builtin_expect.
26551
26552 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
26553
26554         * sysdeps/i386/configure.in: Test for -mfma4 option.
26555         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26556         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26557         COMMON_CPUID_INDEX_80000001.
26558         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26559         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26560         use it if FMA3 is not supported.
26561         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26562
26563         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26564         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26565
26566 2011-10-20  Andreas Schwab  <schwab@redhat.com>
26567
26568         [BZ #12892]
26569         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26570         it would create a cycle with a link time dependency.
26571
26572 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
26573
26574         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26575         instruction.
26576         * string/Makefile (strop-tests): Add rawmemchr.
26577         * string/test-rawmemchr.c: New file.
26578
26579         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26580         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
26581         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
26582         when compiling str{,n}casecmp and when AVX is available.  Hook up
26583         new optimized code in initializers.
26584
26585 2011-10-19  Andreas Schwab  <schwab@redhat.com>
26586
26587         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26588         __feraiseexcept instead of feraiseexcept.
26589
26590 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
26591
26592         * math/math_private.h: Define defaults for libc_fetestexcept and
26593         libc_feupdateenv.
26594         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26595         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26596         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26597         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26598         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26599         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26600         libc_fetestexcept and libc_feupdateenv.
26601
26602         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26603         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26604         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26605         * sysdeps/x86_64/fpu/math_private.h: Define special version of
26606         libc_feholdexcept_setround.
26607
26608         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26609         Add s_nearbyint-c and s_nearbyintf-c.
26610         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26611         nearbyintf inlines.
26612         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26613         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26614         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26615         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26616
26617         * math/math_private.h: Define defaults for libc_fegetround,
26618         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26619         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26620         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26621         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26622         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26623         standard functions.
26624         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26625         Remove comments and hacks for old compiler versions.
26626         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26627         libc_fegetround, libc_fesetround, libc_feholdexcept, and
26628         libc_feholdexceptl.
26629
26630 2011-10-18  Andreas Schwab  <schwab@redhat.com>
26631
26632         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
26633         (__feraiseexcept_renamed): Add __NTH.
26634         (feraiseexcept): Add __NTH.  Rename local variables to fix
26635         namespace violations.
26636
26637 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
26638
26639         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26640
26641         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26642
26643         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26644         recently added interfaces.
26645         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26646
26647         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26648         about macro parameter expansion.
26649
26650         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26651         __NO_MATH_INLINES is defined.  Cleanups.
26652
26653         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26654         and __floorf is target has SSE4.1.
26655         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26656         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26657         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26658         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26659
26660         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26661         name.
26662         (floorf): Likewise.
26663
26664         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26665
26666 2011-10-17  Andreas Schwab  <schwab@redhat.com>
26667
26668         * misc/sys/cdefs.h: Fix last change.
26669
26670         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26671         database lookup.
26672
26673 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
26674
26675         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26676
26677         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26678         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26679         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26680         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26681         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26682         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26683         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26684         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26685         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26686         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26687         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26688         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26689         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26690         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26691         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26692         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26693         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26694         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26695         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26696         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26697         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26698         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26699
26700         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26701         ceil, ceilf, floor, floorf.
26702
26703         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26704         Perform IRELATIVE relocations last.
26705
26706         * elf/do-rel.h: Add another parameter nrelative, replacing the
26707         local variable with the same name.  Change name of the function
26708         to end in Rel or Rela (uppercase).
26709         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26710         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
26711         elf_dynamic_do_##reloc function.
26712
26713 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
26714
26715         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26716         is sufficient, at least on modern CPUs.
26717
26718         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26719
26720         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26721         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26722
26723         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26724         __expl_finite.
26725         * math/bits/math-finite.h: Add entries for exp.
26726         * math/e_expl.c: Add __*_finite alias.
26727         * sysdeps/i386/fpu/e_exp.S: Likewise.
26728         * sysdeps/i386/fpu/e_expf.S: Likewise.
26729         * sysdeps/i386/fpu/e_expl.c: Likewise.
26730         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26731         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26732         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26733         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26734         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26735         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26736         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26737
26738         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26739         is sufficient, at least on modern CPUs.
26740
26741         * ctype/ctype-info.c (__ctype_init): Define.
26742         * include/ctype.h (__ctype_init): Declare.
26743         (__ctype_b_loc): The variable is always initialized.
26744         (__ctype_toupper_loc): Likewise.
26745         (__ctype_tolower_loc): Likewise.
26746         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26747         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26748
26749 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
26750
26751         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26752
26753         * configure.in: Also look in $cxxmachine/include for C++ system
26754         headers.
26755
26756 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26757
26758         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26759         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26760         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26761         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
26762         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26763         (USE_AS_WMEMCMP): New macro.
26764         Fixing indents.
26765         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26766         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26767         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26768         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26769         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26770         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26771         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26772         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26773         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26774         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26775         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26776         (USE_AS_WMEMCMP): New macro.
26777         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26778         * sysdeps/string/test-memcmp.c: Update.
26779         Fix simple_wmemcmp.
26780         Add new tests.
26781         * wcsmbs/wmemcmp.c: Update.
26782         (WMEMCMP): New macro.
26783         Fix overflow bug.
26784
26785 2011-10-12  Andreas Jaeger  <aj@suse.de>
26786
26787         [BZ #13268]
26788         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26789
26790 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
26791
26792         * libio/iofwide.c (do_length): Avoid warning.
26793
26794         * ctype/ctype.h (__isctype_f): Add missing __THROW.
26795
26796 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
26797
26798         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26799
26800         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26801         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26802         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26803         * sysdeps/i386/i686/fpu/e_log.S: New file.
26804         * sysdeps/i386/i686/fpu/e_logf.S: New file.
26805         * sysdeps/i386/i686/fpu/e_logl.S: New file.
26806
26807         * ctype/ctype.h: Add support for inlined isXXX functions when
26808         compiling C++ code.
26809
26810 2011-10-14  Andreas Schwab  <schwab@redhat.com>
26811
26812         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26813
26814         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26815
26816 2011-10-13  Roland McGrath  <roland@hack.frob.com>
26817
26818         [BZ #13291]
26819         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26820
26821 2011-10-13  Andreas Schwab  <schwab@redhat.com>
26822
26823         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26824         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26825         feraiseexcept.
26826
26827         * sysdeps/x86_64/memrchr.S: Check for zero size.
26828
26829         * string/stratcliff.c: Add memrchr tests.
26830
26831 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26832
26833         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26834         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26835         rawmemchr-sse2 rawmemchr-sse2-bsf.
26836         * sysdeps/i386/i686/multiarch/memchr.S: New file.
26837         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26838         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26839         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26840         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26841         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26842         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26843         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26844         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26845         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26846         * string/memrchr.c (MEMRCHR): New macro.
26847
26848 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
26849
26850         Add integration with gcc's -ffinite-math-only and optimize wrapper
26851         functions in libm.
26852         * Versions.def: Define GLIBC_2.15 version for libm.
26853         * math/Makefile (headers): Add bits/math-finite.h.
26854         * math/bits/math-finite.h: New file.
26855         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26856         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26857         * math/e_acoshl.c: Add __*_finite alias.
26858         * math/e_acosl.c: Likewise.
26859         * math/e_asinl.c: Likewise.
26860         * math/e_atan2l.c: Likewise.
26861         * math/e_atanhl.c: Likewise.
26862         * math/e_coshl.c: Likewise.
26863         * math/e_exp10.c: Likewise.
26864         * math/e_exp10f.c: Likewise.
26865         * math/e_exp10l.c: Likewise.
26866         * math/e_exp2l.c: Likewise.
26867         * math/e_fmodl.c: Likewise.
26868         * math/e_gammal_r.c: Likewise.
26869         * math/e_hypotl.c: Likewise.
26870         * math/e_j0l.c: Likewise.
26871         * math/e_j1l.c: Likewise.
26872         * math/e_jnl.c: Likewise.
26873         * math/e_lgammal_r.c: Likewise.
26874         * math/e_log10l.c: Likewise.
26875         * math/e_log2l.c: Likewise.
26876         * math/e_logl.c: Likewise.
26877         * math/e_powl.c: Likewise.
26878         * math/e_sinhl.c: Likewise.
26879         * math/e_sqrtl.c: Likewise.
26880         * math/e_scalb.c: Completely rewritten and optimized.
26881         * math/e_scalbf.c: Likewise.
26882         * math/e_scalbl.c: Likewise.
26883         * math/w_acos.c: Likewise.
26884         * math/w_acosf.c: Likewise.
26885         * math/w_acosl.c: Likewise.
26886         * math/w_acosh.c: Likewise.
26887         * math/w_acoshf.c: Likewise.
26888         * math/w_acoshl.c: Likewise.
26889         * math/w_asin.c: Likewise.
26890         * math/w_asinf.c: Likewise.
26891         * math/w_asinl.c: Likewise.
26892         * math/w_atan2.c: Likewise.
26893         * math/w_atan2f.c: Likewise.
26894         * math/w_atan2l.c: Likewise.
26895         * math/w_atanh.c: Likewise.
26896         * math/w_atanhf.c: Likewise.
26897         * math/w_atanhl.c: Likewise.
26898         * math/w_exp10.c: Likewise.
26899         * math/w_exp10f.c: Likewise.
26900         * math/w_exp10l.c: Likewise.
26901         * math/w_fmod.c: Likewise.
26902         * math/w_fmodf.c: Likewise.
26903         * math/w_fmodl.c: Likewise.
26904         * math/w_j0.c: Likewise.
26905         * math/w_j0f.c: Likewise.
26906         * math/w_j0l.c: Likewise.
26907         * math/w_j1.c: Likewise.
26908         * math/w_j1f.c: Likewise.
26909         * math/w_j1l.c: Likewise.
26910         * math/w_jn.c: Likewise.
26911         * math/w_jnf.c: Likewise.
26912         * math/w_log.c: Likewise.
26913         * math/w_logf.c: Likewise.
26914         * math/w_logl.c: Likewise.
26915         * math/w_log10.c: Likewise.
26916         * math/w_log10f.c: Likewise.
26917         * math/w_log10l.c: Likewise.
26918         * math/w_log2.c: Likewise.
26919         * math/w_log2f.c: Likewise.
26920         * math/w_log2l.c: Likewise.
26921         * math/w_pow.c: Likewise.
26922         * math/w_powf.c: Likewise.
26923         * math/w_powl.c: Likewise.
26924         * math/w_remainder.c: Likewise.
26925         * math/w_remainderf.c: Likewise.
26926         * math/w_remainderl.c: Likewise.
26927         * math/w_scalb.c: Likewise.
26928         * math/w_scalbf.c: Likewise.
26929         * math/w_scalbl.c: Likewise.
26930         * math/w_sqrt.c: Likewise.
26931         * math/w_sqrtf.c: Likewise.
26932         * math/w_sqrtl.c: Likewise.
26933         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26934         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
26935         used.
26936         * math/math_private.h: Declare __kernel_standard_f.
26937         * math/w_cosh.c: Remove cruft and optimize a bit.
26938         * math/w_coshf.c: Likewise.
26939         * math/w_coshl.c: Likewise.
26940         * math/w_exp2.c: Likewise.
26941         * math/w_exp2f.c: Likewise.
26942         * math/w_exp2l.c: Likewise.
26943         * math/w_hypot.c: Likewise.
26944         * math/w_hypotf.c: Likewise.
26945         * math/w_hypotl.c: Likewise.
26946         * math/w_lgamma.c: Likewise.
26947         * math/w_lgamma_r.c: Likewise.
26948         * math/w_lgammaf.c: Likewise.
26949         * math/w_lgammaf_r.c: Likewise.
26950         * math/w_lgammal.c: Likewise.
26951         * math/w_lgammal_r.c: Likewise.
26952         * math/w_sinh.c: Likewise.
26953         * math/w_sinhf.c: Likewise.
26954         * math/w_sinhl.c: Likewise.
26955         * math/w_tgamma.c: Likewise.
26956         * math/w_tgammaf.c: Likewise.
26957         * math/w_tgammal.c: Likewise.
26958         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26959         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26960         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26961         Minor optimizations.  Pretty printing.  Remove cruft.
26962         * sysdeps/i386/fpu/e_acosf.S: Likewise.
26963         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26964         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26965         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26966         * sysdeps/i386/fpu/e_acosl.c: Likewise.
26967         * sysdeps/i386/fpu/e_asin.S: Likewise.
26968         * sysdeps/i386/fpu/e_asinf.S: Likewise.
26969         * sysdeps/i386/fpu/e_atan2.S: Likewise.
26970         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26971         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26972         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26973         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26974         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26975         * sysdeps/i386/fpu/e_exp10.S: Likewise.
26976         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26977         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26978         * sysdeps/i386/fpu/e_exp2.S: Likewise.
26979         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26980         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26981         * sysdeps/i386/fpu/e_fmod.S: Likewise.
26982         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26983         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26984         * sysdeps/i386/fpu/e_hypot.S: Likewise.
26985         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26986         * sysdeps/i386/fpu/e_log.S: Likewise.
26987         * sysdeps/i386/fpu/e_log10.S: Likewise.
26988         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26989         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26990         * sysdeps/i386/fpu/e_log2.S: Likewise.
26991         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26992         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26993         * sysdeps/i386/fpu/e_logf.S: Likewise.
26994         * sysdeps/i386/fpu/e_logl.S: Likewise.
26995         * sysdeps/i386/fpu/e_pow.S: Likewise.
26996         * sysdeps/i386/fpu/e_powf.S: Likewise.
26997         * sysdeps/i386/fpu/e_powl.S: Likewise.
26998         * sysdeps/i386/fpu/e_remainder.S: Likewise.
26999         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27000         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27001         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27002         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27003         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27004         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27005         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27006         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27007         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27008         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27009         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27010         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27011         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27012         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27013         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27014         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27015         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27016         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27017         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27018         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27019         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27020         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27021         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27022         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27023         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27024         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27025         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27026         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27027         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27028         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27029         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27030         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27031         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27032         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27033         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27034         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27035         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27036         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27037         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27038         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27039         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27040         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27041         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27042         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27043         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27044         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27045         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27046         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27047         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27048         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27049         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27050         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27051         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27052         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27053         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27054         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27055         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27056         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27057         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27058         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27059         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27060         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27061         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27062         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27063         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27064         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27065         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27066         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27067         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27068         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27069         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27070         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27071         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27072         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27073         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27074         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27075         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27076         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27077         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27078         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27079         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27080         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27081         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27082         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27083         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27084         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27085         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27086         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27087         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27088         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27089         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27090         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27091         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27092         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27093         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27094         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27095         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27096         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27097         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27098         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27099         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27100         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27101         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27102         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27103         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27104         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27105         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27106         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27107         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27108         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27109         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27110         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27111         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27112         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27113         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27114         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27115         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27116         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27117         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
27118         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27119         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27120         (__isnanf): Likewise.
27121         (__isinf_ns): Likewise.
27122         (__isinf_nsf): Likewise.
27123         (__finite): Likewise.
27124         (__finitef): Likewise.
27125         (__ieee754_sqrt): Define as macro.
27126         (__ieee754_sqrtf): Define as macro.
27127         (__ieee754_sqrtl): Define as macro.
27128         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27129         inlined copy.
27130         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27131         __FINITE_MATH_ONLY__ consistent.
27132         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27133
27134 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
27135
27136         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27137         of rawmemchr.
27138
27139         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27140
27141 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
27142
27143         * po/ja.po: Update from translation team.
27144
27145 2011-10-08  Roland McGrath  <roland@hack.frob.com>
27146
27147         * locale/programs/locarchive.c (prepare_address_space): New function.
27148         (create_archive, enlarge_archive, open_archive): Use it.
27149
27150         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27151         inside [SHARED], where it is used.
27152
27153         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27154
27155         * nss/getent.c (netgroup_keys): Remove unused variable.
27156         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27157
27158 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
27159
27160         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27161         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27162         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27163         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27164         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27165         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27166         * math/Makefile (libm-calls): Add s_isinf_ns.
27167         * math/divtc3.c: Use __isinf_nsl instead of isinf.
27168         * math/multc3.c: Likewise.
27169         * math/s_casin.c: Likewise.
27170         * math/s_casinf.c: Likewise.
27171         * math/s_casinl.c: Likewise.
27172         * math/s_ccos.c: Likewise.
27173         * math/s_ccosf.c: Likewise.
27174         * math/s_ccosl.c: Likewise.
27175         * math/s_ctan.c: Likewise.
27176         * math/s_ctanf.c: Likewise.
27177         * math/s_ctanh.c: Likewise.
27178         * math/s_ctanhf.c: Likewise.
27179         * math/s_ctanhl.c: Likewise.
27180         * math/s_ctanl.c: Likewise.
27181         * math/w_fmod.c: Likewise.
27182         * math/w_fmodf.c: Likewise.
27183         * math/w_fmodl.c: Likewise.
27184         * math/w_remainder.c: Likewise.
27185         * math/w_remainderf.c: Likewise.
27186         * math/w_remainderl.c: Likewise.
27187         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27188         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27189         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27190         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27191         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27192         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27193         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27194         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27195
27196         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27197         of the number.
27198         * stdio-common/printf_fphex.c: Likewise.
27199         * stdio-common/printf_size.c: Likewise.
27200
27201         * math/e_exp10.c: Include math_private.h using <...> not "...".
27202         * math/e_exp10f.c: Likewise.
27203         * math/e_exp10l.c: Likewise.
27204         * math/e_exp2l.c: Likewise.
27205         * math/e_j0l.c: Likewise.
27206         * math/e_j1l.c: Likewise.
27207         * math/e_jnl.c: Likewise.
27208         * math/e_lgammal_r.c: Likewise.
27209         * math/e_rem_pio2l.c: Likewise.
27210         * math/e_scalb.c: Likewise.
27211         * math/e_scalbf.c: Likewise.
27212         * math/e_scalbl.c: Likewise.
27213         * math/k_cosl.c: Likewise.
27214         * math/k_sinl.c: Likewise.
27215         * math/k_tanl.c: Likewise.
27216         * math/s_cacoshf.c: Likewise.
27217         * math/s_catan.c: Likewise.
27218         * math/s_catanf.c: Likewise.
27219         * math/s_catanh.c: Likewise.
27220         * math/s_catanhf.c: Likewise.
27221         * math/s_catanhl.c: Likewise.
27222         * math/s_catanl.c: Likewise.
27223         * math/s_ccosh.c: Likewise.
27224         * math/s_ccoshf.c: Likewise.
27225         * math/s_ccoshl.c: Likewise.
27226         * math/s_cexp.c: Likewise.
27227         * math/s_cexpf.c: Likewise.
27228         * math/s_cexpl.c: Likewise.
27229         * math/s_clog.c: Likewise.
27230         * math/s_clog10.c: Likewise.
27231         * math/s_clog10f.c: Likewise.
27232         * math/s_clog10l.c: Likewise.
27233         * math/s_clogf.c: Likewise.
27234         * math/s_clogl.c: Likewise.
27235         * math/s_csin.c: Likewise.
27236         * math/s_csinf.c: Likewise.
27237         * math/s_csinh.c: Likewise.
27238         * math/s_csinhf.c: Likewise.
27239         * math/s_csinhl.c: Likewise.
27240         * math/s_csinl.c: Likewise.
27241         * math/s_csqrt.c: Likewise.
27242         * math/s_csqrtf.c: Likewise.
27243         * math/s_csqrtl.c: Likewise.
27244         * math/s_ctan.c: Likewise.
27245         * math/s_ctanf.c: Likewise.
27246         * math/s_ctanh.c: Likewise.
27247         * math/s_ctanhf.c: Likewise.
27248         * math/s_ctanhl.c: Likewise.
27249         * math/s_ctanl.c: Likewise.
27250         * math/s_ldexp.c: Likewise.
27251         * math/s_ldexpf.c: Likewise.
27252         * math/s_ldexpl.c: Likewise.
27253         * math/s_significand.c: Likewise.
27254         * math/s_significandf.c: Likewise.
27255         * math/s_significandl.c: Likewise.
27256         * math/w_acos.c: Likewise.
27257         * math/w_acosf.c: Likewise.
27258         * math/w_acosh.c: Likewise.
27259         * math/w_acoshf.c: Likewise.
27260         * math/w_acoshl.c: Likewise.
27261         * math/w_acosl.c: Likewise.
27262         * math/w_asin.c: Likewise.
27263         * math/w_asinf.c: Likewise.
27264         * math/w_asinl.c: Likewise.
27265         * math/w_atan2.c: Likewise.
27266         * math/w_atan2f.c: Likewise.
27267         * math/w_atan2l.c: Likewise.
27268         * math/w_atanh.c: Likewise.
27269         * math/w_atanhf.c: Likewise.
27270         * math/w_atanhl.c: Likewise.
27271         * math/w_cosh.c: Likewise.
27272         * math/w_coshf.c: Likewise.
27273         * math/w_coshl.c: Likewise.
27274         * math/w_dremf.c: Likewise.
27275         * math/w_exp10.c: Likewise.
27276         * math/w_exp10f.c: Likewise.
27277         * math/w_exp10l.c: Likewise.
27278         * math/w_exp2.c: Likewise.
27279         * math/w_exp2f.c: Likewise.
27280         * math/w_fmod.c: Likewise.
27281         * math/w_fmodf.c: Likewise.
27282         * math/w_fmodl.c: Likewise.
27283         * math/w_hypot.c: Likewise.
27284         * math/w_hypotf.c: Likewise.
27285         * math/w_hypotl.c: Likewise.
27286         * math/w_j0.c: Likewise.
27287         * math/w_j0f.c: Likewise.
27288         * math/w_j0l.c: Likewise.
27289         * math/w_j1.c: Likewise.
27290         * math/w_j1f.c: Likewise.
27291         * math/w_j1l.c: Likewise.
27292         * math/w_jn.c: Likewise.
27293         * math/w_jnf.c: Likewise.
27294         * math/w_jnl.c: Likewise.
27295         * math/w_lgamma.c: Likewise.
27296         * math/w_lgamma_r.c: Likewise.
27297         * math/w_lgammaf.c: Likewise.
27298         * math/w_lgammaf_r.c: Likewise.
27299         * math/w_lgammal.c: Likewise.
27300         * math/w_lgammal_r.c: Likewise.
27301         * math/w_log.c: Likewise.
27302         * math/w_log10.c: Likewise.
27303         * math/w_log10f.c: Likewise.
27304         * math/w_log10l.c: Likewise.
27305         * math/w_log2.c: Likewise.
27306         * math/w_log2f.c: Likewise.
27307         * math/w_log2l.c: Likewise.
27308         * math/w_logf.c: Likewise.
27309         * math/w_logl.c: Likewise.
27310         * math/w_pow.c: Likewise.
27311         * math/w_powf.c: Likewise.
27312         * math/w_powl.c: Likewise.
27313         * math/w_remainder.c: Likewise.
27314         * math/w_remainderf.c: Likewise.
27315         * math/w_remainderl.c: Likewise.
27316         * math/w_scalb.c: Likewise.
27317         * math/w_scalbf.c: Likewise.
27318         * math/w_scalbl.c: Likewise.
27319         * math/w_sinh.c: Likewise.
27320         * math/w_sinhf.c: Likewise.
27321         * math/w_sinhl.c: Likewise.
27322         * math/w_sqrt.c: Likewise.
27323         * math/w_sqrtf.c: Likewise.
27324         * math/w_sqrtl.c: Likewise.
27325         * math/w_tgamma.c: Likewise.
27326         * math/w_tgammaf.c: Likewise.
27327         * math/w_tgammal.c: Likewise.
27328
27329         * po/ja.po: Update from translation team.
27330
27331 2011-09-29  Andreas Jaeger  <aj@suse.de>
27332
27333         [BZ #13179]
27334         * sunrpc/netname.c (netname2host): Fix logic.
27335
27336         [BZ #6779]
27337         [BZ #6783]
27338         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27339         correctly.
27340         * math/w_remainder.c (__remainder): Likewise.
27341         * math/w_remainderf.c (__remainderf): Likewise.
27342         * math/libm-test.inc (remainder_test): Add test cases.
27343
27344 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27345
27346         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
27347         sdiv_qrnnd.
27348
27349 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
27350
27351         * string/test-memcmp.c: Avoid unncessary #defines.
27352         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27353
27354 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27355
27356         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27357         Use new sse2 version for core i3 - i7 as it's faster
27358         than sse42 version.
27359         (bit_Prefer_PMINUB_for_stringop): New.
27360         * sysdeps/x86_64/rawmemchr.S: Update.
27361         Replace with faster SSE2 version.
27362         * sysdeps/x86_64/memrchr.S: New file.
27363         * sysdeps/x86_64/memchr.S: Update.
27364         Replace with faster SSE2 version.
27365
27366 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
27367
27368         * elf/dl-load.c (lose): Add cast to avoid warning.
27369
27370 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
27371
27372         * po/ca.po: Update from translation team.
27373
27374         * inet/getnetgrent_r.c: Hook up nscd.
27375         * nscd/Makefile (routines): Add nscd_netgroup.
27376         (nscd-modules): Add netgroupcache.
27377         (CFLAGS-netgroupcache.c): Define.
27378         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27379         (cache_search): Add const to second parameter.
27380         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27381         INNETGR.
27382         (dbs): Add netgrdb entry.
27383         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27384         (verify_persistent_db): Handle netgrdb.
27385         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27386         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27387         GETFDNETGR.
27388         (netgroup_response_header): Define.
27389         (innetgroup_response_header): Define.
27390         (datahead): Add netgroup_response_header and innetgroup_response_header
27391         elements.
27392         * nscd/nscd.conf: Add entries for netgroup cache.
27393         * nscd/nscd.h (dbtype): Add netgrdb.
27394         (_PATH_NSCD_NETGROUP_DB): Define.
27395         (netgroup_iov_disabled): Declare.
27396         (xmalloc, xcalloc, xrealloc): Move declarations here.
27397         (cache_search): Adjust prototype.
27398         Add netgroup-related prototypes.
27399         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27400         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27401         (__nscd_innetgr): Declare.
27402         * nscd/selinux.c (perms): Use access_vector_t as element type and
27403         add netgroup-related initializers.
27404         * nscd/netgroupcache.c: New file.
27405         * nscd/nscd_netgroup.c: New file.
27406         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27407         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27408         For four parameters use innetgr.
27409         * nss/nss_files/files-init.c: Add definition and callback for netgr.
27410         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27411         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27412         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27413
27414         * nscd/connections.c (register_traced_file): Don't register file
27415         for disabled databases.
27416
27417 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
27418
27419         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27420
27421         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27422         from tree and freeing node.
27423
27424 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
27425
27426         * nss/nsswitch.c (__nss_database_lookup): Handle
27427         nss_parse_service_list out of memory case.
27428
27429 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
27430
27431         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27432         out of memory case.
27433
27434 2011-10-04  Andreas Schwab  <schwab@redhat.com>
27435
27436         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27437         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27438         pass it down.
27439         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27440         elf_machine_rela, elf_machine_lazy_rel.
27441         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27442         (ELF_DYNAMIC_DO_REL): Likewise.
27443         (ELF_DYNAMIC_DO_RELA): Likewise.
27444         (ELF_DYNAMIC_RELOCATE): Likewise.
27445         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27446         to ELF_DYNAMIC_DO_REL.
27447         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27448         (dl_main): In trace mode always set __RTLD_NOIFUNC.
27449         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27450         elf_machine_rela.
27451         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27452         skip_ifunc, don't call ifunc function if non-zero.
27453         (elf_machine_rela): Likewise.
27454         (elf_machine_lazy_rel): Likewise.
27455         (elf_machine_lazy_rela): Likewise.
27456         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27457         (elf_machine_lazy_rel): Likewise.
27458         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27459         Likewise.
27460         (elf_machine_lazy_rel): Likewise.
27461         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27462         Likewise.
27463         (elf_machine_lazy_rel): Likewise.
27464         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27465         (elf_machine_lazy_rel): Likewise.
27466         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27467         (elf_machine_lazy_rel): Likewise.
27468         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27469         (elf_machine_lazy_rel): Likewise.
27470         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27471         (elf_machine_lazy_rel): Likewise.
27472         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27473         (elf_machine_lazy_rel): Likewise.
27474         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27475         (elf_machine_lazy_rel): Likewise.
27476
27477 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
27478
27479         * nss/nss_files/files-init.c (_nss_files_init): Use static
27480         initialization for all the *_traced_file variables.
27481
27482 2011-09-28  Andreas Schwab  <schwab@redhat.com>
27483
27484         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27485
27486 2011-09-27  Roland McGrath  <roland@hack.frob.com>
27487
27488         [BZ #13226]
27489         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27490
27491 2011-09-27  Andreas Schwab  <schwab@redhat.com>
27492
27493         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27494         Reread the line before reparsing it.
27495
27496 2011-09-26  Andreas Schwab  <schwab@redhat.com>
27497
27498         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27499
27500 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
27501             Maxim Kuvyrkov  <maxim@codesourcery.com>
27502             Joseph Myers  <joseph@codesourcery.com>
27503
27504         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27505         if needed for __stack_chk_guard.
27506
27507 2011-09-19  Roland McGrath  <roland@hack.frob.com>
27508
27509         * sysdeps/posix/spawni.c (script_execute): Always define it.
27510         It will be optimized away if unused.
27511         (maybe_script_execute): New function.
27512         (__spawni): Call it.
27513
27514         * Makerules: Don't include tls.make.
27515         (config-tls): Always set to thread.
27516         * tls.make.c: File removed.
27517
27518 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
27519
27520         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27521         * config.make.in (CPPFLAGS-config): New substituted variable.
27522
27523 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
27524
27525         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27526
27527         [BZ #13192]
27528         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27529         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27530
27531 2011-09-15  Roland McGrath  <roland@hack.frob.com>
27532
27533         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27534         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27535         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27536         (CALL_FAIL): Likewise.
27537         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27538         (CALL_FAIL): Macro removed.
27539         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27540
27541 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
27542
27543         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27544         for __FINITE_MATH_ONLY__ == 1.
27545
27546 2011-09-15  Andreas Schwab  <schwab@redhat.com>
27547
27548         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27549         __ieee754_sqrt instead of sqrt.
27550         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27551         __ieee754_sqrtf instead of sqrtf.
27552         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27553         __floorf instead of floorf.
27554         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27555         __floorf, __truncf instead of floorf, truncf.
27556
27557 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
27558
27559         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27560
27561         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27562         __extern_always_inline.
27563         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27564         32-bit.
27565
27566 2011-09-14  Andreas Schwab  <schwab@redhat.com>
27567
27568         * elf/rtld.c (dl_main): Also relocate in dependency order when
27569         doing symbol dependency testing.
27570
27571 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
27572
27573         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27574         Always define `refsym'.
27575
27576 2011-09-13  Andreas Schwab  <schwab@redhat.com>
27577
27578         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27579         (__FD_ELT): Renamed from __FDELT.
27580         * misc/bits/select2.h (__FD_ELT): Likewise.
27581         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27582         __FD_MASK instead of __FDELT, __FDMASK.
27583         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27584         Likewise.
27585         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27586         Likewise.
27587
27588         * elf/Makefile (gen-ldd): Fix pattern.
27589
27590         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27591         (init_tls): Likewise.
27592
27593 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
27594
27595         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27596
27597 2011-09-12  Andreas Schwab  <schwab@redhat.com>
27598
27599         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27600         `struct cmsghdr *' instead of `void *'.
27601         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27602         Likewise.
27603
27604 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
27605
27606         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27607         if non-absolute.
27608         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27609         ldd_rewrite_script.
27610
27611 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
27612
27613         * configure.in: Remove --with-tls option.
27614         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27615         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27616         out in case it is missing.
27617         * sysdeps/ia64/elf/configure.in: Likewise.
27618         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27619         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27620         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27621         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27622         * sysdeps/sh/elf/configure.in: Likewise.
27623         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27624         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27625         * sysdeps/x86_64/elf/configure.in: Likewise.
27626         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27627         * sysdeps/mach/hurd/tls.h: Likewise.
27628
27629         [BZ #13067]
27630         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27631
27632         [BZ #13090]
27633         * configure.in: Fix use of AC_INIT.
27634
27635         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27636
27637 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
27638
27639         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27640         __set_errno.
27641         * malloc/hooks.c: Likewise.
27642
27643         [BZ #11929]
27644         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
27645         variables statically.
27646         (narenas): Initialize.
27647         (list_lock): Initialize.
27648         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
27649         initializtion of main_arena and list_lock.  Small cleanups.
27650         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27651         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
27652         Add initializers to main_arena and mp_.
27653         (malloc_state): Remove pagesize member.  Change all users to use
27654         GLRO(dl_pagesize).
27655
27656         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27657         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
27658         is always initialized.
27659
27660         * malloc/malloc.c: Removed unused configurations and dead code.
27661         * malloc/arena.c: Likewise.
27662         * malloc/hooks.c: Likewise.
27663         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
27664
27665         * include/tls.h: Removed.  USE___THREAD must always be defined.
27666         * bits/libc-tsd.h: Don't handle !USE___THREAD.
27667         * elf/dl-libc.c: Likewise.
27668         * elf/dl-tsd.c: Likewise.
27669         * include/errno.h: Likewise.
27670         * include/netdb.h: Likewise.
27671         * include/resolv.h: Likewise.
27672         * inet/herrno-loc.c: Likewise.
27673         * inet/herrno.c: Likewise.
27674         * malloc/arena.c: Likewise.
27675         * malloc/hooks.c: Likewise.
27676         * malloc/malloc.c: Likewise.
27677         * resolv/res-state.c: Likewise.
27678         * resolv/res_libc.c: Likewise.
27679         * sysdeps/i386/dl-machine.h: Likewise.
27680         * sysdeps/ia64/dl-machine.h: Likewise.
27681         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27682         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27683         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27684         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27685         * sysdeps/sh/dl-machine.h: Likewise.
27686         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27687         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27688         * sysdeps/unix/i386/sysdep.S: Likewise.
27689         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27690         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27691         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27692         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27693         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27694         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27695         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27696         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27697         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27698         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27699         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27700         * sysdeps/x86_64/dl-machine.h: Likewise.
27701         * tls.make.c: Likewise.
27702
27703         * configure.in: Remove --with-__thread option.  Make tests for
27704         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27705         tls_model attribute fail if no support is available.  Remove
27706         USE_IN_LIBIO.
27707         * Makeconfig: Adjust for dropped configure option.  All features are
27708         now mandatory.
27709         * Makerules: Likewise.
27710         * Versions.def: Likewise.
27711         * argp/argp-fmtstream.c: Likewise.
27712         * argp/argp-fmtstream.h: Likewise.
27713         * argp/argp-help.c: Likewise.
27714         * assert/assert.c: Likewise.
27715         * config.h.in: Likewise.
27716         * config.make.in: Likewise.
27717         * configure: Likewise.
27718         * configure.in: Likewise.
27719         * csu/Versions: Likewise.
27720         * csu/init.c: Likewise.
27721         * elf/tst-audit2.c: Likewise.
27722         * elf/tst-tls10.c: Likewise.
27723         * elf/tst-tls10.h: Likewise.
27724         * elf/tst-tls11.c: Likewise.
27725         * elf/tst-tls12.c: Likewise.
27726         * elf/tst-tls14.c: Likewise.
27727         * elf/tst-tlsmod11.c: Likewise.
27728         * elf/tst-tlsmod12.c: Likewise.
27729         * elf/tst-tlsmod13.c: Likewise.
27730         * elf/tst-tlsmod13a.c: Likewise.
27731         * elf/tst-tlsmod14a.c: Likewise.
27732         * elf/tst-tlsmod15b.c: Likewise.
27733         * elf/tst-tlsmod16a.c: Likewise.
27734         * elf/tst-tlsmod16b.c: Likewise.
27735         * elf/tst-tlsmod7.c: Likewise.
27736         * elf/tst-tlsmod8.c: Likewise.
27737         * elf/tst-tlsmod9.c: Likewise.
27738         * gmon/gmon.c: Likewise.
27739         * grp/fgetgrent_r.c: Likewise.
27740         * grp/putgrent.c: Likewise.
27741         * hurd/fopenport.c: Likewise.
27742         * include/libc-symbols.h: Likewise.
27743         * include/tls.h: Likewise.
27744         * intl/gettextP.h: Likewise.
27745         * intl/loadinfo.h: Likewise.
27746         * locale/global-locale.c: Likewise.
27747         * locale/localeinfo.h: Likewise.
27748         * mach/devstream.c: Likewise.
27749         * malloc/arena.c: Likewise.
27750         * malloc/set-freeres.c: Likewise.
27751         * misc/err.c: Likewise.
27752         * misc/getttyent.c: Likewise.
27753         * misc/mntent_r.c: Likewise.
27754         * posix/getopt.c: Likewise.
27755         * posix/wordexp.c: Likewise.
27756         * pwd/fgetpwent_r.c: Likewise.
27757         * resolv/Versions: Likewise.
27758         * resolv/res_hconf.c: Likewise.
27759         * shadow/fgetspent_r.c: Likewise.
27760         * shadow/putspent.c: Likewise.
27761         * stdio-common/printf_fphex.c: Likewise.
27762         * stdio-common/tmpfile.c: Likewise.
27763         * stdlib/abort.c: Likewise.
27764         * stdlib/fmtmsg.c: Likewise.
27765         * sunrpc/auth_unix.c: Likewise.
27766         * sunrpc/clnt_perr.c: Likewise.
27767         * sunrpc/clnt_tcp.c: Likewise.
27768         * sunrpc/clnt_udp.c: Likewise.
27769         * sunrpc/clnt_unix.c: Likewise.
27770         * sunrpc/openchild.c: Likewise.
27771         * sunrpc/svc_simple.c: Likewise.
27772         * sunrpc/svc_tcp.c: Likewise.
27773         * sunrpc/svc_udp.c: Likewise.
27774         * sunrpc/svc_unix.c: Likewise.
27775         * sunrpc/xdr.c: Likewise.
27776         * sunrpc/xdr_array.c: Likewise.
27777         * sunrpc/xdr_rec.c: Likewise.
27778         * sunrpc/xdr_ref.c: Likewise.
27779         * sunrpc/xdr_stdio.c: Likewise.
27780
27781 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27782
27783         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27784
27785 2011-07-03  Andreas Jaeger  <aj@suse.de>
27786
27787         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27788         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27789         regenerate with gen-libm-tests.pl.
27790
27791 2010-05-12  Petr Baudis  <pasky@suse.cz>
27792
27793         [BZ #11589]
27794         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27795         around j0() zero points by switching to j1().
27796         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27797         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27798         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27799         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27800
27801 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27802
27803         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27804         instead of 0.
27805         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
27806         instead of 0.
27807         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27808         Patch in part by Pavel Roskin <proski@gnu.org>.
27809
27810         [BZ #13138]
27811         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27812         realloc.
27813         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
27814         Free memory block if necessary.
27815
27816         [BZ #12847]
27817         * libio/genops.c (INTDEF): For string streams the _lock pointer can
27818         be NULL.  Don't lock in this case.
27819
27820 2011-09-09  Roland McGrath  <roland@hack.frob.com>
27821
27822         * elf/elf.h (ELFOSABI_GNU): New macro.
27823         (ELFOSABI_LINUX): Define to that.
27824
27825 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
27826
27827         * string/strncat.c (strncat): Undef the symbol in case it has been
27828         defined in bits/string.h.
27829
27830 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27831
27832         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27833
27834         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
27835         link map.
27836
27837 2011-08-17  Andreas Jaeger  <aj@suse.de>
27838
27839         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27840
27841 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27842             Ian Lance Taylor  <iant@google.com>
27843
27844         * math/libm-test.inc (lround_test): New testcase.
27845         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27846
27847 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
27848
27849         * Makefile: Remove support for automatic cvs check-ins.
27850         * Makerules: Likewise.
27851         * config.make.in: Likewise.
27852         * configure.in: Likewise.
27853         * intl/Makefile: Likewise.
27854         * locale/Makefile: Likewise.
27855         * po/Makefile: Likewise.
27856         * posix/Makefile: Likewise.
27857         * sysdeps/gnu/Makefile: Likewise.
27858         * sysdeps/mach/hurd/Makefile: Likewise.
27859         * sysdeps/sparc/sparc32/Makefile: Likewise.
27860
27861         [BZ #13118]
27862         * posix/Makefile (bug-regex32-ENV): Define.
27863         Patch by John Stanley <jpsinthemix@verizon.net>.
27864
27865         * misc/Makefile (headers): Add bits/select2.h.
27866         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27867         * misc/bits/select2.h: New file.
27868         * include/bits/select2.h: New file.
27869         * debug/Makefile (routines): Add fdelt_chk.
27870         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27871         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27872         FD_ISSET.
27873         * debug/fdelt_chk.c: New file.
27874
27875         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
27876         * wcsmbs/test-wmemcmp.c: Likewise.
27877         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
27878         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
27879
27880 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27881
27882         * string/Makefile (strop-tests): Add memcmp.
27883         * string/test-wmemcmp.c: New file.
27884         * string/test-memcmp.c: Add wmemcmp support.
27885
27886 2011-09-08  Roland McGrath  <roland@hack.frob.com>
27887
27888         [BZ #13153]
27889         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27890         2011-07-19 change.
27891
27892         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27893         garbage value in a __mach_port_mod_refs call in the cases of the
27894         task-self and thread-self ports.
27895
27896 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27897
27898         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27899
27900 2011-09-08  Andreas Schwab  <schwab@redhat.com>
27901
27902         * elf/dl-load.c (lose): Check for non-null L.
27903
27904 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
27905
27906         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27907
27908         * elf/dl-libc.c (dlerror_run): Pass back error code from
27909         dl_catch_error.
27910
27911         [BZ #13123]
27912         * elf/dl-load.c (lose): Free l_origin if it is valid.
27913
27914         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27915         names.
27916         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27917         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27918         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27919         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27920         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27921         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27922
27923 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27924
27925         * sysdeps/powerpc/fpu/e_hypot.c: New file.
27926         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27927         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27928         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27929         * sysdeps/powerpc/fpu/k_cosf.c: New file.
27930         * sysdeps/powerpc/fpu/k_sinf.c: New file.
27931         * sysdeps/powerpc/fpu/s_cosf.c: New file.
27932         * sysdeps/powerpc/fpu/s_sinf.c: New file.
27933         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27934         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27935
27936 2011-08-15  Alan Modra  <amodra@gmail.com>
27937
27938         [BZ #13092]
27939         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27940         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27941         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
27942         ppc_mcount to static-only-routines.
27943         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27944         __mcount_internal.
27945         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27946         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
27947
27948 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
27949
27950         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27951         for finite and infinity parameters.
27952
27953 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27954
27955         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27956         and add nop instructions for throughput optimization.
27957         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27958
27959 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
27960
27961         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27962         aligned copy for power7 with vector-scalar instructions.
27963         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27964
27965 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
27966
27967         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27968         AVX check.
27969
27970 2011-09-07  Andreas Schwab  <schwab@redhat.com>
27971
27972         [BZ #13144]
27973         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27974         last change.
27975
27976 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
27977
27978         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27979         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27980         syscall wrapper around clock_gettime in __vdso_clock_gettime.
27981         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27982         clock_gettime.
27983
27984 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
27985
27986         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27987         Forgot to demangle the pointer.
27988
27989         * sysdeps/i386/sysdep.h: Define atom_text_section.
27990         * sysdeps/x86_64/sysdep.h: Likewise.
27991         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27992         section with atom_text_section.
27993         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27994         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27995         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27996         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27997         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27998
27999         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28000         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28001         already be defined.  Change to take two parameters and don't assign
28002         result to variable.  Adjust all users.
28003         Define INTERNAL_GETTIME if not already defined.
28004         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28005         call.
28006         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28007         HAVE_CLOCK_GETTIME_VSYSCALL.
28008         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28009
28010         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28011         gettimeofday vsyscall, just use time.
28012
28013 2011-09-06  Andreas Schwab  <schwab@redhat.com>
28014
28015         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28016         <errno.h>.
28017
28018 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
28019
28020         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28021         syscall on x86-64.
28022         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28023         syscall.
28024         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28025         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28026         syscall if possible.
28027
28028 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
28029
28030         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28031         e_ident.  Don't pass to find_mapsXX.
28032         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28033
28034 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28035
28036         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28037         strchr-sse2-no-bsf strrchr-sse2-no-bsf
28038         * sysdeps/x86_64/multiarch/strchr.S: Update.
28039         Check bit_slow_BSF bit.
28040         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28041         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28042         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28043
28044 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
28045
28046         [BZ #13134]
28047         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28048         before glibc 2.15.
28049         (tryshell): Define.
28050         (__spawni): Change last parameter to be flag.  Test
28051         SPAWN_XFLAGS_USE_PATH flag to use path or not.
28052         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28053         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28054         * posix/spawni.c: Likewise.
28055         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28056         * posix/spawnp.c: Likewise.  Change normal version to use
28057         SPAWN_XFLAGS_USE_PATH.
28058         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28059         SPAWN_XFLAGS_TRY_SHELL.
28060
28061         [BZ #13150]
28062         * posix/glob.h: Remove gcc 1.x support.
28063
28064         [BZ #13068]
28065         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28066
28067 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28068
28069         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28070         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28071         strrchr-sse2-bsf
28072         * sysdeps/i386/i686/multiarch/strchr.S: New file.
28073         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28074         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28075         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28076         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28077         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28078
28079 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28080
28081         * sysdeps/x86_64/wcscmp.S: New file.
28082
28083         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28084         wcscmp-c wcscmp-sse2
28085         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28086         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28087         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28088         * wcsmbs/wcscmp.c: Allow renaming.
28089
28090 2011-09-05  David S. Miller  <davem@davemloft.net>
28091
28092         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28093         stack slot, rather than the struct return pointer slot.
28094         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28095         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28097         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28098
28099 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
28100
28101         * po/ja.po: Update from translation team.
28102
28103         [BZ #13144]
28104         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28105         kernel in 64-bit binaries.
28106
28107 2011-09-01  David S. Miller  <davem@davemloft.net>
28108
28109         * elf/elf.h (HWCAP_SPARC_*): Move to..
28110         * sysdeps/sparc/sysdep.h: this new file and add new values.
28111         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28112         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28113         _DL_HWCAP_COUNT to 24.
28114         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28115         entries.
28116         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28117         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28118         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28119         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28120         instead of magic constants.
28121         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28122
28123 2011-08-31  David S. Miller  <davem@davemloft.net>
28124
28125         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28126         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28127         Reimplement to do errno handling inline.
28128         (SYSCALL_ERROR_HANDLER): New macro.
28129         (__SYSCALL_STRING): Do not do errno handling in asm.
28130         (__CLONE_SYSCALL_STRING): Delete.
28131         (__INTERNAL_SYSCALL_STRING): Delete.
28132         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28133         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28134         (PSEUDO): Reimplement to do errno handling inline.
28135         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28136         (SYSCALL_ERROR_HANDLER): New macro.
28137         (__SYSCALL_STRING): Do not do errno handling in asm.
28138         (__CLONE_SYSCALL_STRING): Delete.
28139         (__INTERNAL_SYSCALL_STRING): Delete.
28140         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28141         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28142         i386.
28143         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28144         (inline_syscall*): Add 'err' argument.
28145         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28146         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28147         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28148         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28149
28150         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28151         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28152
28153 2011-08-30  Andreas Schwab  <schwab@redhat.com>
28154
28155         * elf/rtld.c (dl_main): Relocate objects in dependency order.
28156
28157 2011-08-29  Jiri Olsa <jolsa@redhat.com>
28158
28159         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28160         directive.
28161
28162 2011-08-24  David S. Miller  <davem@davemloft.net>
28163
28164         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28165
28166 2011-08-24  Andreas Schwab  <schwab@redhat.com>
28167
28168         * elf/Makefile: Add rules to build and run unload8 test.
28169         * elf/unload8.c: New file.
28170         * elf/unload8mod1.c: New file.
28171         * elf/unload8mod1x.c: New file.
28172         * elf/unload8mod2.c: New file.
28173         * elf/unload8mod3.c: New file.
28174
28175         * elf/dl-close.c (_dl_close_worker): Reset private search list if
28176         it wasn't used.
28177
28178 2011-08-23  David S. Miller  <davem@davemloft.net>
28179
28180         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28181         subtract stack bias.
28182         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28183         %sp not %fp in calculations.
28184         (_JMPBUF_UNWINDS_ADJ): Likewise.
28185
28186         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28187         (aio_suspend): Call it to force an exception region around the
28188         AIO_MISC_WAIT() invocation.
28189
28190 2011-08-23  Andreas Schwab  <schwab@redhat.com>
28191
28192         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28193         backslash.
28194
28195 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
28196
28197         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28198         protection macro.
28199         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28200         and <dl-machine.h>.
28201         (Elf64_FuncDesc): Remove.
28202
28203 2011-08-22  David S. Miller  <davem@davemloft.net>
28204
28205         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28206         sigaltstack check, add missing cfi directives.
28207         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28208         missing cfi directives, and sigaltstack handling.
28209
28210 2011-08-16  Andreas Schwab  <schwab@redhat.com>
28211
28212         [BZ #11724]
28213         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28214         object is seen twice.
28215         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28216
28217         * elf/Makefile (distribute): Add tst-initorder2.c.
28218         (tests): Add tst-initorder2.
28219         (modules-names): Add tst-initorder2a tst-initorder2b
28220         tst-initorder2c tst-initorder2d.  Add rules to build them.
28221         ($(objpfx)tst-initorder2.out): New rule.
28222         * elf/tst-initorder2.c: New file.
28223         * elf/tst-initorder2.exp: New file.
28224
28225 2011-08-22  Andreas Schwab  <schwab@redhat.com>
28226
28227         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28228
28229         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28230         dependencies back to end of function.
28231
28232         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28233         $(elfobjdir)/ld.so.
28234
28235 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
28236
28237         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28238         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28239         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28240         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28241         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28242         of __vdso_gettimeofday.
28243         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28244         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
28245         attribute_hidden.
28246         (_libc_vdso_platform_setup): Remove initialization of
28247         __vdso_gettimeofday and __vdso_time.
28248
28249 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
28250
28251         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28252         and fgetc_unlocked.
28253         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28254         getc_unlocked.
28255
28256         * elf/dl-open.c (add_to_global): Report additions to the global scope
28257         for LD_DEBUG=scopes.
28258         (dl_open_worker): Also print scope of newly loaded dependencies.
28259         (_dl_show_scope): Indicate if there is no scope.
28260
28261         [BZ #13114]
28262         * stdio-common/Makefile (tests): Add bug24.
28263         * stdio-common/bug24.c: New file.
28264
28265 2011-08-19  Andreas Jaeger  <aj@suse.de>
28266
28267         [BZ #13114]
28268         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28269         non-existant file when using close-on-exec mode.
28270
28271 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
28272
28273         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28274         the very first instruction.
28275
28276         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28277         the CFI state in the end.
28278         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28279         inclusion of dl-trampoline.h.
28280         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28281
28282 2011-08-19  Andreas Schwab  <schwab@redhat.com>
28283
28284         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28285         expectations for long double.
28286
28287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28288         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28289
28290 2011-08-14  David S. Miller  <davem@davemloft.net>
28291
28292         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28293         artificual limit depends upon the system page size.
28294
28295 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
28296
28297         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28298         * resolv/Makefile: Define CFLAGS-libresolv.
28299
28300 2011-08-17  Andreas Schwab  <schwab@redhat.com>
28301
28302         * nss/makedb.c (compute_tables): Make variables used in nested
28303         function static.
28304
28305 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
28306
28307         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28308         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28309         if buffer was too small.
28310
28311         * elf/pldd.c (main): Attach to all threads in the process.
28312         Rewrite /proc handling to use *at functions.
28313
28314 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
28315
28316         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28317         specifies first scope to show.
28318         (dl_open_worker): Update callers.  Move printing scope of new
28319         object to before the relocation.
28320         * elf/rtld.c (dl_main): Update _dl_show_scope call.
28321         * sysdeps/generic/ldsodefs.h: Update declaration.
28322
28323         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28324         string for the scope number.
28325
28326 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
28327
28328         * nscd/servicescache.c (cache_addserv): Make sure written is always
28329         initialized.
28330
28331 2011-08-14  Roland McGrath  <roland@hack.frob.com>
28332
28333         * sysdeps/i386/i486/bits/atomic.h
28334         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28335         statement expression, so as to suppress "set but not used" warning.
28336         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28337
28338         * string/strncat.c (STRNCAT): Use prototype definition.
28339
28340         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28341         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28342         -Iprograms here.
28343         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28344         (localedef-modules): Add localedef.
28345         (locale-modules): Add locale.
28346
28347         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28348         * elf/rtld.c (dl_main): Invert order of assignment in last change,
28349         to avoid a warning.
28350
28351 2011-08-14  David S. Miller  <davem@davemloft.net>
28352
28353         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28354         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28355
28356 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
28357
28358         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28359         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28360         * elf/rtld.c (dl_main): Set l_name of vDSO.
28361         Call _dl_show_scope when DL_DEBUG_SCOPES.
28362         (process_dl_debug): Recognize scopes flag and also set it for all.
28363         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28364         Declare _dl_show_scope.
28365
28366         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28367         (do_dlopen): Pass caller_dlopen to dl_open.
28368         (__libc_dlopen_mode): Initialize caller_dlopen.
28369
28370         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28371         of libc.  Make tolower call locale-independent.  Optimize a bit by
28372         using isdigit instead of isalnum.
28373         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28374
28375 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
28376
28377         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28378         was a dependency or dynamically loaded.
28379
28380 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
28381
28382         * intl/l10nflist.c: Allow architecture-specific pop function.
28383         * sysdeps/x86_64/l10nflist.c: New file.
28384
28385         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28386         classification.
28387
28388 2011-08-10  Andreas Schwab  <schwab@redhat.com>
28389
28390         * include/dirent.h: Add libc_hidden_proto for scandirat and
28391         scandirat64.  Don't declare __scandirat64.
28392         * dirent/scandirat.c: Add libc_hidden_def.
28393         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28394         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28395
28396 2011-08-10  David S. Miller  <davem@davemloft.net>
28397
28398         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28399         enum.
28400         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28401         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28402         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28403
28404 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
28405
28406         * Versions.def [libc]: Add GLIBC_2.15.
28407         * dirent/Makefile (routines): Add scandirat and scandirat64.
28408         * dirent/Versions [libc]: Export scandirat and scandirat64 for
28409         GLIBC_2.15.
28410         * dirent/dirent.h: Declare scandirat and scandirat64.
28411         * dirent/scandirat.c: New file.
28412         * dirent/scandirat64.c: New file.
28413         * sysdeps/wordsize-64/scandirat.c: New file.
28414         * sysdeps/wordsize-64/scandirat64.c: New file.
28415         * dirent/opendir.c: Define opendirat.
28416         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
28417         using scandirat.
28418         * dirent/scandir64.c: Adjust for scandir.c change.
28419         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
28420         __scandirat64, and __scandir_cancel_handler.
28421         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
28422         additional parameter and use openat instead of open (outside of ld.so).
28423         Add new __opendir as wrapper around __opendirat.
28424         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28425         here without requiring old scandirat implementation.
28426
28427 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
28428
28429         * dirent/scandir.c (cancel_handler): Renamed to
28430         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
28431         defined.  Adjust users.
28432         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28433         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28434
28435 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
28436
28437         * string/test-string.h (IMPL): Use __STRING to expand name and then
28438         stringify it.
28439
28440         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
28441         of cleanups.
28442
28443 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28444
28445         * string/Makefile: Update.
28446         (strop-tests): Append strncat.
28447         * string/test-wcscmp.c: New file.
28448         New comprehensive test for wcscmp.
28449         * string/test-strcmp.c: Update.
28450         (WIDE): New define.
28451
28452 2011-07-22  Andreas Schwab  <schwab@redhat.com>
28453
28454         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28455         line.
28456
28457 2011-07-26  Andreas Schwab  <schwab@redhat.com>
28458
28459         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28460         encoding to ACE if AI_IDN.
28461
28462 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
28463
28464         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28465         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28466
28467 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28468
28469         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28470         Fix overflow bug in strncat.
28471         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28472
28473         * string/test-strncat.c: Update.
28474         Add new tests for checking overflow bugs.
28475
28476 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28477
28478         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28479         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28480         * sysdeps/i386/i686/multiarch/strcat.S: New file.
28481         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28482         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28483         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28484         * sysdeps/i386/i686/multiarch/strncat.S: New file.
28485         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28486         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28487
28488         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28489         (USE_AS_STRCAT): Define.
28490         Add strcat and strncat support.
28491         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28492
28493 2011-07-25  Andreas Schwab  <schwab@redhat.com>
28494
28495         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28496         __n bigger than INT_MAX+1.
28497         (__strncmp_g): Likewise.
28498
28499 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
28500
28501         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28502         * libio/stido.h: Likewise.
28503
28504         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28505         (AF_NFC): Define.
28506         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28507         (AF_NFC): Define.
28508
28509         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28510         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28511         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28512         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28513         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28514
28515         [BZ #13021]
28516         * scripts/test-installation.pl: Don't expect libnss_test1 to be
28517         installed.
28518
28519         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28520         typo.
28521         (_dl_x86_64_save_sse): Likewise.
28522
28523 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
28524
28525         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28526         OSXSAVE.
28527         (_dl_x86_64_save_sse): Likewise.
28528
28529         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28530
28531         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28532
28533 2011-07-21  Andreas Schwab  <schwab@redhat.com>
28534
28535         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28536         change.
28537         (_dl_x86_64_save_sse): Use correct AVX check.
28538
28539 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28540
28541         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28542         bug in strncpy/strncat.
28543         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28544
28545 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
28546
28547         * string/tester.c (test_strcat): Add tests for different alignments
28548         of source and destination.
28549         (test_strncat): Likewise.
28550
28551 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
28552
28553         [BZ #12852]
28554         * posix/glob.c (glob): Check passed in values before using them in
28555         expressions to avoid some overflows.
28556         (glob_in_dir): Likewise.
28557
28558         [BZ #13007]
28559         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28560         check for AVX enablement so that we don't crash with old kernels and
28561         new hardware.
28562         * elf/tst-audit4.c: Add same checks here.
28563         * elf/tst-audit6.c: Likewise.
28564
28565         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
28566
28567 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
28568
28569         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28570
28571 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
28572
28573         * po/cs.po: Update from translation team.
28574         * po/bg.po: Likewise.
28575
28576 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
28577
28578         * misc/sys/cdefs.h: Add support for const attribute.
28579         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28580         to gnu_dev_{major,minor,makedev} functions.
28581
28582 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
28583
28584         * intl/dcigettext.c (get_output_charset): Add missing bracket.
28585
28586 2011-07-20  Andreas Schwab  <schwab@redhat.com>
28587
28588         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28589         strlen results.
28590
28591 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28592
28593         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28594         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28595         register in order to avoid conflicts with the soft frame pointer
28596         being held in r11 when necessary.
28597         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28598         (INTERNAL_VSYSCALL_NCS): Likewise.
28599
28600 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
28601
28602         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28603         * elf/dl-fini.c (_dl_fini): Adjust caller.
28604         * elf/dl-close.c (_dl_close_worker): Likewise.
28605         * sysdeps/generic/ldsodefs.h: Adjust declaration.
28606
28607 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
28608
28609         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28610         "aux_cache->nlibs < 0".
28611
28612         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28613         in the reload-count case.
28614
28615 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28616
28617         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28618         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28619         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28620         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28621         * sysdeps/x86_64/multiarch/strcat.S: New file.
28622         * sysdeps/x86_64/multiarch/strncat.S: New file.
28623         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28624         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28625         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28626         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28627         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28628         (USE_AS_STRCAT): Define.
28629         Add strcat and strncat support.
28630         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28631         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28632         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28633         * string/strncat.c: Update.
28634         (USE_AS_STRNCAT): Define.
28635         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28636         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28637         and i7.
28638         * sysdeps/x86_64/multiarch/init-arch.h
28639         (bit_Prefer_PMINUB_for_stringop): New.
28640         (index_Prefer_PMINUB_for_stringop): Likewise.
28641         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28642         bit_Prefer_PMINUB_for_stringop.
28643
28644 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
28645
28646         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28647         buffer64.
28648         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28649         of casting of buffer.
28650         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28651         buffer32 and buffer64.
28652         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28653         writes instead of casting of buffer.
28654         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28655         buffer32.
28656         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28657         casting of buffer.
28658
28659 2011-07-19  Andreas Schwab  <schwab@redhat.com>
28660
28661         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28662
28663 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
28664
28665         * nscd/nscd.c (termination_handler): Don't do anything for a database
28666         if it has not yet been initialized.
28667
28668 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
28669
28670         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28671
28672 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
28673
28674         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28675
28676 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
28677
28678         * po/nl.po: Update from translation team.
28679         * po/sv.po: Likewise.
28680
28681 2011-07-16  Roland McGrath  <roland@hack.frob.com>
28682
28683         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28684         now disallowed by GCC.
28685
28686         * configure.in (use-default-link): Default to yes if a test -shared
28687         link meets our qualifications.
28688         * configure: Regenerated.
28689
28690         * config.make.in (output-format): New variable.
28691         * configure.in: Check for ld --print-output-format support.
28692         * configure: Regenerated.
28693         * Makerules ($(common-objpfx)format.lds)
28694         [$(output-format) != unknown]: Just use $(output-format),
28695         instead of the linker-script munging.
28696
28697 2011-07-14  Roland McGrath  <roland@hack.frob.com>
28698
28699         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28700         of $(common-objpfx)shlib.lds.
28701         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28702
28703         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28704         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28705
28706         * configure.in (-z relro check): Adjust test code to add a large
28707         writable data section after it.
28708         * configure: Regenerated.
28709
28710 2011-07-11  Roland McGrath  <roland@hack.frob.com>
28711
28712         * configure.in (-z relro check): Fix test code to make the variable
28713         truly const.
28714         * configure: Regenerated.
28715
28716 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
28717
28718         * nscd/nscd.h (struct traced_file): Define.
28719         (struct database_dyn): Remove inotify_descr, reset_res, and filename
28720         elements.  Add traced_files.
28721         (inotify_fd): Declare.
28722         (register_traced_file): Declare.
28723         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28724         (inotify_fd): Export.
28725         (resolv_conf_descr): Remove.
28726         (nscd_init): Move inotify descriptor creation to main.
28727         Don't register files for notification here.
28728         (register_traced_file): New function.
28729         (invalidate_cache): Don't use reset_res to determine whether to call
28730         res_init, go through the list of registered files.
28731         (main_loop_poll): The inotify descriptors are now stored in the
28732         structures for the traced files.
28733         (main_loop_epoll): Likewise
28734         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
28735         to __nss_disable_nscd.
28736         * nscd/cache.c (prune_cache): There is no single inotify descriptor
28737         for a database anymore.  Check the records for all the registered
28738         files instead.
28739         * nss/Makefile (libnss_files-routines): Add files-init.
28740         (libnss_db-routines): Add db-init.
28741         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28742         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28743         * nss/nss_db/db-init.c: New file.
28744         * nss/nss_files/files-init.c: New file.
28745         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
28746         __nss_lookup_function.
28747         (__nss_lookup_function): Call nss_load_library.
28748         (nss_load_all_libraries): New function.
28749         (__nss_disable_nscd): Take parameter with callback function for files
28750         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
28751         used for the cached services.
28752         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28753         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28754         options for features to all the files in nscd.
28755
28756         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28757
28758 2011-07-10  Roland McGrath  <roland@hack.frob.com>
28759
28760         * csu/elf-init.c (__libc_csu_init): Comment typo.
28761
28762 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
28763
28764         * po/pl.po: Update from translation team.
28765         * po/ja.po: Likewise.
28766         * po/ru.po: Likewise.
28767         * po/ko.po: Likewise.
28768         * po/fr.po: Likewise.
28769
28770 2011-07-09  Roland McGrath  <roland@hack.frob.com>
28771
28772         * configure.in (.ctors/.dtors header and trailer check):
28773         Use an empirical test on a built program.
28774         * configure: Regenerated.
28775
28776         * configure.in (-z relro check): Use an empirical test on a built DSO.
28777         Detect, but do not require, on ia64.
28778         * configure: Regenerated.
28779
28780         * configure.in (READELF): Find it with AC_CHECK_TOOL.
28781         Update tests that use readelf to use $READELF instead.
28782         * configure: Regenerated.
28783
28784 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
28785
28786         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28787         if the result is not used.
28788
28789 2011-07-05  Andreas Jaeger  <aj@suse.de>
28790
28791         [BZ#9696]
28792         * stdlib/tst-strtod.c: Add testcase.
28793
28794 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
28795
28796         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
28797         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
28798         The latter has a higher limit.  Take additional parameter to pass to
28799         the new function.
28800         (__pathconf): Pass file to __statfs_link_max.
28801         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28802         __statfs_link_max.
28803         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28804         __statfs_link_max.
28805
28806         [BZ #12868]
28807         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28808         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28809         Handle Lustre.
28810         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28811         (__statfs_filesize_max): Likewise.
28812         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28813
28814 2011-07-05  Andreas Jaeger  <aj@suse.de>
28815
28816         * resolv/res_comp.c (dn_skipname): Remove unused variable.
28817
28818 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
28819
28820         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28821         `status' variable.
28822         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28823         Likewise.
28824
28825 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
28826
28827         * Makefile (strop-tests): Add strncat.
28828         * string/test-strncat.c: New file.
28829
28830 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
28831
28832         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28833
28834 2011-06-21  Andreas Jaeger  <aj@suse.de>
28835
28836         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28837         Copy rule from iconvdata/Makefile.
28838
28839 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
28840
28841         [BZ #12922]
28842         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28843         but no long options are defined, just return 'W'.
28844
28845 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
28846
28847         [BZ #9696]
28848         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28849
28850 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
28851
28852         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28853         netgroups to read.
28854         (innetgr): Likewise.
28855
28856 2011-07-05  Roland McGrath  <roland@hack.frob.com>
28857
28858         * config.make.in (install_root): Default to $(DESTDIR).
28859
28860 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
28861
28862         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28863
28864 2011-07-02  Roland McGrath  <roland@hack.frob.com>
28865
28866         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28867
28868         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28869         containing directory rather than embedding absolute directory names.
28870
28871         * scripts/check-local-headers.sh: Rewritten using awk.
28872         Match by word, not by line.  Print error messages for matches.
28873         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28874
28875         * Makerules [shlib-lds-flags empty]:
28876         ($(common-objpfx)libc_pic.opts): New target.
28877         ($(common-objpfx)libc_pic.os.clean): New target.
28878         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28879
28880         * config.make.in (OBJCOPY): New variable.
28881         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28882         * configure: Regenerated.
28883
28884         * config.make.in (use-default-link): New variable.
28885         * configure.in (use_default_link): Grok --with-default-link to set it.
28886         * configure: Regenerated.
28887         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28888         (shlib-lds, shlib-lds-flags): Define to empty.
28889
28890         * Makerules (shlib-lds): New variable.
28891         (shlib-lds-flags): New variable.
28892         (build-shlib, build-moduile, build-module-asneeded): Use it.
28893         ($(common-objpfx)libc.so): Use $(shlib-lds).
28894         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28895         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28896
28897         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28898         DT_FLAGS/DT_FLAGS_1 with zero flags.
28899
28900         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28901         linker script munging.
28902
28903 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
28904
28905         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28906         as 128-bit value.
28907         * crypt/sha512.c (sha512_process_block): Perform total addition using
28908         128-bit if possible.
28909         (__sha512_finish_ctx): Likewise.
28910         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28911         as 64-bit value.
28912         * crypt/sha256.c (SWAP64): Define.
28913         (sha256_process_block): Perform total addition using 64-bit if
28914         possible.
28915         (__sha256_finish_ctx): Likewise.
28916
28917 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
28918
28919         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
28920         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28921         * nscd/hstcache.c (cache_addhst): Likewise.
28922         * nscd/grpcache.c (cache_addgr): Likewise.
28923         * nscd/aicache.c (addhstaiX): Likewise
28924         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28925
28926 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
28927
28928         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28929         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28930         * nscd/hstcache.c (cache_addhst): Likewise.
28931         * nscd/grpcache.c (cache_addgr): Likewise.
28932         * nscd/aicache.c (addhstaiX): Likewise
28933
28934 2011-07-01  Andreas Schwab  <schwab@redhat.com>
28935
28936         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28937         domain only when needed.
28938
28939 2011-06-30  Andreas Schwab  <schwab@redhat.com>
28940
28941         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28942         is always restored.
28943
28944 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
28945
28946         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28947         are re-adding the entry.
28948         * nscd/servicescache.c (cache_addserv): Likewise.
28949
28950 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
28951
28952         * sysdeps/generic/dl-irel.h: fix protection against multiple
28953         inclusions.
28954         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28955
28956 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
28957
28958         [BZ #12935]
28959         * malloc/memusage.sh: Fix quoting in message.
28960         * debug/xtrace.sh: Likewise.
28961
28962         * configure.in: Remove support for --experimental-malloc option, make
28963         it the default.
28964         * config.make.in: Likewise.
28965         * malloc/Makefile: Likewise.
28966
28967 2011-06-27  Andreas Schwab  <schwab@redhat.com>
28968
28969         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28970         two-byte characters.
28971
28972 2011-06-27  Roland McGrath  <roland@hack.frob.com>
28973
28974         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28975         AC_CACHE_CHECK invocation.
28976         * configure: Regenerated.
28977
28978         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28979
28980 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
28981
28982         [BZ #12350]
28983         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
28984         bit from old_res_options.
28985
28986         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28987
28988         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28989         value type for setfct.
28990
28991 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
28992
28993         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28994         __gettimeofday instead of gettimeofday.
28995
28996 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
28997
28998         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28999
29000 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29001
29002         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29003
29004         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29005         info.
29006
29007 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
29008
29009         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29010         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29011         strcpy-sse2-unaligned strncpy-sse2-unaligned
29012         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29013         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29014         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29015         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29016         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29017         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29018         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29019         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29020         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29021         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29022         (STRCPY): Support SSE2 and SSSE3 versions.
29023
29024 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
29025
29026         [BZ #12874]
29027         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29028         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29029         kernels which artificially limit size of requests.
29030
29031 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
29032
29033         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29034         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29035         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29036         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29037         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29038         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29039         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29040         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29041         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29042         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29043         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29044         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29045         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29046         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29047         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29048         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29049         Enable unaligned load optimization for Intel Core i3, i5 and i7
29050         processors.
29051         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29052         Define.
29053         (index_Fast_Unaligned_Load): Define.
29054         (HAS_FAST_UNALIGNED_LOAD): Define.
29055
29056 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
29057
29058         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29059
29060 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
29061
29062         [BZ #12907]
29063         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29064         until it is clear that the information is realy needed.
29065         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29066
29067 2011-06-22  Andreas Schwab  <schwab@redhat.com>
29068
29069         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29070
29071 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
29072
29073         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29074         /sys/devices/system/cpu/online if it is usable.
29075
29076         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29077         reading the information from the /proc filesystem to once a second.
29078
29079 2011-06-21  Andreas Jaeger  <aj@suse.de>
29080
29081         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29082         NULL after inclusion of kernel headers.
29083
29084 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
29085
29086         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29087         calls to internal_setent.
29088
29089         [BZ #12885]
29090         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29091         addresses using gethostbyname4_r ignore IPv4 addresses.
29092
29093         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29094         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
29095
29096         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29097
29098 2011-06-20  David S. Miller  <davem@davemloft.net>
29099
29100         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29101         inclusions.
29102         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29103
29104         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29105         (elf_irel): Use it.
29106         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29107         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29108         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29109         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29110         * sysdeps/x86_64/dl-irel.h: Likewise.
29111
29112         * elf/dl-runtime.c: Use elf_ifunc_invoke.
29113         * elf/dl-sym.c: Likewise.
29114
29115 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
29116
29117         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
29118         need to dereference resplen2.
29119
29120 2011-06-14  Andreas Schwab  <schwab@redhat.com>
29121
29122         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29123
29124 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
29125
29126         * Makeconfig: Define vardbdir and inst_vardbdir.
29127         * nss/Makefile: Add rules to install db-Makefile.
29128
29129         * nss/nss_db/db-XXX.c: Cleanup.
29130
29131         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29132         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29133         GLIBC_PRIVATE.
29134         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29135         * nss/makedb.c: Implement -g option to specify that value strings
29136         are generated and should not be added to table iterated over for
29137         get*ent calls.
29138         * nss/nss_db/db-initgroups.c: New file.
29139
29140         * nss/getent.c: Add support for initgroups lookups through getgrouplist
29141         interface.
29142
29143         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29144         (internal_getgrouplist): Adjust to name change.
29145         Update use_initgroups_entry if this is not the first call.
29146         * nss/databases.def: Add initgroups entry.
29147
29148         * nss/makedb.c (compute_tables): Check result of multiple hash table
29149         sizes to minimize maximum chain length.
29150
29151 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
29152
29153         * Versions.def: Add entry for libnss_db.
29154         * shlib-versions: Likewise.
29155         * nss/Makefile: Add rules to build libnss_db.
29156         * nss/Versions: Add libnss_db information.  Organize libnss_files
29157         entries better.
29158         * nss/db-Makefile: Add gshadow support.  Change rules for the new
29159         makedb progra.  Some minor improvements to generate smaller files.
29160         * nss/nss_db/nss_db.h: Move NSS database header data structures to
29161         here from...
29162         * nss/makedb.c: ...here.
29163         Improve database format to be smaller and require less memory at
29164         runtime.
29165         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
29166         db anymore.
29167         * nss/nss_db/db-netgrp.c: Likewise.
29168         * nss/nss_db/db-open.c: Likewise.
29169         * nss/nss_files/flies-XXX.x: Adjust comments.
29170         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29171         * nss/nss_files/files-grp.c: Likewise.
29172         * nss/nss_files/files-hosts.c: Likewise.
29173         * nss/nss_files/files-network.c: Likewise.
29174         * nss/nss_files/files-proto.c: Likewise.
29175         * nss/nss_files/files-pwd.c: Likewise.
29176         * nss/nss_files/files-rpc.c: Likewise.
29177         * nss/nss_files/files-service.c: Likewise.
29178         * nss/nss_files/files-sgrp.c: Likewise.
29179         * nss/nss_files/files-spwd.c: Likewise.
29180         * nss/nss_db/db-alias.c: Removed.
29181         * nss/nss_db/dummy-db.h: Removed.
29182
29183 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
29184
29185         * nss/makedb.c: Rewritten to not use database library.
29186         * nss/Makefile: Update to build new makedb program.
29187
29188 2011-06-14  Andreas Jaeger  <aj@suse.de>
29189
29190         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29191         memset declaration.
29192
29193 2011-06-10  Andreas Schwab  <schwab@redhat.com>
29194
29195         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29196         tmpbuf.
29197
29198 2011-06-10  Roland McGrath  <roland@hack.frob.com>
29199
29200         * Makerules (shlib.lds): Fail if the linker script comes out empty.
29201         * elf/Makefile ($(objpfx)ld.so): Likewise.
29202
29203         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29204         Don't list ld.so twice in dependencies.
29205
29206         * posix/bug-regex31.c: Include <stdlib.h>.
29207
29208         * nscd/hstcache.c (cache_addhst): Remove unused variable.
29209
29210         * nis/nss_compat/compat-spwd.c
29211         (getspent_next_nss_netgr): Remove unused variable.
29212         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29213
29214         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29215         nonmembers" output to use the right array.
29216
29217         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29218
29219         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29220
29221         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29222         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29223         * catgets/gencat.c (read_input_file): Likewise.
29224         * locale/programs/locarchive.c (enlarge_archive): Likewise.
29225
29226         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29227         variable definition inside #if's controlling its use.
29228
29229         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29230
29231         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29232
29233         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29234
29235         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29236         unreachable code.
29237
29238         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29239
29240         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29241         * configure: Regenerated.
29242
29243         * Makerules: Revert last change.
29244         * elf/Makefile: Likewise.
29245
29246 2011-06-09  Roland McGrath  <roland@hack.frob.com>
29247
29248         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29249         * elf/Makefile ($(objpfx)librtld.os): Likewise.
29250         (reloc-link): Likewise.
29251
29252 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
29253
29254         * elf/Makefile: Add rules to build pldd.
29255         * elf/pldd.c: New file.
29256         * elf/pldd-xx.c: New file.
29257
29258 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
29259
29260         * version.h: Update for 2.15 development version.
29261
29262 2011-06-07  David S. Miller  <davem@davemloft.net>
29263
29264         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29265         ifuncs.
29266         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29267         elf_machine_lazy_rel): Likewise.
29268         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29269         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29270         elf_machine_lazy_rel): Likewise.
29271         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29272         dl_hwcap via passed in argument.
29273         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29274         Likewise.
29275
29276 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29277
29278         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
29279
29280 2011-06-06  Roland McGrath  <roland@hack.frob.com>
29281
29282         [BZ #12849]
29283         * manual/fdl-1.1.texi: New file, verbatim from:
29284         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29285         * manual/lgpl-2.1.texi: New file, verbatim from:
29286         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29287         * manual/Makefile (licenses): New variable, list those new file names.
29288         (texis): Use it.
29289         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29290
29291         * manual/fdl.texi: File removed.
29292         * manual/lesser.texi: File removed.
29293         * manual/libc.texinfo (Copying, Documentation License):
29294         Use new @include file names, put @appendix directive before @include.
29295
29296 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
29297
29298         [BZ #12841]
29299         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29300         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29301         (mq_open): Add __NTH.
29302
29303 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
29304
29305         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29306         Assume Intel Core i3/i5/i7 processor if AVX is available.
29307
29308 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
29309
29310         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29311         typo.
29312
29313 2011-05-31  Andreas Schwab  <schwab@redhat.com>
29314
29315         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29316         memory.  Use alloca_account.  Fix memory leak when retrying.
29317
29318 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
29319
29320         * version.h (RELEASE): Bump for 2.14 release.
29321         * include/features.h (__GLIBC_MINOR__): Bump to 14.
29322
29323         * config.make.in (RANLIB): Remove entry.
29324
29325 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
29326
29327         * po/Makefile (po-sed-cmd): Add ksh to extensions.
29328         (libc.pot): Work around missing support for .ksh extension in xgettext.
29329
29330         [BZ #12684]
29331         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29332         if both request failed.
29333         (send_dg): In case of server errors clear resplen or *resplen2.
29334
29335         [BZ #12454]
29336         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29337         when there are multiple maps.
29338         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29339         (_dl_fini): Remove test here.
29340
29341         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29342
29343 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
29344
29345         [BZ #12350]
29346         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29347         bit from old_res_options.
29348         (gaih_inet): Likewise.
29349
29350         [BZ #11099]
29351         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29352         as signed.
29353
29354         * resolv/res_init.c (res_setoptions): Make the code more compact.
29355
29356         [BZ #11558]
29357         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29358         set RES_USEVC.
29359
29360         [BZ #11634]
29361         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29362
29363         * malloc/malloc.h: Mark malloc hook variables as deprecated.
29364
29365         [BZ #11781]
29366         * malloc/malloc.h: Declare malloc hook variables as volatile.
29367
29368         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29369         in last patch.
29370
29371         [BZ #11799]
29372         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29373         raise in the comment.
29374         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29375         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29376         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29377
29378 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
29379
29380         [BZ #12811]
29381         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29382         grow the buffers more if it already has to be sufficient.
29383         (build_wcs_upper_buffer): Likewise.
29384         * posix/regexec.c (check_matching): Likewise.
29385         (clean_state_log_if_needed): Likewise.
29386         (extend_buffers): Don't enlarge buffers beyond size of the input
29387         buffer.
29388         Patches mostly by Emil Wojak <emil@wojak.eu>.
29389         * posix/bug-regex32.c: New file.
29390         * posix/Makefile (tests): Add bug-regex32.
29391
29392         * locale/findlocale.c (_nl_find_locale): Return right away if
29393         _nl_explode_name failed.
29394         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29395
29396         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29397
29398         * debug/xtrace.sh: Unify messages.
29399         * malloc/memusage.sh: Likewise.
29400
29401         [BZ #12813]
29402         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29403         time symbol from vDSO.  Substitute with vsyscall if not available.
29404         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29405         __vdso_time.
29406
29407         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29408         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29409         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29410         Add sendmmsg and internal_sendmmsg.
29411         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29412         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29413         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29414
29415         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29416         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29417         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29418
29419 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
29420
29421         [BZ #12813]
29422         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29423         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
29424         available.
29425         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29426         __vdso_getcpu.
29427
29428         [BZ #12814]
29429         * iconvdata/Makefile (tests): Add bug-iconv9.
29430         * iconvdata/bug-iconv9.c: New file.
29431
29432 2011-05-27  Andreas Schwab  <schwab@redhat.com>
29433
29434         [BZ #12814]
29435         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29436
29437 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
29438
29439         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29440         (struct user_regs_struct): Change intcs field back to cs.
29441
29442 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
29443
29444         * po/ja.po: Update from translation team.
29445
29446 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
29447
29448         [BZ #12795]
29449         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29450         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29451
29452 2011-05-20  Andreas Schwab  <schwab@redhat.com>
29453
29454         * stdlib/longlong.h: Update from GCC.
29455
29456 2011-05-23  Andreas Schwab  <schwab@redhat.com>
29457
29458         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29459         parameter name.
29460         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29461         Add parameter name.
29462         (__sysconf): Pass it down.
29463
29464 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
29465
29466         [BZ #12671]
29467         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29468         some situations.
29469         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29470         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29471         add in in __libc_use_alloca calls.  Adjust callers.
29472         (glob): Use malloc in some situations.
29473
29474         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29475         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29476         pltexit.
29477
29478 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
29479
29480         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29481         and CLOCK_BOOTTIME_ALARM.
29482
29483         [BZ #12782]
29484         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29485         is returned.
29486
29487         * string/_strerror.c (__strerror_r): Print negative errors as signed
29488         numbers.
29489
29490         [BZ #12777]
29491         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29492         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29493         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29494
29495         * configure.in: Fix typo in redirection and correct removal of test
29496         files in two cases.
29497
29498         [BZ #12788]
29499         * locale/setlocale.c (new_composite_name): Fix test to check for
29500         identical name of all categories.
29501
29502         [BZ #12792]
29503         * libio/filedoalloc.c (local_isatty): New function.
29504         (_IO_file_doallocate): Use local_isatty.
29505         * stdio-common/perror.c (perror): In case a new stream is used
29506         forward the stream error.
29507         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29508         error flag.
29509
29510 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
29511
29512         [BZ #11869]
29513         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29514         alloca.
29515         * include/alloca.h (extend_alloca_account): Define.
29516
29517         [BZ #11857]
29518         * posix/regex.h: Fix comments with documentation of user-accessible
29519         fields after compilation and describe correct free'ing of pattern
29520         after re_compile_pattern.
29521         Patch by Reuben Thomas <rrt@sc3d.org>.
29522
29523 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
29524
29525         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29526         and -mno-altivec to prevent the compiler from using Altivec and/or
29527         VSX instructions when the corresponding registers are not available.
29528
29529 2011-05-19  Andreas Schwab  <schwab@redhat.com>
29530
29531         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29532
29533 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
29534
29535         * libio/freopen.c (freopen): Use __dup2, not dup2.
29536         * libio/freopen64.c (freopen64): Likewise.
29537
29538 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29539
29540         [BZ #12775]
29541         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29542         * math/Makefile (tests): Add test-powl.
29543         (CFLAGS-test-powl.c): Define.
29544         * math/test-powl.c: New file.
29545
29546 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29547
29548         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29549
29550 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
29551
29552         [BZ #11837]
29553         * iconvdata/gb18030.c: Update to GB18020-2005.
29554
29555 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
29556
29557         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29558         RE_SYNTAX_POSIX_AWK): Update to match recent development.
29559         Patch by Aharon Robbins <arnold@skeeve.com>.
29560
29561         [BZ #11892]
29562         * stdlib/putenv.c (putenv): Don't always create copy of the variable
29563         on the stack.
29564
29565         [BZ #11895]
29566         * misc/pselect.c (__pselect): Handle timeout value errors hidden
29567         through underflows.
29568
29569         [BZ #12766]
29570         * misc/error.c (error_at_line): Ensure file_name and old_file_name
29571         point to strings before performing equality test for error_one_per_line
29572         mode.
29573
29574         [BZ #11697]
29575         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29576
29577         [BZ #11820]
29578         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29579         (struct user_fpregs_struct): Avoid __uint*_t types.
29580
29581         [BZ #6420]
29582         * malloc/mtrace.c (tr_where): Add additional parameter to point to
29583         symbol info.  Use it instead of calling _dl_addr locally.
29584         (lock_and_info): New function.
29585         (tr_freehook): Call lock_and_info and pass symbol info as additional
29586         parameter to tr_where.
29587         (tr_mallochook): Likewise.
29588         (tr_reallochook): Likewise.
29589         (tr_memalignhook): Likewise.
29590
29591         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
29592         used and couldn't be at all thread-safe.
29593
29594 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
29595
29596         * libio/freopen.c (freopen): Don't close old file descriptor
29597         before the new one is opened.  Instead dup the new file descriptor
29598         to the old one after the new stream is created.
29599         * libio/freopen64.c (freopen64): Likewise.
29600         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29601         * libio/fileops.c (_IO_new_file_close_it): Handle new
29602         _IO_FLAGS2_NOCLOSE flag.
29603         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29604         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29605         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29606         _IO_FLAGS2_NOCLOSE flag.
29607         * include/unistd.h: Add hidden_proto for dup3.
29608         Define __have_dup3.
29609         * io/dup3.c: Define hidden symbol.
29610         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29611
29612         [BZ #7101]
29613         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29614         when an incomplete long option is used.
29615         * posix/tst-getopt_long1.c: New file.
29616         * posix/Makefile (tests): Add tst-getopt_long1.
29617
29618         [BZ #10138]
29619         * scripts/config.guess: Update from autoconf-2.68.
29620         * scripts/config.sub: Likewise.
29621
29622         [BZ #10157]
29623         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29624         tests into ...
29625         (has_cpuclock): ...this.  New function.
29626         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29627         macro here based on has_cpuclock code.
29628
29629         [BZ #10149]
29630         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29631         First byte (not low byte) is now always NUL.
29632         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29633
29634         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29635         Use non-cancelable interfaces.
29636
29637         [BZ #9809]
29638         * locale/iso-639.def: Add entry for Sorani.
29639
29640         [BZ #11901]
29641         * include/stdlib.h: Move include protection to the right place.
29642         Define abort_msg_s.  Declare __abort_msg with it.
29643         * stdlib/abort.c (__abort_msg): Adjust type.
29644         * assert/assert.c (__assert_fail_base): New function.  Majority
29645         of code from __assert_fail.  Allocate memory for __abort_msg with
29646         mmap.
29647         (__assert_fail): Now call __assert_fail_base.
29648         * assert/assert-perr.c: Remove bulk of implementation.  Use
29649         __assert_fail_base.
29650         * include/assert.hL Declare __assert_fail_base.
29651         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29652         mmap.
29653         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29654
29655 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
29656
29657         [BZ #11952]
29658         [BZ #12453]
29659         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29660         until all modules are registered in the DTV.
29661         * elf/Makefile: Add rules to build and run tst-tls19.
29662         * elf/tst-tls19.c: New file.
29663         * elf/tst-tls19mod1.c: New file.
29664         * elf/tst-tls19mod2.c: New file.
29665         * elf/tst-tls19mod3.c: New file.
29666         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29667
29668         [BZ #12083]
29669         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29670         correctly.
29671
29672         [BZ #12601]
29673         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29674         two-byte sequence errors.
29675         * iconvdata/Makefile (tests): Add bug-iconv8.
29676         * iconvdata/bug-iconv8.c: New file.
29677
29678         [BZ #12626]
29679         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29680         buf2 definition.
29681
29682         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29683
29684         [BZ #12432]
29685         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29686         (dummy_getcfa): New function.
29687         (init): Get _Unwind_GetCFA address, use dummy if not found.
29688         (backtrace_helper): In recursion check, also check whether CFA changes.
29689         (__backtrace): Completely initialize arg.
29690
29691         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
29692         storing incomplete byte sequence in state object.  Avoid testing for
29693         guaranteed too small input if we know there is enough data available.
29694
29695 2011-05-11  Andreas Schwab  <schwab@redhat.com>
29696
29697         * Makeconfig (+link-pie): Indent.
29698         * Rules (binaries-pie): Define if $(have-fpie) and
29699         $(build-shared).
29700         (binaries-shared): Also filter out $(binaries-pie).
29701         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29702         * nscd/Makefile (others-pie): Add nscd.
29703         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29704         ($(objpfx)nscd): Remove command override.
29705         * login/Makefile (others-pie): Add pt_chown.
29706         ($(objpfx)pt_chown): Remove command override.
29707         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29708         remove command overrides.
29709
29710 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
29711
29712         * libio/tst_putwc.c: Fix error messages.
29713
29714         [BZ #12724]
29715         * libio/fileops.c (_IO_new_file_close_it): Always flush when
29716         currently writing and seek to current position when not.
29717         * libio/Makefile (tests): Add bug-fclose1.
29718         * libio/bug-fclose1.c: New file.
29719
29720 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
29721
29722         [BZ #12511]
29723         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29724         don't set DF_1_NODELETE here.
29725         (do_lookup_x): When entering new entry test for copy relocation
29726         and if necessary set DF_1_NODELETE flag.
29727         * elf/tst-unique4.cc: New file.
29728         * elf/tst-unique4.h: New file.
29729         * elf/tst-unique4lib.cc: New file.
29730         * elf/Makefile: Add rules to build and run tst-unique4.
29731         Patch by Piotr Bury <pbury@goahead.com>.
29732
29733 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
29734
29735         [BZ #12052]
29736         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29737
29738         [BZ #12625]
29739         * misc/mntent_r.c (addmntent): Flush the stream after the output
29740
29741         [BZ #12393]
29742         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29743         (is_trusted_path_normalize): Skip initial colon.  Append slash
29744         to empty buffer.  Duplicate is_trusted_path code but allow
29745         constructed patch to be prefix.
29746         (is_dst): Allow $ORIGIN followed by /.
29747         (_dl_dst_substitute): Correct clearing of check_for_trusted.
29748         Correct testing of result of is_trusted_path_normalize
29749         (decompose_rpath): Fix warning.
29750
29751 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
29752
29753         [BZ #11257]
29754         * grp/initgroups.c (internal_getgrouplist): When we found the service
29755         list through the initgroups entry in nsswitch.conf do not always
29756         continue on a successful lookup.  Don't always use the
29757         __nss_group_database value if it is set.
29758         * nss/nsswitch.conf (initgroups): Change action for successful db
29759         lookup to continue for compatibility.
29760
29761 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
29762
29763         [BZ #11532]
29764         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29765         and CP774 modules.
29766         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29767         and CP774 modules.
29768         * iconvdata/tst-tables.sh: Likewise.
29769         * iconvdata/cp770.c: New file.
29770         * iconvdata/cp771.c: New file.
29771         * iconvdata/cp772.c: New file.
29772         * iconvdata/cp773.c: New file.
29773         * iconvdata/cp774.c: New file.
29774         * iconvdata/testdata/CP770: New file.
29775         * iconvdata/testdata/CP770..UTF8: New file.
29776         * iconvdata/testdata/CP771: New file.
29777         * iconvdata/testdata/CP771..UTF8: New file.
29778         * iconvdata/testdata/CP772: New file.
29779         * iconvdata/testdata/CP772..UTF8: New file.
29780         * iconvdata/testdata/CP773: New file.
29781         * iconvdata/testdata/CP773..UTF8: New file.
29782         * iconvdata/testdata/CP774: New file.
29783         * iconvdata/testdata/CP774..UTF8: New file.
29784
29785         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29786         END CHARMAP line.
29787         * iconvdata/gen-8bit-gap.sh: Likewise.
29788         * iconvdata/gen-8bit.sh: Likewise.
29789
29790         * locale/iso-639.def: Add ary entry.
29791
29792         [BZ #11258]
29793         * locale/C-translit.h.in: Add U20A1 transliteration.
29794
29795         [BZ #12178]
29796         * locale/iso-639.def: Add wae entry.
29797         Patch by Kevin Bortis <bortis@translate-wae.ch>.
29798
29799         [BZ #12545]
29800         * locale/programs/localedef.c (construct_output_path): Use ssize_t
29801         for n.
29802
29803         [BZ #12711]
29804         * locale/C-translit.h.in: Add entry for U20B9.
29805         Patch by pravin.d.s@gmail.com.
29806
29807 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
29808
29809         [BZ #12713]
29810         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29811         ENAMETOOLONG use generic getcwd.
29812         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
29813         in rtld.  Use *stat64.
29814         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
29815         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
29816         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
29817         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29818         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29819         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29820         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29821         __fstatat64 macros.
29822         * include/dirent.h: Add libc_hidden_proto for rewinddir.
29823         * dirent/rewinddir.c: Add libc_hidden_def.
29824         * sysdeps/mach/hurd/rewinddir.c: Likewise.
29825         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
29826
29827         * include/dirent.h (__alloc_dir): Add flags parameter.
29828         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29829         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29830         __alloc_dir.
29831         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
29832         from fdopendir if O_CLOEXEC is already set.
29833
29834 2011-03-15  Alan Modra  <amodra@gmail.com>
29835
29836         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29837         l_tls_firstbyte_offset non-zero.  Save padding offset in
29838         l_tls_firstbyte_offset for later use.
29839         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29840         freeing static tls block.
29841
29842 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
29843
29844         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29845         where #ifdef was intended.  The intent is to prevent ARG_MAX from
29846         being defined by the kernel headers.
29847
29848 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
29849
29850         [BZ #12734]
29851         * resolv/resolv.h: Define RES_NOTLDQUERY.
29852         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29853         no-tld-query and set RES_NOTLDQUERY.
29854         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29855         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29856         modern BIND to search name as TLD unless forbidden.
29857
29858 2011-05-07  Petr Baudis  <pasky@suse.cz>
29859             Ulrich Drepper  <drepper@gmail.com>
29860
29861         [BZ #12393]
29862         * elf/dl-load.c (fillin_rpath): Move trusted path check...
29863         (is_trusted_path): ...to here.
29864         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
29865         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
29866         using is_trusted_path_normalize() in setuid scripts.
29867
29868 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29869
29870         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29871         __BEGIN/__END_DECLS.
29872
29873 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
29874
29875         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29876         NSS_STATUS_NOTFOUND if no record was found.
29877
29878 2011-05-05  Andreas Schwab  <schwab@redhat.com>
29879
29880         * sunrpc/Makefile (headers): Add rpc/netdb.h.
29881         (headers-not-in-tirpc): Remove rpc/netdb.h
29882         * resolv/netdb.h: Revert last change.
29883
29884 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29885
29886         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29887         circular dependency between libgcc.a and libc.a.
29888
29889 2011-05-05  Andreas Schwab  <schwab@redhat.com>
29890
29891         * resolv/netdb.h: Don't include <rpc/netdb.h>.
29892         * nis/Makefile: Don't install rpcsvc/*.
29893         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29894         instead of <rpc/types.h>.
29895         (MAXHOSTNAMELEN): Define.
29896
29897 2011-05-03  Andreas Schwab  <schwab@redhat.com>
29898
29899         * elf/ldconfig.c (add_dir): Don't crash on empty path.
29900
29901 2011-04-28  Maciej Babinski  <mbabinski@google.com>
29902
29903         [BZ #12714]
29904         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29905         gethostbyname4_r when IPv6 results are possible.
29906
29907 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
29908
29909         [BZ #12723]
29910         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29911         _PC_PIPE_BUF handling.
29912
29913 2011-04-30  Bruno Haible  <bruno@clisp.org>
29914
29915         [BZ #12717]
29916         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29917         * resolv/netdb.h (getnameinfo): Change type of flags parameter
29918         to 'int'.
29919         * inet/getnameinfo.c (getnameinfo): Likewise.
29920
29921 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
29922
29923         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29924         to groups setting in database lookup.
29925         * nss/nsswitch.conf: Add initgroups entry.
29926
29927 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
29928
29929         [BZ #12685]
29930         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29931         mode string.
29932         Patch by Eric Blake <eblake@redhat.com>.
29933
29934 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
29935
29936         * sunrpc/Makefile (need-export-routines): Add svc_run.
29937         (routines): Remove svc_run.
29938         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29939         * sunrpc/clnt_perr.c (clnt_perrno): Export.
29940         * sunrpc/svc_run.c (svc_run): Likewise.
29941         * sunrpc/svc_udp.c (svcudp_create): Likewise.
29942
29943 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
29944
29945         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29946         problem in reallocation in last patch.
29947
29948 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
29949
29950         * sunrpc/Makefile: Move inclusion of Rules.
29951
29952 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29953
29954         * nss/nss_files/files-initgroups.c: New file.
29955         * nss/Makefile (libnss_files-routines): Add files-initgroups.
29956         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29957         _nss_files_initgroups_dyn.
29958
29959 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
29960
29961         * elf/elf.h (R_ARM_IRELATIVE): Define.
29962
29963 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29964
29965         * po/ru.po: Update from translation team.
29966
29967 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29968
29969         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29970         dependencies.
29971
29972 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
29973
29974         [BZ #12653]
29975         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29976         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29977         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29978         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29979         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29980
29981 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
29982
29983         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29984         differing bytes.
29985         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29986         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29987         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29988
29989 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29990
29991         [BZ #12420]
29992         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29993         storing it.
29994         * stdlib/bug-getcontext.c: New file.
29995         * stdlib/Makefile: Add rules to build and run bug-getcontext.
29996
29997 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29998
29999         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30000         instructions into .machine "z9-109".
30001         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30002         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30003
30004 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30005
30006         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30007         between environment variables and auxiliary vector.
30008
30009 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
30010
30011         * Makefile: Add rules to build linkobj/libc.so.
30012         * include/libc-symbols.h: Define libc_hidden_nolink.
30013         * include/rpc/auth.h: Mark functions which are to be hidden.
30014         * include/rpc/auth_des.h: Likewise.
30015         * include/rpc/auth_unix.h: Likewise.
30016         * include/rpc/clnt.h: Likewise.
30017         * include/rpc/des_crypt.h: Likewise.
30018         * include/rpc/key_prot.h: Likewise.
30019         * include/rpc/pmap_clnt.h: Likewise.
30020         * include/rpc/pmap_prot.h: Likewise.
30021         * include/rpc/pmap_rmt.h: Likewise.
30022         * include/rpc/rpc_msg.h: Likewise.
30023         * include/rpc/svc.h: Likewise.
30024         * include/rpc/svc_auth.h: Likewise.
30025         * include/rpc/xdr.h: Likewise.
30026         * nis/Makefile: Link all DSOs against linkobj/libc.so.
30027         * nss/Makefile: Likewise.
30028         * sunrpc/Makefile: Don't install headers.  Build library with normal
30029         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
30030         * sunrpc/auth_des.c: Hide exported symbols by default, export some
30031         for the compat linking library.  Remove use of INTDEF/INTUSE.
30032         * sunrpc/auth_none.c: Likewise.
30033         * sunrpc/auth_unix.c: Likewise.
30034         * sunrpc/authdes_prot.c: Likewise.
30035         * sunrpc/authuxprot.c: Likewise.
30036         * sunrpc/clnt_gen.c: Likewise.
30037         * sunrpc/clnt_perr.c: Likewise.
30038         * sunrpc/clnt_raw.c: Likewise.
30039         * sunrpc/clnt_simp.c: Likewise.
30040         * sunrpc/clnt_tcp.c: Likewise.
30041         * sunrpc/clnt_udp.c: Likewise.
30042         * sunrpc/clnt_unix.c: Likewise.
30043         * sunrpc/des_crypt.c: Likewise.
30044         * sunrpc/des_soft.c: Likewise.
30045         * sunrpc/get_myaddr.c: Likewise.
30046         * sunrpc/key_call.c: Likewise.
30047         * sunrpc/key_prot.c: Likewise.
30048         * sunrpc/netname.c: Likewise.
30049         * sunrpc/pm_getmaps.c: Likewise.
30050         * sunrpc/pm_getport.c: Likewise.
30051         * sunrpc/pmap_clnt.c: Likewise.
30052         * sunrpc/pmap_prot.c: Likewise.
30053         * sunrpc/pmap_prot2.c: Likewise.
30054         * sunrpc/pmap_rmt.c: Likewise.
30055         * sunrpc/publickey.c: Likewise.
30056         * sunrpc/rpc_cmsg.c: Likewise.
30057         * sunrpc/rpc_common.c: Likewise.
30058         * sunrpc/rpc_dtable.c: Likewise.
30059         * sunrpc/rpc_prot.c: Likewise.
30060         * sunrpc/rpc_thread.c: Likewise.
30061         * sunrpc/rtime.c: Likewise.
30062         * sunrpc/svc.c: Likewise.
30063         * sunrpc/svc_auth.c: Likewise.
30064         * sunrpc/svc_authux.c: Likewise.
30065         * sunrpc/svc_raw.c: Likewise.
30066         * sunrpc/svc_run.c: Likewise.
30067         * sunrpc/svc_simple.c: Likewise.
30068         * sunrpc/svc_tcp.c: Likewise.
30069         * sunrpc/svc_udp.c: Likewise.
30070         * sunrpc/svc_unix.c: Likewise.
30071         * sunrpc/svcauth_des.c: Likewise.
30072         * sunrpc/xcrypt.c: Likewise.
30073         * sunrpc/xdr.c: Likewise.
30074         * sunrpc/xdr_array.c: Likewise.
30075         * sunrpc/xdr_float.c: Likewise.
30076         * sunrpc/xdr_intXX_t.c: Likewise.
30077         * sunrpc/xdr_mem.c: Likewise.
30078         * sunrpc/xdr_rec.c: Likewise.
30079         * sunrpc/xdr_ref.c: Likewise.
30080         * sunrpc/xdr_sizeof.c: Likewise.
30081         * sunrpc/xdr_stdio.c: Likewise.
30082
30083 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
30084
30085         [BZ #12650]
30086         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30087         * sysdeps/ia64/dl-tls.h: Likewise.
30088         * sysdeps/powerpc/dl-tls.h: Likewise.
30089         * sysdeps/s390/dl-tls.h: Likewise.
30090         * sysdeps/sh/dl-tls.h: Likewise.
30091         * sysdeps/sparc/dl-tls.h: Likewise.
30092         * sysdeps/x86_64/dl-tls.h: Likewise.
30093         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30094
30095 2011-03-14  Andreas Schwab  <schwab@redhat.com>
30096
30097         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30098         rpath element also skip the following colon.
30099         (expand_dynamic_string_token): Add is_path parameter and pass
30100         down to DL_DST_REQUIRED and _dl_dst_substitute.
30101         (decompose_rpath): Call expand_dynamic_string_token with
30102         non-zero is_path.  Ignore empty rpaths.
30103         (_dl_map_object_from_fd): Call expand_dynamic_string_token
30104         with zero is_path.
30105
30106 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
30107
30108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30109         Make cancelable.
30110
30111 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
30112
30113         [BZ #12655]
30114         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30115         Patch by Filipe David Manana <fdmanana@apache.org>.
30116
30117 2011-04-07  Andreas Schwab  <schwab@redhat.com>
30118
30119         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30120         Maintain aligned stack.
30121         (CHECK_RSP): Remove unused macro.
30122
30123 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
30124
30125         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30126         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30127
30128 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
30129
30130         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30131
30132         * include/features.h: Mention __USE_XOPEN2K8 in comment.
30133
30134 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
30135
30136         [BZ #12518]
30137         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30138         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30139         * sysdeps/x86_64/memmove.c: New file.
30140         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30141         (memcpy): Renamed to ...
30142         (__new_memcpy): This.
30143         (memcpy): Provide GLIBC_2_14 memcpy.
30144         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30145         (memcpy): Provide GLIBC_2_2_5 memcpy.
30146
30147 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30148
30149         [BZ #12631]
30150         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30151
30152 2011-03-30  Andreas Schwab  <schwab@redhat.com>
30153
30154         * misc/syncfs.c: New file.
30155         * misc/Makefile (routines): Add syncfs.
30156         * posix/unistd.h: Declare syncfs.
30157         * sysdeps/unix/syscalls.list: Add syncfs.
30158
30159 2011-04-01  Andreas Schwab  <schwab@redhat.com>
30160
30161         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30162         open_by_handle_at.
30163         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30164         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30165         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30166         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30167         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30168         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30169         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30170
30171 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30172
30173         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30174         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30175         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30176         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30177         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30178         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30179         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30180
30181         * io/Makefile: Compile fallocate.c, fallocate64.c, and
30182         sync_file_range.c with -fexceptions.
30183         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30184         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30185         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30186         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30187         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30188         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30189         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30190         sync_file_range as cancellation point
30191         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
30192         now a wrapper around __call_sync_file_range with cancellation handling.
30193         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30194         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
30195         function name to __call_sync_file_range.
30196         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30197         Add call_sync_file_range.
30198
30199 2011-04-01  Andreas Schwab  <schwab@redhat.com>
30200
30201         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30202         bits/timex.h.
30203
30204 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30205
30206         * iconv/iconv.h: Fix typo in comment.
30207         * io/fcntl.h: Likewise.
30208         * libio/stdio.h: Likewise.
30209         * posix/spawn.h: Likewise.
30210         * posix/unistd.h: Likewise.
30211         * stdlib/stdlib.h: Likewise.
30212         * time/time.h: Likewise.
30213         * wcsmbs/wchar.h: Likewise.
30214
30215         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30216         open_by_handle): Add.
30217         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30218         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
30219         Augment a few comments.
30220         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30221         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30222         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30223         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30224         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30225         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30226         open_by_handle.
30227
30228         * io/fcntl.h (AT_EMPTY_PATH): Define.
30229
30230 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
30231
30232         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30233         * sysdeps/unix/sysv/linux/bits/time.h: New file.
30234         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30235         to...
30236         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
30237         * Versions.def: Add GLIBC_2.14.
30238         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30239         Export.
30240
30241 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
30242
30243         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30244         round counter.
30245         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30246
30247 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
30248
30249         [BZ #12597]
30250         * string/test-strncmp.c (do_page_test): New function.
30251         (check2): Likewise.
30252         (test_main): Call check2.
30253         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30254
30255 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
30256
30257         [BZ #12587]
30258         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30259         Handle cache information in CPU leaf 4.
30260         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30261
30262 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
30263
30264         [BZ #12583]
30265         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30266         character representation.
30267         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30268
30269 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
30270
30271         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30272         END(__isnan) to END(__isnanf) to match function entry point/label
30273         EALIGN(__isnanf,...).
30274
30275 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
30276
30277         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30278
30279 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
30280
30281         [BZ #12510]
30282         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30283         copy from the symbol referenced in the relocation to initialize the
30284         used variable.
30285         Patch by Piotr Bury <pbury@goahead.com>.
30286         * elf/Makefile: Add rules to build and tst-unique3.
30287         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30288         * elf/tst-unique3.cc: New file.
30289         * elf/tst-unique3.h: New file.
30290         * elf/tst-unique3lib.cc: New file.
30291         * elf/tst-unique3lib2.cc: New file.
30292
30293         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30294
30295 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
30296
30297         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30298         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
30299         to _start.
30300
30301 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
30302
30303         * elf/dl-load.c (_dl_map_object): If we are looking for the first
30304         to-be-loaded object along a path to loader is ld.so.
30305
30306 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
30307             Ulrich Drepper  <drepper@gmail.com>
30308
30309         * sysdeps/x86_64/memset.S: After aligning destination, code
30310         branches to different locations depending on the value of
30311         misalignment, when multiarch is enabled. Fix this.
30312
30313 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
30314
30315         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30316         Set _x86_64_preferred_memory_instruction for AMD processsors.
30317         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30318         Set bit_Prefer_SSE_for_memop for AMD processors.
30319
30320 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
30321
30322         * libio/fmemopen.c (fmemopen): Optimize a bit.
30323
30324 2011-03-03  Andreas Schwab  <schwab@redhat.com>
30325
30326         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30327
30328 2011-03-03  Roland McGrath  <roland@redhat.com>
30329
30330         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30331
30332 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
30333
30334         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30335         __bzero_ultra1 instead of __memset_ultra1.
30336
30337 2011-02-23  Andreas Schwab  <schwab@redhat.com>
30338             Ulrich Drepper  <drepper@gmail.com>
30339
30340         [BZ #12509]
30341         * include/link.h (struct link_map): Add l_orig_initfini.
30342         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30343         returning unsuccessfully.
30344         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30345         close of a file loaded at startup, restore the original l_initfini
30346         list.
30347         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30348         list, store the pointer.
30349         * elf/Makefile ($(objpfx)noload-mem): New rule.
30350         (noload-ENV): Define.
30351         (tests): Add $(objpfx)noload-mem.
30352         * elf/noload.c: Include <memcheck.h>.
30353         (main): Call mtrace.  Close all opened handles.
30354
30355 2011-02-17  Andreas Schwab  <schwab@redhat.com>
30356
30357         [BZ #12454]
30358         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30359         dependencies are missing.
30360
30361 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30362
30363         Fix __if_freereq crash: Unlike the generic version which uses free,
30364         Hurd needs munmap.
30365         * sysdeps/mach/hurd/ifreq.h: New file.
30366
30367 2011-01-27  Petr Baudis  <pasky@suse.cz>
30368             Ulrich Drepper  <drepper@gmail.com>
30369
30370         [BZ 12445]#
30371         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30372         to extend_alloca().
30373         * stdio-common/bug23.c: New file.
30374         * stdio-common/Makefile (tests): Add bug23.
30375
30376 2010-09-28  Andreas Schwab  <schwab@redhat.com>
30377             Ulrich Drepper  <drepper@gmail.com>
30378
30379         [BZ #12489]
30380         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30381         before performing relro protection.  At old place add assertion
30382         to make sure nothing changed.
30383
30384 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
30385             Glauber de Oliveira Costa  <glommer@gmail.com>
30386
30387         * elf/elf.h: Add new ARM TLS relocs.
30388
30389 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
30390
30391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30392         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30393         cast from r3.
30394         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
30395         'tests' variable.
30396         * sysdeps/wordsize-64/tst-writev.c: New file.
30397
30398 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
30399
30400         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30401         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30402         insns in _dl_start to prevent a TOC reference before relocs are
30403         resolved.
30404
30405 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
30406
30407         [BZ #12469]
30408         * Makeconfig: Remove RANLIB definition.
30409         * Makerules: Don't use RANLIB.
30410         * aclocal.m4: Remove ranlib test.
30411         * configure.in: No need to check for ranlib.
30412         * elf/rtld-Rules: Don't use RANLIB.
30413
30414 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30415
30416         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30417         protection macro.
30418         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30419         inclusion protection macro.
30420
30421         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30422         SIGRTMIN and SIGRTMAX and print information in that case only when
30423         SIGRTMIN is defined.
30424
30425 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
30426
30427         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30428         arginfo fn returning -1.
30429
30430         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30431         and thousands string is zero terminated.
30432
30433 2011-02-03  Andreas Schwab  <schwab@redhat.com>
30434
30435         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30436         sysdeps/unix/sysv/linux/bits/socket.h.
30437
30438 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30439
30440         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30441         (__CPU_COUNT): Remove old macros.
30442         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30443         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30444         (__CPU_ALLOC, __CPU_FREE): Add macros.
30445         (__sched_cpualloc, __sched_cpufree): Add declarations.
30446
30447 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
30448
30449         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30450         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30451         * nscd/aicache.c (addhstaiX): Return timeout of added value.
30452         (readdhstai): Return value of addhstaiX call.
30453         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30454         (addgrbyX): Return value returned by cache_addgr.
30455         (readdgrbyname): Return value returned by addgrbyX.
30456         (readdgrbygid): Likewise.
30457         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30458         (addpwbyX): Return value returned by cache_addpw.
30459         (readdpwbyname): Return value returned by addhstbyX.
30460         (readdpwbyuid): Likewise.
30461         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30462         (addservbyX): Return value returned by cache_addserv.
30463         (readdservbyname): Return value returned by addservbyX:
30464         (readdservbyport): Likewise.
30465         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30466         (addhstbyX): Return value returned by cache_addhst.
30467         (readdhstbyname): Return value returned by addhstbyX.
30468         (readdhstbyaddr): Likewise.
30469         (readdhstbynamev6): Likewise.
30470         (readdhstbyaddrv6): Likewise.
30471         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30472         (readdinitgroups): Return value returned by addinitgroupsX.
30473         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30474         (prune_cache): Keep track of timeout value of re-added entries.
30475         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30476         * nscd/nscd.h: Adjust prototypes of readd* functions.
30477
30478 2011-02-04  Roland McGrath  <roland@redhat.com>
30479
30480         * nis/nis_server.c (nis_servstate): Use the right name for 0.
30481         (nis_stats): Likewise.
30482         * nis/nis_modify.c (nis_modify): Likewise.
30483         * nis/nis_remove.c (nis_remove): Likewise.
30484         * nis/nis_add.c (nis_add): Likewise.
30485
30486         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30487
30488         * posix/fnmatch_loop.c: Add some consts.
30489
30490         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30491
30492 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
30493
30494         [BZ #12460]
30495         * config.make.in (config-cflags-novzeroupper): Define.
30496         * configure.in: Substitute libc_cv_cc_novzeroupper.
30497         * elf/Makefile (AVX-CFLAGS): Define.
30498         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30499         (CFLAGS-tst-auditmod4a.c): Likewise.
30500         (CFLAGS-tst-auditmod4b.c): Likewise.
30501         (CFLAGS-tst-auditmod6b.c): Likewise.
30502         (CFLAGS-tst-auditmod6c.c): Likewise.
30503         (CFLAGS-tst-auditmod7b.c): Likewise.
30504         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30505
30506 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
30507
30508         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30509         function to the callback.
30510         Patch partly by Jiri Olsa <jolsa@redhat.com>.
30511
30512 2011-02-02  Andreas Schwab  <schwab@redhat.com>
30513
30514         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30515         of errno.
30516
30517 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
30518
30519         [BZ #11724]
30520         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30521         of constructors.
30522         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30523         of destructors.
30524         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30525
30526         [BZ #11724]
30527         * elf/Makefile: Add rules to build and run new test.
30528         * elf/tst-initorder.c: New file.
30529         * elf/tst-initorder.exp: New file.
30530         * elf/tst-initordera1.c: New file.
30531         * elf/tst-initordera2.c: New file.
30532         * elf/tst-initordera3.c: New file.
30533         * elf/tst-initordera4.c: New file.
30534         * elf/tst-initorderb1.c: New file.
30535         * elf/tst-initorderb2.c: New file.
30536         * elf/tst-order-a1.c: New file.
30537         * elf/tst-order-a2.c: New file.
30538         * elf/tst-order-a3.c: New file.
30539         * elf/tst-order-a4.c: New file.
30540         * elf/tst-order-b1.c: New file.
30541         * elf/tst-order-b2.c: New file.
30542         * elf/tst-order-main.c: New file.
30543         New test case by George Gensure <werkt0@gmail.com>.
30544
30545 2010-10-01  Andreas Schwab  <schwab@redhat.com>
30546
30547         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30548         decoding ACE if AI_CANONIDN.
30549
30550 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
30551
30552         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30553
30554 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
30555
30556         * version.h (RELEASE): Bump for 2.13 release.
30557         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30558
30559         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30560
30561         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30562         MADV_NOHUGEPAGE.
30563         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30564         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30565         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30566         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30567         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30568         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30569
30570         * posix/getconf.c: Update copyright year.
30571         * catgets/gencat.c: Likewise.
30572         * csu/version.c: Likewise.
30573         * debug/catchsegv.sh: Likewise.
30574         * debug/xtrace.sh: Likewise.
30575         * elf/ldconfig.c: Likewise.
30576         * elf/ldd.bash.in: Likewise.
30577         * elf/sprof.c (print_version): Likewise.
30578         * iconv/iconv_prog.c: Likewise.
30579         * iconv/iconvconfig.c: Likewise.
30580         * locale/programs/locale.c: Likewise.
30581         * locale/programs/localedef.c: Likewise.
30582         * malloc/memusage.sh: Likewise.
30583         * malloc/mtrace.pl: Likewise.
30584         * nscd/nscd.c (print_version): Likewise.
30585         * nss/getent.c: Likewise.
30586
30587         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30588         PF_CAIF, and PF_ALG.
30589         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30590
30591 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
30592
30593         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30594         (modules-names): Use them.
30595         (ifunc-test-modules, ifunc-pie-tests): Define.
30596         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30597         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30598         (test-extras): Likewise.
30599         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30600         $(compile-command.c).
30601         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30602         (all-built-dso): Define.
30603         (check-textrel.out, check-execstack.out): Depend on it.
30604
30605         * configure.in: Don't override --enable-multi-arch.
30606
30607 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
30608
30609         [BZ #6812]
30610         * nscd/hstcache.c (tryagain): Define.
30611         (cache_addhst): Return tryagain not notfound for temporary errors.
30612         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30613         failed.
30614
30615 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
30616
30617         [BZ #10563]
30618         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30619         to make the syscall.
30620         * sysdeps/unix/sysv/linux/setgroups.c: New file.
30621
30622         [BZ #12378]
30623         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30624         and fall back to matching as normal character if the string ends before
30625         the matching ']' is found.  This is what POSIX requires.
30626         * posix/testfnm.c: Adjust test result.
30627         * posix/globtest.sh: Adjust test result.  Add new test.
30628         * posix/tst-fnmatch.input: Likewise.
30629         * posix/tst-fnmatch2.c: Add new test.
30630
30631 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
30632
30633         * elf/Makefile (check-execstack): Revert last change.  Depend on
30634         check-execstack.h.
30635         (check-execstack.h): New target.
30636         (generated): Add check-execstack.h.
30637         * elf/check-execstack.c: Include "check-execstack.h".
30638         (main): Revert last change.
30639         (handle_file): Return zero if GNU_STACK is absent and
30640         DEFAULT_STACK_PERMS doesn't include PF_X.
30641
30642 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
30643
30644         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30645         in child fails because the descriptor is already closed.
30646         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30647         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30648         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
30649
30650         [BZ #12397]
30651         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30652         syscall.
30653
30654         [BZ #10484]
30655         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30656         temporary buffer used to handle multi lookups locally.
30657         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
30658
30659 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
30660
30661         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30662         loader is ld.so.
30663
30664 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
30665
30666         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30667         alignment for SSE2.
30668
30669 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
30670
30671         [BZ #12394]
30672         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30673         characters.  When rounding increased number of integer digits recompute
30674         number of groups.
30675         * stdio-common/tst-grouping.c: New file.
30676         * stdio-common/Makefile: Add rules to build and run tst-grouping.
30677
30678 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
30679
30680         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30681         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
30682
30683         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30684         void.
30685         * bits/select.h: Likewise.
30686
30687 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
30688
30689         * po/ja.po: Update from translation team.
30690
30691 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
30692
30693         [BZ #11155]
30694         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30695         implementation just like for lxstat, fxstatat, et al.
30696
30697 2010-12-27  Jim Meyering  <meyering@redhat.com>
30698
30699         [BZ #12348]
30700         * posix/regexec.c (build_trtable): Return failure indication upon
30701         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
30702
30703 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
30704
30705         [BZ #12201]
30706         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30707         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30708         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30709         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30710
30711         [BZ #12207]
30712         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30713
30714         [BZ #12204]
30715         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30716         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30717
30718 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
30719
30720         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30721         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30722         script has SORT_BY_INIT_PRIORITY.
30723         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30724         NO_CTORS_DTORS_SECTIONS is defined.
30725         * elf/soinit.c: Likewise.
30726         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30727         NO_CTORS_DTORS_SECTIONS is defined.
30728         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30729         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30730         * sysdeps/sh/init-first.c: Likewise.
30731         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30732
30733 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
30734
30735         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30736         always use the slow path.
30737
30738 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
30739
30740         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30741         similar rule which adds the sysdep directories to the header search in
30742         order to pick up the correct platform stackinfo.h.
30743         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30744         perform test if it is, otherwise return successfully without testing.
30745         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30746         DEFAULT_STACK_PERMS define in stackinfo.h.
30747         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30748         defined in stackinfo.h.
30749         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30750         DEFAULT_STACK_PERMS defined in stackinfo.h.
30751         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30752         * sysdeps/ia64/stackinfo.h: Likewise.
30753         * sysdeps/s390/stackinfo.h: Likewise.
30754         * sysdeps/sh/stackinfo.h: Likewise.
30755         * sysdeps/sparc/stackinfo.h: Likewise.
30756         * sysdeps/x86_64/stackinfo.h: Likewise.
30757         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30758         PF_X for powerpc64.  Retain PF_X for powerpc32.
30759
30760 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
30761
30762         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30763         accurately.
30764         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30765         GETDENTS_64BIT_ALIGNED.
30766
30767 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
30768
30769         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
30770
30771 2010-12-10  Andreas Schwab  <schwab@redhat.com>
30772
30773         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30774         _GNU_SOURCE.
30775
30776         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30777         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30778         Remove __restrict.
30779         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30780         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30781
30782 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
30783
30784         [BZ #11655]
30785         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30786         are initialized.
30787
30788 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
30789
30790         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30791
30792 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
30793
30794         * po/it.po: Update from translation team.
30795
30796 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
30797
30798         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30799         unused codes.
30800
30801 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
30802
30803         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30804
30805 2010-11-24  Andreas Schwab  <schwab@redhat.com>
30806
30807         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30808         specially.
30809         (gaih_getanswer_slice): Likewise.
30810
30811 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
30812
30813         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30814
30815 2010-05-31  Petr Baudis  <pasky@suse.cz>
30816
30817         [BZ #11149]
30818         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30819         silently even in the chroot mode.
30820
30821 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
30822
30823         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30824         last patch a bit.  Pretty printing
30825
30826 2010-05-31  Petr Baudis <pasky@suse.cz>
30827
30828         [BZ #10085]
30829         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30830         initialization of skip_initgroups_dyn.
30831
30832 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
30833
30834         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30835         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30836
30837 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
30838
30839         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30840
30841 2010-11-11  Andreas Schwab  <schwab@redhat.com>
30842
30843         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30844         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30845         (tst-fnmatch-ENV): Set MALLOC_TRACE.
30846         ($(objpfx)tst-fnmatch-mem): New rule.
30847         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30848         * posix/tst-fnmatch.c (main): Call mtrace.
30849
30850 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
30851
30852         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30853         Support Intel processor model 6 and model 0x2c.
30854
30855 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
30856
30857         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30858           signed comparison.
30859
30860 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
30861
30862         [BZ #12205]
30863         * string/test-strncasecmp.c (check_result): New function.
30864         (do_one_test): Use it.
30865         (check1): New function.
30866         (test_main): Use it.
30867         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30868         Support strcasecmp and strncasecmp.
30869
30870 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
30871
30872         [BZ #12194]
30873         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30874         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30875
30876 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
30877
30878         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30879         IFUNC support.
30880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30881         memset-x86-64.
30882         * sysdeps/x86_64/multiarch/bzero.S: New file.
30883         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30884         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30885         * sysdeps/x86_64/multiarch/memset.S: New file.
30886         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30887         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30888         Set bit_Prefer_SSE_for_memop for Intel processors.
30889         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30890         Define.
30891         (index_Prefer_SSE_for_memop): Define.
30892         (HAS_PREFER_SSE_FOR_MEMOP): Define.
30893
30894 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
30895
30896         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30897         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30898
30899 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
30900
30901         [BZ #12191]
30902         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30903         (__x86_64_raw_data_cache_size_half): Likewise.
30904         (__x86_64_raw_shared_cache_size): Likewise.
30905         (__x86_64_raw_shared_cache_size_half): Likewise.
30906
30907         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30908         (__x86_64_raw_data_cache_size_half): Likewise.
30909         (__x86_64_raw_shared_cache_size): Likewise.
30910         (__x86_64_raw_shared_cache_size_half): Likewise.
30911         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30912         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30913         and __x86_64_raw_shared_cache_size_half.  Round
30914         __x86_64_data_cache_size_half, __x86_64_data_cache_size
30915         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30916         to multiple of 256 bytes.
30917
30918 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
30919
30920         [BZ #12167]
30921         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30922         of inacessible symlinks.  Verify result of symlink before returning it.
30923         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30924         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30925
30926 2010-10-28  Erich Ritz  <erichritz@gmail.com>
30927
30928         * math/math.h (isinf): Fix typo in comment.
30929
30930 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
30931
30932         * po/da.po: Update from translation team.
30933
30934 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
30935
30936         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30937         is added to the list.
30938
30939 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30940             Ulrich Drepper  <drepper@gmail.com>
30941
30942         * elf/dl-object.c (_dl_new_object): Don't append the new object to
30943         the global list here.  Move code to...
30944         (_dl_add_to_namespace_list): ...here.  New function.
30945         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30946         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30947         * elf/dl-load.c (lose): Don't remove the element from the list.
30948         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30949         (_dl_map_object): Likewise.
30950
30951 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
30952
30953         [BZ #12159]
30954         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30955         into all bytes of SSE register.
30956         Patch by Richard Li <richardpku@gmail.com>.
30957
30958 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
30959
30960         [BZ #12140]
30961         * malloc/malloc.c (_int_free): Fill correct number of bytes when
30962         perturbing.
30963
30964 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
30965
30966         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30967         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30968         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30969         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30971         submachine.
30972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30973
30974 2010-10-22  Andreas Schwab  <schwab@redhat.com>
30975
30976         * include/dlfcn.h (__RTLD_SECURE): Define.
30977         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
30978         mode & __RTLD_SECURE instead.
30979         (open_path): Rename preloaded parameter to secure.
30980         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30981         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30982         * elf/dl-deps.c (openaux): Likewise.
30983         * elf/rtld.c (struct map_args): Remove is_preloaded.
30984         (map_doit): Don't use it.
30985         (dl_main): Likewise.
30986         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30987         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30988
30989 2010-09-09  Andreas Schwab  <schwab@redhat.com>
30990
30991         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30992         (sysd-rules-targets): Remove duplicates.
30993         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30994         rtld-%.$o dependency.
30995
30996 2010-10-18  Andreas Schwab  <schwab@redhat.com>
30997
30998         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30999         _dl_map_object do it.
31000
31001 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
31002
31003         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31004         fast fma builtins, define the macros in the C99 standard.
31005         (FP_FAST_FMAF): Likewise.
31006         (FP_FAST_FMAL): Likewise.
31007         * sysdeps/x86_64/bits/mathdef.h: Likewise.
31008
31009         * bits/mathdef.h: Update copyright year.
31010         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31011
31012 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
31013
31014         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31015         builtins, define the macros in the C99 standard.
31016         (FP_FAST_FMAF): Likewise.
31017         (FP_FAST_FMAL): Likewise.
31018         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31019         multiply/add.
31020         (FP_FAST_FMAF): Likewise.
31021
31022 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
31023
31024         [BZ #3268]
31025         * math/libm-test.inc (fma_test): Some new testcases.
31026         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31027         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31028         y and infinite z.  Do multiplication by C already in long double.
31029         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31030         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31031         y and infinite z.  Do bitwise or of inexact bit into u.d.
31032         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31033         * sysdeps/i386/fpu/s_fmaf.S: Removed.
31034         * sysdeps/i386/fpu/s_fma.S: Removed.
31035         * sysdeps/i386/fpu/s_fmal.S: Removed.
31036
31037 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
31038
31039         [BZ #3268]
31040         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31041         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31042         computation is not scheduled after fetestexcept.  Fix value
31043         of minimum denormal long double.
31044
31045 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
31046
31047         [BZ #3268]
31048         * math/libm-test.inc (fma_test): Add some more tests.
31049         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31050         correctly.
31051
31052 2010-10-15  Andreas Schwab  <schwab@redhat.com>
31053
31054         * scripts/data/localplt-s390-linux-gnu.data: New file.
31055         * scripts/data/localplt-s390x-linux-gnu.data: New file.
31056
31057 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
31058
31059         [BZ #3268]
31060         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31061         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31062         instead of dbl-64.
31063         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31064         inlines.
31065         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31066         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31067         if one of x and y is very large and the other is subnormal.
31068         * sysdeps/s390/fpu/s_fmaf.c: New file.
31069         * sysdeps/s390/fpu/s_fma.c: New file.
31070         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31071         * sysdeps/powerpc/fpu/s_fma.S: New file.
31072         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31073         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31074         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31075
31076 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
31077
31078         [BZ #3268]
31079         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31080         fma tests.
31081         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31082         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31083         * sysdeps/i386/i686/multiarch/s_fma.c: Include
31084         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31085         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31086         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31087         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31088
31089 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
31090
31091         [BZ #12078]
31092         * posix/regcomp.c (parse_branch): One more memory leak plugged.
31093         * posix/bug-regex31.input: Add test case.
31094
31095 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
31096
31097         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31098         * posix/bug-regex31.input: New file.
31099
31100         [BZ #12078]
31101         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31102         (parse_sub_exp): Fix last change, use postorder.
31103
31104         * posix/bug-regex31.c: New file.
31105         * posix/Makefile: Add rules to build and run bug-regex31.
31106
31107         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31108
31109         [BZ #12078]
31110         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31111
31112         [BZ #12108]
31113         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31114         to have entries in sys_siglist.
31115
31116         [BZ #12093]
31117         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31118         be NULL.
31119
31120 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
31121
31122         [BZ #3268]
31123         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31124         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31125         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31126         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31127         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31128         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31129         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31130         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31131         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31132         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31133         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31134         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31135         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31136         * math/ftestexcept.c (fetestexcept): Likewise.
31137         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31138         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31139         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31140         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31141         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31142         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31143         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31144
31145 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
31146
31147         [BZ #12107]
31148         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31149         newline.
31150
31151 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
31152
31153         * string/bug-strstr1.c: New file.
31154         * string/Makefile: Add rules to build and run bug-strstr1.
31155
31156 2010-10-05  Eric Blake  <eblake@redhat.com>
31157
31158         [BZ #12092]
31159         * string/str-two-way.h (two_way_long_needle): Always clear memory
31160         when skipping input due to the shift table.
31161
31162 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
31163
31164         [BZ #12005]
31165         * malloc/mcheck.c: Handle large requests.
31166
31167         [BZ #12077]
31168         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31169         for strncmp and strncasecmp.
31170         * string/stratcliff.c: Add tests for strcmp and strncmp.
31171         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31172
31173 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31174
31175         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31176         __set_fpscr.
31177
31178 2010-09-30  Andreas Jaeger  <aj@suse.de>
31179
31180         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31181         (CGROUP_SUPER_MAGIC): Define.
31182         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31183         Handle btrfs and cgroup file systems.
31184         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31185         Likewise.
31186
31187 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
31188
31189         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31190         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31191
31192 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31193
31194         [BZ #12067]
31195         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31196         trying to locate the ELF header.
31197
31198 2010-09-27  Andreas Schwab  <schwab@redhat.com>
31199
31200         [BZ #11611]
31201         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31202         Mask out sign-bit copies when constructing f_fsid.
31203
31204 2010-09-24  Petr Baudis <pasky@suse.cz>
31205
31206         * debug/stack_chk_fail_local.c: Add missing licence exception.
31207         * debug/warning-nop.c: Likewise.
31208
31209 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
31210
31211         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31212         implementing getdents64 using getdents syscall, set d_type if
31213         __ASSUME_GETDENTS32_D_TYPE.
31214
31215 2010-09-16  Andreas Schwab  <schwab@redhat.com>
31216
31217         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31218         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31219
31220 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
31221
31222         [BZ #12037]
31223         * posix/unistd.h: Undo change of feature selection for ftruncate from
31224         2010-01-11.
31225
31226 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
31227
31228         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31229         detection.
31230
31231 2010-09-20  Andreas Schwab  <schwab@redhat.com>
31232
31233         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31234         fanotify_mark.
31235         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31236
31237 2010-09-14  Andreas Schwab  <schwab@redhat.com>
31238
31239         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31240         variables after CHECK_SP call.
31241         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31242
31243 2010-09-13  Andreas Schwab  <schwab@redhat.com>
31244             Ulrich Drepper  <drepper@redhat.com>
31245
31246         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31247         re-relocationg ld.so.
31248         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31249         _dl_init_paths call.
31250         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
31251         here anymore.
31252
31253 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
31254
31255         * resolv/res_init.c (__res_vinit): Count the default server we added.
31256
31257 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
31258             Ulrich Drepper  <drepper@redhat.com>
31259
31260         [BZ #11968]
31261         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31262         (____longjmp_chk): Use %ebx for saving value across system call.
31263         Add unwind info.
31264
31265 2010-09-06  Andreas Schwab  <schwab@redhat.com>
31266
31267         * manual/Makefile: Don't mix pattern rules with normal rules.
31268
31269 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31270
31271         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31272         operation.
31273         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31274         * libio/iofopncook.c (_IO_cookie_init): Likewise.
31275         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31276         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31277         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31278         Likewise.
31279
31280 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
31281
31282         [BZ #11979]
31283         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31284         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31285
31286 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
31287
31288         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31289         * sysdeps/x86_64/addmul_1.S: Likewise.
31290         * sysdeps/x86_64/lshift.S: Likewise.
31291         * sysdeps/x86_64/mul_1.S: Likewise.
31292         * sysdeps/x86_64/rshift.S: Likewise.
31293         * sysdeps/x86_64/sub_n.S: Likewise.
31294         * sysdeps/x86_64/submul_1.S: Likewise.
31295
31296 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31297
31298         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31299         Define __sched_param instead of SCHED_* and sched_param when
31300         <bits/sched.h> is included with __need_schedparam defined.
31301         * bits/sched.h [__need_schedparam]
31302         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31303         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31304         (__defined_schedparam): Define to 1.
31305         (__sched_param): New structure, identical to sched_param.
31306         (__need_schedparam): Undefine.
31307
31308 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
31309
31310         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31311         (epoll_create1): Declare.
31312
31313         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31314
31315 2010-08-31  Andreas Schwab  <schwab@redhat.com>
31316
31317         [BZ #7066]
31318         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31319         shifting retval into place.
31320
31321 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
31322
31323         * nis/rpcsvc/nis.h: Update copyright notice.
31324         * nis/rpcsvc/nis.x: Likewise.
31325         * nis/rpcsvc/nis_callback.h: Likewise.
31326         * nis/rpcsvc/nis_callback.x: Likewise.
31327         * nis/rpcsvc/nis_object.x: Likewise.
31328         * nis/rpcsvc/nis_tags.h: Likewise.
31329         * nis/rpcsvc/yp.h: Likewise.
31330         * nis/rpcsvc/yp.x: Likewise.
31331         * nis/rpcsvc/ypupd.h: Likewise.
31332         * nis/yp_xdr.c: Likewise.
31333         * nis/ypupdate_xdr.c: Likewise.
31334
31335         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
31336         mainly the body of pmap_getport.  Add parameters to specify timeouts.
31337         (pmap_getport): Use __libc_rpc_getport.
31338         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31339         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31340         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31341
31342 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
31343
31344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31345         fanotify_mark.
31346
31347 2010-08-27  Roland McGrath  <roland@redhat.com>
31348
31349         * sysdeps/i386/i686/multiarch/Makefile
31350         (CFLAGS-varshift.c): New variable.
31351
31352 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
31353
31354         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31355         * sysdeps/i386/i686/multiarch/varshift.c: New file.
31356
31357         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31358
31359         * sysdeps/x86_64/strlen.S: Minimal code improvement.
31360
31361 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
31362
31363         * sysdeps/x86_64/strlen.S: Unroll the loop.
31364         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31365         strlen-sse2 strlen-sse2-bsf.
31366         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31367         __strlen_no_bsf if bit_Slow_BSF is set.
31368         (__strlen_sse42): Removed.
31369         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31370         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31371
31372 2010-08-25  Roland McGrath  <roland@redhat.com>
31373
31374         * sysdeps/x86_64/multiarch/varshift.S: File removed.
31375         * sysdeps/x86_64/multiarch/varshift.c: New file.
31376         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31377         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31378         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31379         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31380
31381 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31382
31383         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31384         strlen-sse2 strlen-sse2-bsf.
31385         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31386         __strlen_sse2_bsf if bit_Slow_BSF is unset.
31387         (__strlen_sse2): Removed.
31388         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31389         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31390         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31391         bit_Slow_BSF for Atom.
31392         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31393         (index_Slow_BSF): Define.
31394         (HAS_SLOW_BSF): Define.
31395
31396 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
31397
31398         [BZ #10851]
31399         * resolv/res_init.c (__res_vinit): When no server address at all
31400         is given default to loopback.
31401
31402 2010-08-24  Roland McGrath  <roland@redhat.com>
31403
31404         * configure.in: Remove config-name.h generation.
31405         * configure: Regenerated.
31406         * config-name.in: File removed.
31407         * scripts/config-uname.sh: New file.
31408         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31409         ($(objdir)config-name.h): New target.
31410
31411         * sunrpc/rpc_parse.h: Avoid nested comment.
31412
31413 2010-08-24  Richard Henderson  <rth@redhat.com>
31414             Ulrich Drepper  <drepper@redhat.com>
31415             H.J. Lu  <hongjiu.lu@intel.com>
31416
31417         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31418         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31419         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31420         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
31421         _mm_alignr_epi8 with _mm_loadu_si128.
31422         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31423         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31424         (__m128i_shift_right): Removed.
31425         * sysdeps/i386/i686/multiarch/varshift.h: New file.
31426         * sysdeps/i386/i686/multiarch/varshift.S: New file.
31427         * sysdeps/x86_64/multiarch/varshift.h: New file.
31428         * sysdeps/x86_64/multiarch/varshift.S: New file.
31429
31430 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
31431
31432         * configure.in: Move assembler checks to before sysdep dir checking.
31433
31434 2010-08-20  Petr Baudis  <pasky@suse.cz>
31435
31436         * LICENSES: Sync the sunrpc license.
31437
31438 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
31439
31440         * sunrpc/auth_des.c: Update copyright notice once again.
31441         * sunrpc/auth_none.c: Likewise.
31442         * sunrpc/auth_unix.c: Likewise.
31443         * sunrpc/authdes_prot.c: Likewise.
31444         * sunrpc/authuxprot.c: Likewise.
31445         * sunrpc/bindrsvprt.c: Likewise.
31446         * sunrpc/clnt_gen.c: Likewise.
31447         * sunrpc/clnt_perr.c: Likewise.
31448         * sunrpc/clnt_raw.c: Likewise.
31449         * sunrpc/clnt_simp.c: Likewise.
31450         * sunrpc/clnt_tcp.c: Likewise.
31451         * sunrpc/clnt_udp.c: Likewise.
31452         * sunrpc/clnt_unix.c: Likewise.
31453         * sunrpc/des_crypt.c: Likewise.
31454         * sunrpc/des_soft.c: Likewise.
31455         * sunrpc/get_myaddr.c: Likewise.
31456         * sunrpc/getrpcport.c: Likewise.
31457         * sunrpc/key_call.c: Likewise.
31458         * sunrpc/key_prot.c: Likewise.
31459         * sunrpc/openchild.c: Likewise.
31460         * sunrpc/pm_getmaps.c: Likewise.
31461         * sunrpc/pm_getport.c: Likewise.
31462         * sunrpc/pmap_clnt.c: Likewise.
31463         * sunrpc/pmap_prot.c: Likewise.
31464         * sunrpc/pmap_prot2.c: Likewise.
31465         * sunrpc/pmap_rmt.c: Likewise.
31466         * sunrpc/rpc/auth.h: Likewise.
31467         * sunrpc/rpc/auth_unix.h: Likewise.
31468         * sunrpc/rpc/clnt.h: Likewise.
31469         * sunrpc/rpc/des_crypt.h: Likewise.
31470         * sunrpc/rpc/key_prot.h: Likewise.
31471         * sunrpc/rpc/netdb.h: Likewise.
31472         * sunrpc/rpc/pmap_clnt.h: Likewise.
31473         * sunrpc/rpc/pmap_prot.h: Likewise.
31474         * sunrpc/rpc/pmap_rmt.h: Likewise.
31475         * sunrpc/rpc/rpc.h: Likewise.
31476         * sunrpc/rpc/rpc_des.h: Likewise.
31477         * sunrpc/rpc/rpc_msg.h: Likewise.
31478         * sunrpc/rpc/svc.h: Likewise.
31479         * sunrpc/rpc/svc_auth.h: Likewise.
31480         * sunrpc/rpc/types.h: Likewise.
31481         * sunrpc/rpc/xdr.h: Likewise.
31482         * sunrpc/rpc_clntout.c: Likewise.
31483         * sunrpc/rpc_cmsg.c: Likewise.
31484         * sunrpc/rpc_common.c: Likewise.
31485         * sunrpc/rpc_cout.c: Likewise.
31486         * sunrpc/rpc_dtable.c: Likewise.
31487         * sunrpc/rpc_hout.c: Likewise.
31488         * sunrpc/rpc_main.c: Likewise.
31489         * sunrpc/rpc_parse.c: Likewise.
31490         * sunrpc/rpc_parse.h: Likewise.
31491         * sunrpc/rpc_prot.c: Likewise.
31492         * sunrpc/rpc_sample.c: Likewise.
31493         * sunrpc/rpc_scan.c: Likewise.
31494         * sunrpc/rpc_scan.h: Likewise.
31495         * sunrpc/rpc_svcout.c: Likewise.
31496         * sunrpc/rpc_tblout.c: Likewise.
31497         * sunrpc/rpc_util.c: Likewise.
31498         * sunrpc/rpc_util.h: Likewise.
31499         * sunrpc/rpcinfo.c: Likewise.
31500         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31501         * sunrpc/rpcsvc/key_prot.x: Likewise.
31502         * sunrpc/rpcsvc/klm_prot.x: Likewise.
31503         * sunrpc/rpcsvc/mount.x: Likewise.
31504         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31505         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31506         * sunrpc/rpcsvc/rex.x: Likewise.
31507         * sunrpc/rpcsvc/rstat.x: Likewise.
31508         * sunrpc/rpcsvc/rusers.x: Likewise.
31509         * sunrpc/rpcsvc/sm_inter.x: Likewise.
31510         * sunrpc/rpcsvc/spray.x: Likewise.
31511         * sunrpc/rpcsvc/yppasswd.x: Likewise.
31512         * sunrpc/rtime.c: Likewise.
31513         * sunrpc/svc.c: Likewise.
31514         * sunrpc/svc_auth.c: Likewise.
31515         * sunrpc/svc_authux.c: Likewise.
31516         * sunrpc/svc_raw.c: Likewise.
31517         * sunrpc/svc_run.c: Likewise.
31518         * sunrpc/svc_simple.c: Likewise.
31519         * sunrpc/svc_tcp.c: Likewise.
31520         * sunrpc/svc_udp.c: Likewise.
31521         * sunrpc/svc_unix.c: Likewise.
31522         * sunrpc/svcauth_des.c: Likewise.
31523         * sunrpc/xcrypt.c: Likewise.
31524         * sunrpc/xdr.c: Likewise.
31525         * sunrpc/xdr_array.c: Likewise.
31526         * sunrpc/xdr_float.c: Likewise.
31527         * sunrpc/xdr_mem.c: Likewise.
31528         * sunrpc/xdr_rec.c: Likewise.
31529         * sunrpc/xdr_ref.c: Likewise.
31530         * sunrpc/xdr_sizeof.c: Likewise.
31531         * sunrpc/xdr_stdio.c: Likewise.
31532
31533         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31534         handling.
31535
31536 2010-08-19  Andreas Schwab  <schwab@redhat.com>
31537
31538         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31539
31540 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
31541
31542         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31543         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31544         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31545         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31546         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31547         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31548         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31549         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31550         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31551         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31552         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31553         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31554         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31555         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31556
31557 2010-07-26  Anton Blanchard  <anton@samba.org>
31558
31559         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31560         * malloc/arena.c (heap_trim): Likewise.
31561
31562 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
31563
31564         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31565         here.  Not...
31566         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31567         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31568
31569 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31570
31571         * sysdeps/i386/elf/Makefile: New file.
31572
31573 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
31574
31575         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31576         from fanotify_init.
31577         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31578         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31579
31580 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
31581
31582         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31583         of strncasecmp_l.
31584         * sysdeps/multiarch/strcmp.S: Likewise.
31585
31586 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
31587
31588         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31589         strncase_l-nonascii.
31590         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31591         Add strncase_l-ssse3.
31592         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31593         * sysdeps/x86_64/strcmp.S: Likewise.
31594         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31595         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31596         * sysdeps/x86_64/strncase.S: New file.
31597         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31598         * sysdeps/x86_64/strncase_l.S: New file.
31599         * string/Makefile (strop-tests): Add strncasecmp.
31600         * string/test-strncasecmp.c: New file.
31601
31602         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31603         warning.
31604
31605         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31606         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31607
31608 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
31609
31610         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31611
31612 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
31613
31614         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31615         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31616         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31617
31618 2010-05-01  Alan Modra  <amodra@gmail.com>
31619
31620         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31621         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31622         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31623         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31624         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31625         tidying.  Don't tail-call __sigjmp_save for static lib.
31626         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31627         save location.
31628         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31629         (CALL_MCOUNT): Add eh info, and nop after bl.
31630         (TAIL_CALL_SYSCALL_ERROR): New macro.
31631         (PSEUDO_RET): Use it.
31632         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31633         Correct save location of integer regs and cr.
31634         (_dl_profile_resolve): Correct cr save location.  Delete nops
31635         after bl when SHARED.  Reduce cfi size a little by better
31636         placement of cfi directives.
31637         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31638         make a stack frame.  Instead use parm save area as a temp.
31639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31640         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
31641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31642         Don't make a stack frame for parent, use parm save area.
31643         Increase child stack frame to 112 bytes.  Don't save unused reg,
31644         and adjust reg usage.  Set up cfi on error recovery and
31645         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31647         (__makecontext): Add dummy nop after jump to exit.
31648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31649         Use correct parm save area and cr save, reduce stack frame.
31650         Correct cfi for possible PSEUDO_RET frame setup.
31651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31652         Branch to local label emitted by PSEUDO_RET rather than
31653         __syscall_error.
31654
31655 2010-08-12  Andreas Schwab  <schwab@redhat.com>
31656
31657         [BZ #11904]
31658         * locale/programs/locale.c (print_assignment): New function.
31659         (show_locale_vars): Use it.
31660
31661 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
31662
31663         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31664         field.
31665         (struct statfs64): Likewise.
31666         (_STATFS_F_FLAGS): Define.
31667         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31668         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31669         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31670         (ST_VALID): Define locally.
31671         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31672         __statvfs_getflags, use the provided value.
31673         * sysdeps/unix/sysv/linux/kernel-features.h: Define
31674         __ASSUME_STATFS_F_FLAGS.
31675
31676         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31677
31678         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31679         Add sys/fanotify.h.
31680         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31681         fanotify_mask for GLIBC_2.13.
31682         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31683         fanotify_init and fanotify_mark.
31684         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31685         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31686
31687         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31688         Add prlimit.
31689         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31690         prlimit64 for GLIBC_2.13.
31691         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31692         prlimit64.
31693         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31694         syscall.
31695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31696         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31697         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31698         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31699         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
31700         add prlimit alias.
31701         * sysdeps/unix/sysv/linux/prlimit.c: New file.
31702
31703         [BZ #11903]
31704         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31705         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31706
31707         * nss/Makefile: Add rules to build and run tst-nss-test1.
31708         * shlib-versions: Add entry for libnss_test1.
31709         * nss/nss_test1.c: New file.
31710         * nss/tst-nss-test1.c: New file.
31711
31712         * nss/nsswitch.c (__nss_database_custom): Define new variable.
31713         (__nss_configure_lookup): Set appropriate entry in
31714         __nss_configure_lookup to true.
31715         * nss/nsswitch.h: Define enum with indeces of databases in
31716         databases and __nss_database_custom arrays.  Declare
31717         __nss_database_custom.
31718         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31719         to avoid using nscd when custom rules are installed.
31720         * nss/getXXbyYY_r.c: Likewise.
31721         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31722
31723         * nss/nss_files/files-parse.c: Whitespace fixes.
31724
31725 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
31726
31727         [BZ #11883]
31728         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31729         * posix/fnmatch_loop.c: Likewise.
31730
31731 2010-07-17  Andi Kleen  <ak@linux.intel.com>
31732
31733         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31734         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31735         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31736         * Versions.def [GLIBC_2.13]: Add.
31737
31738 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
31739
31740         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31741         Also fail if tpwd after pwuid call is NULL.
31742
31743 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31744
31745         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31746         when converting to ms.
31747
31748 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31749
31750         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31751         EOPNOTSUPP errors with ENOTTY.
31752         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31753         EOPNOTSUPP errors with ENOTTY.
31754
31755 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
31756
31757         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31758         Add strcasecmp_l-ssse3.
31759         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31760         strcasecmp.
31761         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31762         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31763         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31764
31765 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
31766
31767         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31768
31769         * string/Makefile (strop-tests): Add strcasecmp.
31770         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31771         strcasecmp_l-nonascii.
31772         (gen-as-const-headers): Add locale-defines.sym.
31773         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31774         * sysdeps/x86_64/strcasecmp.S: New file.
31775         * sysdeps/x86_64/strcasecmp_l.S: New file.
31776         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31777         * sysdeps/x86_64/locale-defines.sym: New file.
31778         * string/test-strcasecmp.c: New file.
31779
31780         * string/test-strcasestr.c: Test both ends of the range of characters.
31781         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31782
31783 2010-07-29  Roland McGrath  <roland@redhat.com>
31784
31785         [BZ #11856]
31786         * manual/locale.texi (Yes-or-No Questions): Fix example code.
31787
31788 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
31789
31790         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31791         for ld.so.
31792
31793 2010-07-27  Andreas Schwab  <schwab@redhat.com>
31794
31795         * manual/memory.texi (Malloc Tunable Parameters): Document
31796         M_PERTURB.
31797
31798 2010-07-26  Roland McGrath  <roland@redhat.com>
31799
31800         [BZ #11840]
31801         * configure.in (-fgnu89-inline check): Set and substitute
31802         gnu89_inline, not libc_cv_gnu89_inline.
31803         * configure: Regenerated.
31804         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31805
31806 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
31807
31808         * string/test-strnlen.c: New file.
31809         * string/Makefile (strop-tests): Add strnlen.
31810         * string/tester.c (test_strnlen): Add a few more test cases.
31811         * string/tst-strlen.c: Better error reporting.
31812
31813         * sysdeps/x86_64/strnlen.S: New file.
31814
31815 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
31816
31817         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31818         lower-latency instructions.
31819
31820 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
31821
31822         * string/test-strcasestr.c: New file.
31823         * string/test-strstr.c: New file.
31824         * string/Makefile (strop-tests): Add strstr and strcasestr.
31825         * string/str-two-way.h: Don't undefine MAX.
31826         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31827
31828 2010-07-21  Andreas Schwab  <schwab@redhat.com>
31829
31830         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31831         strcasestr-nonascii.
31832         (CFLAGS-strcasestr-nonascii.c): Define.
31833         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31834         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31835         Remove unused attribute.
31836
31837 2010-07-20  Roland McGrath  <roland@redhat.com>
31838
31839         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31840         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
31841         ld.so.cache was broken.  With it, there is no way to disable dsocaps
31842         like LD_HWCAP_MASK can disable hwcaps.
31843
31844 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
31845
31846         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31847
31848 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
31849
31850         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31851         call in strcasestr.
31852         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31853         __strcasestr_sse42_nonascii.
31854         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31855         strcasestr-nonascii.c.
31856         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31857
31858 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
31859
31860         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31861         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31862         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31863         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31864
31865 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
31866
31867         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31868         fcntl.
31869
31870 2010-07-06  Andreas Schwab  <schwab@redhat.com>
31871
31872         [BZ #11577]
31873         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31874         dl_signal_cerror.
31875
31876 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
31877
31878         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31879         _PC_PIPE_BUF using F_GETPIPE_SZ.
31880
31881 2010-07-05  Roland McGrath  <roland@redhat.com>
31882
31883         * manual/arith.texi (Rounding Functions): Fix rint description
31884         implicit in round description.
31885
31886 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
31887
31888         * elf/Makefile: Fix linking for a few tests to make recent linker
31889         happy.
31890
31891 2010-06-30  Andreas Schwab  <schwab@redhat.com>
31892
31893         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31894         $(common-objpfx)libc_nonshared.a.
31895
31896 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
31897
31898         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31899         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31900         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31901         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31902         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31903         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31904         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31905         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31920         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31921         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31922         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31923         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31924         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31925         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31926         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31927         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31928         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31929         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31930         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31931         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31946
31947 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
31948
31949         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31950         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
31951         * string/memmove.c (memmove): Renamed to ...
31952         (MEMMOVE): ...this.  Default to memmove.
31953         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31954         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31955         (END_CHK): Define.
31956         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31957         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31958         mempcpy-ssse3-back memmove-ssse3-back.
31959         * sysdeps/x86_64/multiarch/bcopy.S: New file .
31960         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31961         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31962         * sysdeps/x86_64/multiarch/memcpy.S: New file.
31963         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31964         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31965         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31966         * sysdeps/x86_64/multiarch/memmove.c: New file.
31967         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31968         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31969         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31970         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31971         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31972         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31973         Define.
31974         (index_Fast_Copy_Backward): Define.
31975         (HAS_ARCH_FEATURE): Define.
31976         (HAS_FAST_REP_STRING): Define.
31977         (HAS_FAST_COPY_BACKWARD): Define.
31978
31979 2010-06-21  Andreas Schwab  <schwab@redhat.com>
31980
31981         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31982         Restore proper fallback handling.
31983
31984 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
31985
31986         [BZ #11701]
31987         * posix/group_member.c (__group_member): Correct checking loop.
31988
31989         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31990         OOM in getpwuid_r correctly.  Return error number when the caller
31991         should return, otherwise -1.
31992         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31993         call returning > 0 value.
31994         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31995
31996 2010-06-07  Andreas Schwab  <schwab@redhat.com>
31997
31998         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31999         libc_nonshared.a from targets in modules-names.
32000
32001 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
32002
32003         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32004         requires it.
32005
32006 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
32007
32008         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32009         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32010         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32011         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32012
32013 2010-06-02  Andreas Schwab  <schwab@redhat.com>
32014
32015         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32016
32017 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
32018
32019         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32020         and F_GETPIPE_SZ.
32021         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32022         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32023         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32024         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32025         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32026         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32027
32028 2010-06-14  Roland McGrath  <roland@redhat.com>
32029
32030         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32031
32032 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
32033
32034         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32035         __REDIRECT followed by __THROW.
32036         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32037         * posix/getopt.h (getopt): Likewise.
32038
32039 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
32040
32041         * hurd/lookup-at.c (__file_name_lookup_at): Accept
32042         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
32043         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32044         in AT_FLAGS.
32045         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32046         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32047
32048 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
32049
32050         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32051
32052 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
32053
32054         [BZ #11640]
32055         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32056         Properly check family and model.
32057
32058 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
32059
32060         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32061
32062 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
32063
32064         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32065
32066 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
32067
32068         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32069         symbol reference.
32070
32071 2010-05-19  Andreas Schwab  <schwab@redhat.com>
32072
32073         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32074         symbol reference.
32075
32076 2010-05-21  Andreas Schwab  <schwab@redhat.com>
32077
32078         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32079         and internal_recvmmsg.
32080         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32081         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32082         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32083         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32084
32085         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32086         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32087         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32088
32089 2010-05-20  Andreas Schwab  <schwab@redhat.com>
32090
32091         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32092
32093 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
32094
32095         POWER7 optimizations.
32096         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32097         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32098
32099 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
32100
32101         * version.h: Update for 2.13 development version.
32102
32103 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
32104
32105         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32106         exceptions.  Return 0.
32107
32108 2010-05-07  Roland McGrath  <roland@redhat.com>
32109
32110         * elf/ldconfig.c (main): Add a const.
32111
32112 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
32113
32114         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32115         (args_options): Add no-idn option.
32116         (ahosts_keys_int): Add idn_flags to ai_flags.
32117         (parse_option): Handle 'i' option to clear idn_flags.
32118
32119         * malloc/malloc.c (_int_free): Possible race in the most recently
32120         added check.  Only act on the data if no current modification
32121         happened.
32122
32123 See ChangeLog.17 for earlier changes.