Fix yn overflow handling in non-default rounding modes (bug 16561, bug 16562).
[platform/upstream/glibc.git] / ChangeLog
1 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2
3         [BZ #16561]
4         [BZ #16562]
5         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6         (__ieee754_yn): Set FE_TONEAREST mode internally and then
7         recompute overflowing results in original rounding mode.
8         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10         recompute overflowing results in original rounding mode.
11         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
12         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13         recompute overflowing results in original rounding mode.
14         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16         recompute overflowing results in original rounding mode.
17         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
18         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
19         recompute overflowing results in original rounding mode.
20         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
21         (libc_feholdsetround_ctx): New macro.
22         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
23         * sysdeps/i386/fpu/libm-test-ulps: Update.
24         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
25
26 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27
28         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
30         corresponding .cpsetup call.
31
32 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33
34         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
35         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
36         * sysdeps/arm/Makefile [$(subdir) = csu]
37         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
38         (static-only-routines): Add aeabi_read_tp here.
39         (shared-only-routines): Add libc-aeabi_read_tp here.
40         (CFLAGS-libc-start.c): Add -fexceptions here.
41         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
42         (sysdep_routines, static-only-routines, shared-only-routines):
43         Don't add to these here.
44         (CFLAGS-libc-start.c): Likewise.
45
46         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
47         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
49         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
50         * sysdeps/arm/Makefile [$(subdir) = rt]
51         (librt-sysdep_routines, librt-shared-only-routines):
52         Append rt-aeabi_unwind_cpp_pr1 here.
53         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
54         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
55         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
56         (libpthread-sysdep_routines, libpthread-shared-only-routines):
57         Append nptl-aeabi_unwind_cpp_pr1 here.
58         (tests): Filter out tst-cleanupx4 here.
59         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
60         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
61         Don't do those here.
62
63 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
64
65         * scripts/list-sources.sh: Do not handle ports specially.
66
67 2014-06-26  Roland McGrath  <roland@hack.frob.com>
68
69         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
70         * sysdeps/arm/feupdateenv.c: Likewise.
71
72         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
73
74 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
75
76         * manual/texinfo.tex: Update to version 2014-05-05.10 with
77         trailing whitespace removed.
78         * scripts/config.guess: Update to version 2014-03-23.
79         * scripts/config.sub: Update to version 2014-05-01
80         * scripts/install-sh: Update to version 2013-12-25.23.
81         * scripts/move-if-change: Update from gnulib.
82
83 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
84
85         * debug/memmove_chk.c: Remove pagecopy.h include.
86
87 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
88
89         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
90         identical to gnulib mktime.
91
92 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
93
94         * configure.ac: Do not test for machine being rs6000.  Do not test
95         for powerpc*-*soft.
96         * configure: Regenerated.
97
98         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
99         test.
100         * configure: Regenerated.
101         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
102         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
103         Remove configure test.
104         * sysdeps/arm/configure: Regenerated.
105         * sysdeps/nptl/configure.ac: Do not check
106         libc_cv_asm_cfi_directives.
107         * sysdeps/nptl/configure: Regenerated.
108         * sysdeps/x86_64/nptl/configure.ac: Remove file.
109         * sysdeps/x86_64/nptl/configure: Remove generated file.
110         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
111         unconditional.
112         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
113
114 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
115
116         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
117         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
118         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
119         it is defined.
120
121         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
122         instead of whether it is defined.
123         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
124         * sysdeps/hppa/dl-machine.h: Likewise.
125         * sysdeps/ia64/dl-machine.h: Likewise.
126         * sysdeps/m68k/dl-machine.h: Likewise.
127         * sysdeps/microblaze/dl-machine.h: Likewise.
128         * sysdeps/mips/dl-machine.: Likewise.
129         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
130         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
131         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
132         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
133         * sysdeps/sh/dl-machine.h: Likewise.
134         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
135         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
136         * sysdeps/tile/dl-machine.h: Likewise.
137         * sysdeps/x86_64/dl-machine.h: Likewise.
138
139         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
140         code.
141         (verify_persistent_db): Likewise.
142
143 2014-06-26  Roland McGrath  <roland@hack.frob.com>
144
145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
146         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
148         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
149         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
150         Moved ...
151         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
152         ... here.
153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
154         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
156         Identical file removed.
157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
158         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
160         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
162         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
164         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
166         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
168         Moved ...
169         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
171         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
173         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
175         Moved ...
176         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
178         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
180         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
181         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
182         Identical file removed.
183         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
184         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
186         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
188         Moved ...
189         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
190         ... here.
191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
192         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
194         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
196         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
198         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
200         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
202         Moved ...
203         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
205         Moved ...
206         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
208         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
210         Moved ...
211         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
213         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
214
215         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
216         folded into ...
217         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
218         * sysdeps/unix/sysv/linux/s390/Versions
219         (libpthread: GLIBC_2.19): New version set.
220         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
221         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
222         (librt: GLIBC_2.3.3): New version set.
223         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
224         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
225         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
226         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
227         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
228         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
229         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
230         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
231         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
232         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
233         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
234         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
235         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
236         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
237         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
238         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
239         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
240         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
241         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
242         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
243         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
244         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
245         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
246         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
247         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
248         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
249         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
250         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
251         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
252         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
253         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
254         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
255         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
256         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
257         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
258         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
259         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
260         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
261         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
262         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
263         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
264         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
265         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
266         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
267         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
268
269         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
270         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
271         (__libc_vfork): Define the function under this name.
272         [!NOT_IN_libc] (__vfork): Make this an alias.
273         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
274         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
275         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
276         (__libc_vfork): Define the function under this name.
277         [!NOT_IN_libc] (__vfork): Make this an alias.
278         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
279         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
280         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
281         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
282         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
283         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
284
285         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
286         code that was previously under [RESET_PID].
287         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
288         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
289         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
290
291         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
292         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
293         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
294         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
295         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
296         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
297         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
298         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
299         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
300         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
301         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
302         Moved ...
303         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
304         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
305         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
306         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
307         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
308         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
309         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
310         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
311         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
312         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
313         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
314         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
315         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
316         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
317         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
318         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
319         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
320         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
321         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
322         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
323         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
324         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
325         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
326         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
327         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
328         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
329         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
330         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
331         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
332
333 2014-06-25  Roland McGrath  <roland@hack.frob.com>
334
335         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
336         that was previously under [RESET_PID].
337         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
338
339 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
340
341         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
342         not undefine and redefine.
343         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
344         [O_CLOEXEC]: Make code unconditional.
345         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
346         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
347         <kernel-features.h>.
348         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
349         conditional variable definition.
350         (shm_open) [O_CLOEXEC]: Make code unconditional.
351         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
352         code.
353
354         * configure.ac (USE_REGPARMS): Don't define here.
355         * configure: Regenerated.
356         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
357         * sysdeps/i386/configure: Regenerated.
358
359         * nptl/createthread.c: Don't include kernel-features.h.
360         * nptl/pthread_cancel.c: Likewise.
361         * nptl/pthread_condattr_setclock.c: Likewise.
362         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
363         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
364         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
365         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
366         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
367         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
368         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
369         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
370         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
371         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
372         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
373         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
374         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
375         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
376         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
377         * nscd/gai.c: Likewise.
378         * nss/nss_db/db-open.c: Likewise.
379         * sysdeps/generic/ldsodefs.h: Likewise.
380         * sysdeps/sh/nptl/tls.h: Likewise.
381         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
382         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
383         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
384         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
385         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
386         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
387         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
388         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
389         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
390         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
391         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
392         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
393         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
394         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
395         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
396         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
397         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
398         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
399         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
400         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
401         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
402         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
403         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
404         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
405         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
406         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
407         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
408         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
409         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
410         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
411         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
412         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
413         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
414         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
415         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
416         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
417         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
418         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
419         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
420         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
421         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
422         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
423         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
424         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
425         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
426         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
427         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
428         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
429         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
430         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
431         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
432         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
433         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
434         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
435         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
436         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
437         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
438         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
461         * sysdeps/unix/sysv/linux/pread.c: Likewise.
462         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
463         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
464         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
465         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
466         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
467         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
468         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
469         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
470         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
471         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
472         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
473         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
474         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
475         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
476         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
477         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
478         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
479         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
480         * sysdeps/unix/sysv/linux/system.c: Likewise.
481         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
482         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
483         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
484         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
485         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
486         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
487         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
488
489         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
490         * configure: Regenerated.
491         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
492
493         * configure.ac (base_machine): Do not set specially for particular
494         machines here.
495         * configure: Regenerated.
496         * sysdeps/powerpc/preconfigure: Move machine and base_machine
497         settings from configure.ac.
498         * sysdeps/i386/preconfigure: New file.
499         * sysdeps/s390/preconfigure: Likewise.
500         * sysdeps/sh/preconfigure: Likewise.
501         * sysdeps/sparc/preconfigure: Likewise.
502
503 2014-06-25  Roland McGrath  <roland@hack.frob.com>
504
505         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
506         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
507         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
508         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
509         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
510         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
511         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
512         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
513         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
514         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
515         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
516         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
517         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
518         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
519         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
520         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
521         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
522         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
523         * sysdeps/sparc/sparc64/Makefile: ... appended here.
524
525         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
526         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
527         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
528         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
529         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
530         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
531         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
532         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
533         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
534         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
535         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
536         * sysdeps/sparc/sparc32/sem_post.c: ... here.
537         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
538         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
539         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
540         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
541         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
542         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
543         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
544         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
545         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
546         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
547         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
548         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
549         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
550         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
551         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
552         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
553         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
554         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
555         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
556         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
557         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
558         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
559         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
560         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
561         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
562         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
563
564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
565         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
567         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
569         Moved ...
570         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
571         ... here.
572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
573         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
575         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
577         Moved ...
578         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
580         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
582         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
583         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
584         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
586         Moved ...
587         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
589         Moved ...
590         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
592         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
594         Moved ...
595         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
597         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
598         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
599         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
600         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
601         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
602         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
603         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
604         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
605         Moved ...
606         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
607         ... here.
608         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
609         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
610         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
611         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
613         Moved ...
614         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
616         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
618         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
620         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
621         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
622         Moved ...
623         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
625         Moved ...
626         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
628         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
630         Moved ...
631         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
633         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
635         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
636
637 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
638
639         * timezone/checktab.awk: Update from tzcode 2014e.
640         * timezone/private.h: Likewise.
641         * timezone/tzfile.h: Likewise.
642         * timezone/zdump.c: Likewise.
643         * timezone/zic.c: Likewise.
644
645         * sysdeps/unix/sysv/linux/kernel-features.h
646         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
647         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
648         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
649         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
650         Remove conditional code.
651
652 2014-06-25  Will Newton  <will.newton@linaro.org>
653
654         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
655         (_dl_arm_cap_flags): Add HWCAP2 values.
656         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
657         (_DL_HWCAP_COUNT): Increase to 37.
658         (_DL_HWCAP_LAST): New define.
659         (_DL_HWCAP2_LAST): New define.
660         (_dl_procinfo): Add support for printing
661         AT_HWCAP2 entries.
662         (_dl_string_hwcap): Use _dl_hwcap_string.
663
664 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
665
666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
667
668 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
669
670         * README: Do not mention ports directory.
671
672         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
673         Remove macro.
674         * sysdeps/unix/sysv/linux/futimes.c: Do not include
675         <kernel-features.h>.
676         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
677         conditional variable definition.
678         (__futimes): Update comment.
679         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
680         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
681
682         [BZ #16560]
683         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
684         arguments close to 0.
685         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
686         Likewise.
687         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
688         Likewise.
689         * math/auto-libm-test-in: Add more tests of exp10.
690         * math/auto-libm-test-out: Regenerated.
691         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
692
693         * sysdeps/unix/sysv/linux/kernel-features.h
694         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
695         * sysdeps/unix/sysv/linux/readv.c: Do not include
696         <kernel-features.h>.
697         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
698         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
699         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
700         unconditional.
701         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
702         conditional code.
703         * sysdeps/unix/sysv/linux/writev.c: Do not include
704         <kernel-features.h>.
705         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
706         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
707         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
708         unconditional.
709         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
710         conditional code.
711
712 2014-06-25  Will Newton  <will.newton@linaro.org>
713
714         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
715         comment changes throughout the file.  Remove checks
716         for HAVE_*_H definitions that are not required.
717         (__gen_tempname): Call abort if an unknown kind value is
718         passed.
719
720 2014-06-25  Andreas Schwab  <schwab@suse.de>
721
722         [BZ #17086]
723         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
724         scalbln, scalblnf, scalblnl in libc.
725
726 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
727
728         [BZ #17086]
729         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
730         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
731         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
732
733 2014-06-24  Roland McGrath  <roland@hack.frob.com>
734
735         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
736         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
737         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
738         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
739         Update #include.
740         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
741         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
742         Update #include.
743         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
744         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
745         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
746         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
747         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
748         * sysdeps/x86/bits/pthreadtypes.h: ... here.
749         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
750         * sysdeps/x86/bits/semaphore.h: ... here.
751         * sysdeps/x86/nptl/elide.h: Moved ...
752         * sysdeps/x86/elide.h: ... here.
753         * sysdeps/x86_64/nptl/Implies: File removed.
754         * sysdeps/i386/nptl/Implies: File removed.
755
756 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
757
758         [BZ #16539]
759         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
760         return the argument for normal arguments with exponent below -64.
761         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
762         Likewise.
763         * math/auto-libm-test-in: Add another test of expm1.
764         * math/auto-libm-test-out: Regenerated.
765
766         [BZ #16287]
767         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
768         calling __erfcl for arguments at least 16.
769         * math/auto-libm-test-in: Add more tests of erf.
770         * math/auto-libm-test-out: Regenerated.
771
772         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
773         individual architectures.
774         * sysdeps/unix/sysv/linux/configure: Regenerated.
775         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
776         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
777         * sysdeps/unix/sysv/linux/powerpc/configure.ac
778         (ldd_rewrite_script): Define variable.
779         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
781         file.
782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
783         generated file.
784         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
785         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
786         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
787         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
788         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
789         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
790         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
791         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
792
793 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
794
795         [BZ #17084]
796         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
797         Rename member __data.d to __data.__elision_data.
798
799 2014-06-24  Wilco  <wdijkstr@arm.com>
800
801         * NEWS: Add 16918 to fixed bug list.
802
803 2014-06-24  Wilco  <wdijkstr@arm.com>
804
805         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
806
807 2014-06-24  Wilco  <wdijkstr@arm.com>
808
809         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
810         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
811         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
812         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
813         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
814         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
815         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
816         Use _FPU_MASK_RM.
817
818 2014-06-24  Wilco  <wdijkstr@arm.com>
819
820         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
821
822 2014-06-24  Wilco  <wdijkstr@arm.com>
823
824         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
825         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
826         * sysdeps/arm/fesetround.c (fesetround): Remove space.
827         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
828
829 2014-06-24  Wilco  <wdijkstr@arm.com>
830
831         [BZ #16918]
832         * sysdeps/arm/feupdateenv.c (feupdateenv):
833         Rewrite to reduce FPSCR accesses and fix return value.
834
835 2014-06-24  Wilco  <wdijkstr@arm.com>
836
837         * sysdeps/arm/fclrexcpt.c (feclearexcept):
838         Optimize to avoid unnecessary FPSCR writes.
839         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
840         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
841         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
842         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
843
844 2014-06-24  Wilco  <wdijkstr@arm.com>
845
846         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
847         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
848         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
849         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
850         Call libc_fetestexcept_vfp.
851         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
852         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
853         __SOFTFP__ ifdef so that they can be built for softfp.
854
855 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
856
857         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
858         argument type signed char.
859
860         * Makerules (check-abi): Dump diff of symlist if the test
861         fails.
862
863 2014-06-23  Roland McGrath  <roland@hack.frob.com>
864
865         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
866         using abort.
867
868         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
869         Remove unused variable ST.
870
871 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
872
873         [BZ #16354]
874         [BZ #17061]
875         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
876         small arguments before calling __expm1.
877         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
878         small arguments before calling __expm1f.
879         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
880         small arguments before calling __expm1l.
881         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
882         Likewise.
883         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
884         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
885         spurious underflow for some cosh tests.
886         * math/auto-libm-test-out: Regenerated.
887         * sysdeps/i386/fpu/libm-test-ulps: Update.
888
889         [BZ #17050]
890         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
891         (__ieee754_y1): Set errno if return value overflows.
892         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
893         (__ieee754_y1f): Set errno if return value overflows.
894         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
895         (__ieee754_y1l): Set errno if return value overflows.
896         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
897         (__ieee754_y1l): Set errno if return value overflows.
898         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
899         * math/auto-libm-test-out: Regenerated.
900
901         * math/gen-auto-libm-tests.c: Document use of
902         ignore-zero-inf-sign.
903         (input_flag_type): Add value flag_ignore_zero_inf_sign.
904         (input_flags): Add ignore-zero-inf-sign.
905         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
906         * math/gen-libm-test.pl (generate_testfile): Handle
907         ignore-zero-inf-sign.
908         * math/auto-libm-test-in: Mark some cpow tests with
909         ignore-zero-inf-sign and some with xfail-rounding.
910         * math/auto-libm-test-out: Regenerated.
911         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
912         * sysdeps/i386/fpu/libm-test-ulps: Update.
913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
914
915         [BZ #16315]
916         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
917         overflowing or underflowing operations take place with sign of
918         result.
919         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
920         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
921         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
922         (__ieee754_pow): Recompute overflowing and underflowing results in
923         original rounding mode.
924         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
925         (__powl_helper): Allow negative argument X and scale negated value
926         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
927         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
928         overflowing or underflowing operations take place with sign of
929         result.
930         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
931         Include <math.h>.
932         * math/auto-libm-test-in: Add more tests of pow.
933         * math/auto-libm-test-out: Regenerated.
934         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
935         (pow_tonearest_test_data): Remove.
936         (pow_test_tonearest): Likewise.
937         (pow_towardzero_test_data): Likewise.
938         (pow_test_towardzero): Likewise.
939         (pow_downward_test_data): Likewise.
940         (pow_test_downward): Likewise.
941         (pow_upward_test_data): Likewise.
942         (pow_test_upward): Likewise.
943         (main): Don't call removed functions.
944         * sysdeps/i386/fpu/libm-test-ulps: Update.
945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
946
947 2014-06-23  Roland McGrath  <roland@hack.frob.com>
948
949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
950         Moved ...
951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
953         Moved ...
954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
956         Moved ...
957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
959         Moved ...
960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
962         File removed.
963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
964         File removed.
965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
966         File removed.
967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
968         File removed.
969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
970         File removed.
971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
972         File removed.
973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
974         File removed.
975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
976         File removed.
977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
978         File removed.
979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
980         File removed.
981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
982         File removed.
983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
984         File removed.
985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
986         Moved ...
987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
989         Moved ...
990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
991         ... here.
992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
993         Moved ...
994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
996         Moved ...
997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
999         Moved ...
1000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1002         Moved ...
1003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1005         Moved ...
1006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1008         Moved ...
1009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1011         Moved ...
1012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1015         ... here.
1016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1017         Moved ...
1018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1020         Moved ...
1021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1022         ... here.
1023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1024         Moved ...
1025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1026         ... here.
1027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1028         Moved ...
1029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1030         ... here.
1031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1032         Moved ...
1033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1035         Moved ...
1036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1040         Moved ...
1041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1042         ... here.
1043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1044         Moved ...
1045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1046         ... here.
1047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1048         Moved ...
1049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1051         Moved ...
1052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1054         Moved ...
1055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1057         Moved ...
1058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1060         Moved ...
1061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1062         ... here.
1063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1064         Moved ...
1065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1067         Moved ...
1068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1070         Moved ...
1071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1073         Moved ...
1074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1078         Moved ...
1079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1081         Moved ...
1082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1084         Moved ...
1085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1086         ... here.
1087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1088         Moved ...
1089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1090         ... here.
1091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1092         Moved ...
1093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1094         ... here.
1095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1096         Moved ...
1097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1099         Moved ...
1100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1102         Moved ...
1103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1105         Moved ...
1106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1107         ... here.
1108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1109         Moved ...
1110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1111         ... here.
1112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1113         Moved ...
1114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1115         ... here.
1116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1117         Moved ...
1118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1120         Moved ...
1121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1122
1123 2014-06-23  Will Newton  <will.newton@linaro.org>
1124             Wilco  <wdijkstr@arm.com>
1125
1126         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1127         implementation.  Include get-rounding-mode.h.
1128         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1129         [!libc_feholdsetround_noex_ctx]: Define
1130         libc_feholdsetround_noex_ctx.
1131         [!libc_feholdsetround_noexf_ctx]: Define
1132         libc_feholdsetround_noexf_ctx.
1133         [!libc_feholdsetround_noexl_ctx]: Define
1134         libc_feholdsetround_noexl_ctx.
1135         (libc_feholdsetround_ctx): New function.
1136         (libc_feresetround_ctx): New function.
1137         (libc_feholdsetround_noex_ctx): New function.
1138         (libc_feresetround_noex_ctx): New function.
1139
1140 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1141
1142         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1143         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1144         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1145         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1146         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1147         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1148
1149         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1150         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1151         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1152         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1153         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1154         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1155         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1156         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1157         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1158         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1159         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1160         Moved ...
1161         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1162         ... here.
1163         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1164         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1165         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1166         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1167         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1168         Moved ...
1169         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1170         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1171         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1172         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1173         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1174         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1175         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1176         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1177         Moved ...
1178         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1179         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1180         Moved ...
1181         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1182         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1183         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1184         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1185         Moved ...
1186         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1187         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1188         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1189         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1190         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1191         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1192         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1193         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1194         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1195         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1196         Moved ...
1197         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1198         ... here.
1199         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1200         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1201         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1202         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1203         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1204         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1205         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1206         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1207         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1208         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1209         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1210         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1211         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1212         Moved ...
1213         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1214         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1215         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1216         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1217         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1218         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1219         Moved ...
1220         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1221         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1222         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1223         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1224         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1225
1226         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1227         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1228         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1229         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1230         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1231         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1232         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1233         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1234         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1235         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1236         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1237         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1238         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1239         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1240         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1241         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1242         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1243         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1244         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1245         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1246         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1247         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1248         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1249         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1250         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1251         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1252         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1253         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1254
1255 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1256
1257         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1258         (FALLOC_FL_COLLAPSE_RANGE): New macro.
1259         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1260         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1261         (IPV6_PMTUDISC_INTERFACE): Likewise.
1262         (IPV6_PMTUDISC_OMIT): Likewise.
1263
1264 2014-06-23  Andreas Schwab  <schwab@suse.de>
1265
1266         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1267         Remove unused errout label.
1268
1269 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1270
1271         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1272         macro: hardware supports Vector Crypto instructions.
1273
1274 2014-06-23  Will Newton  <will.newton@linaro.org>
1275
1276         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1277         rather than __builtin_expect.
1278
1279         * elf/dl-lookup.c (undefined_msg): Remove variable.
1280         (_dl_lookup_symbol_x): Replace undefined_msg with string
1281         literal.
1282
1283         * elf/dl-lookup.c (do_lookup_unique): New function.
1284         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1285         to a separate function.
1286
1287 2014-06-23  Andreas Schwab  <schwab@suse.de>
1288
1289         [BZ #17079]
1290         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1291         before reading the next line.
1292
1293 2014-06-23  Will Newton  <will.newton@linaro.org>
1294
1295         * test-skeleton.c (signal_handler): Use printf and %m
1296         rather than perror.  Use printf rather than fprintf to
1297         stderr.  Use puts rather than fputs to stderr.
1298         (main): Likewise.
1299
1300 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1301
1302         * nscd/nscd.c (thread_info_t): Remove typedef.
1303         (thread_info): Remove variable.
1304
1305 2014-06-21  Allan McRae  <allan@archlinux.org>
1306
1307         * NEWS: Mention CVE-2014-4043.
1308
1309 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1310
1311         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1312         * nptl/smp.h: ... here.
1313
1314         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1315
1316         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1317         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1318         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1319         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1320
1321         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1322         * nptl/stack-aliasing.h: New file.
1323         * sysdeps/i386/i686/stack-aliasing.h: New file.
1324         * sysdeps/i386/i686/nptl/Makefile: File removed.
1325         * sysdeps/x86_64/stack-aliasing.h: New file.
1326         * sysdeps/x86_64/nptl/Makefile
1327         (CFLAGS-pthread_create.c): Variable removed.
1328
1329         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1330         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1331         old file.
1332         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1333         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1334         old file.
1335
1336 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1337
1338         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1339         (__ASSUME_SIGFRAME_V2): Remove macro.
1340         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1341         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1342         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1343         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1344         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1345         Declare as function.  Remove conditional macro definitions.
1346         (__default_rt_sa_restorer): Likewise.
1347         (__default_sa_restorer_v1): Remove declaration.
1348         (__default_sa_restorer_v2): Likewise.
1349         (__default_rt_sa_restorer_v1): Likewise.
1350         (__default_rt_sa_restorer_v2): Likewise.
1351         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1352         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1353         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1354
1355 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1356
1357         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1358         (libpthread-routines): Add sysdep.
1359         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1360         * sysdeps/unix/sysv/linux/sparc/Versions
1361         (libpthread: GLIBC_2.3.3): New version set.
1362         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1363         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1364         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1365         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1366         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1367         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1368         Moved ...
1369         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1370         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1371         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1372         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1373         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1374         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1375         * sysdeps/sparc/nptl/sem_init.c: ... here.
1376         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1377         * sysdeps/sparc/nptl/sem_post.c: ... here.
1378         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1379         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1380         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1381         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1382         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1383         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1384         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1385         (libpthread-routines): Add cpu_relax.
1386         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1387         File removed.
1388         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1389         (librt: GLIBC_2.3.3): New version set.
1390         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1391         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1392         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1393         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1394         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1395         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1396         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1397         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1398         Moved ...
1399         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1400         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1401         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1402         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1403         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1404         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1405         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1406         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1407         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1408         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1409         Moved ...
1410         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1411         Update #include.
1412         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1413         Moved ...
1414         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1415         Update #include.
1416         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1417         Moved ...
1418         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1419         Update #include.
1420         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1421         Moved ...
1422         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1423         Update #include.
1424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1425         Moved ...
1426         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1427         Update #include.
1428         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1429         Moved ...
1430         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1431         Update #include.
1432         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1433         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1434         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1435         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1437         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1438         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1439         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1440         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1441         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1442         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1443         Moved ...
1444         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1445         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1446         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1447         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1448         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1449
1450 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1451
1452         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1453         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1454         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1455         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1456         * nscd/nscd.c: Likewise.
1457         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1458         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1459         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1460         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1461
1462         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1463         <kernel-features.h>.
1464         (init_mq_netlink): Remove conditional have_sock_cloexec
1465         definitions.  Remove code conditional on have_sock_cloexec < 0.
1466         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1467         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1468         * sysdeps/unix/sysv/linux/opensock.c: Do not include
1469         <kernel-features.h>.
1470         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1471         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1472
1473 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1474
1475         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1476         Add tests for memset_chk and memset.
1477
1478         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1479         with AVX2_Usable.
1480
1481 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1482
1483         [BZ #16046]
1484         * elf/tst-dl-iter-static.c: New file.
1485         * elf/Makefile (tests-static): Add tst-dl-iter-static.
1486
1487         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1488         error.
1489
1490 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1491
1492         * sysdeps/unix/sysv/linux/kernel-features.h
1493         (__ASSUME_F_GETOWN_EX): Remove macro.
1494         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1495         <kernel-features.h>.
1496         (miss_F_GETOWN_EX): Remove variable or macro.
1497         (do_fcntl): Do not check miss_F_GETOWN_EX.
1498         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1499
1500         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1501         Remove macro.
1502         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1503         [!__ASSUME_AT_RANDOM]: Remove conditional code.
1504         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1505
1506         * sysdeps/unix/sysv/linux/kernel-features.h
1507         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1508         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1509         [ADJ_OFFSET_SS_READ]: Make code unconditional.
1510         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1511
1512 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1513
1514         [BZ #17075]
1515         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1516         Fix calculation of the symbol's value.
1517         * sysdeps/arm/tst-armtlsdescloc.c: New file.
1518         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1519         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1520         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1521         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1522         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1523         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1524         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1525         (modules-names): Add `tst-armtlsdescmod',
1526         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1527         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1528         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1529         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1530         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1531         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1532         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1533         ($(objpfx)tst-armtlsdescloc): New dependency.
1534         ($(objpfx)tst-armtlsdescextnow): Likewise.
1535         ($(objpfx)tst-armtlsdescextlazy): Likewise.
1536         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1537         TLS scheme support.
1538         * sysdeps/arm/configure: Regenerate.
1539
1540 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1541
1542         * include/fcntl.h (__atfct_seterrno): Remove prototype.
1543         (__atfct_seterrno_2): Likewise.
1544         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1545         <kernel-features.h>.
1546         (__ASSUME_ATFCTS): Do not undefine and redefine.
1547         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1548         (__have_atfcts): Remove conditional definition.
1549         (__fxstatat([__NR_fstatat64]: Make code unconditional.
1550         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1551         unreachable if [__ASSUME_ATFCTS].
1552         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1553         not undefine and redefine.
1554         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1555         <kernel-features.h>.
1556         (faccessat) [__NR_faccessat]: Make code unconditional.
1557         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1558         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1559         <kernel-features.h>.
1560         (fchmodat) [__NR_fchmodat]: Make code unconditional.
1561         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1562         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1563         <kernel-features.h>.
1564         (fchownat) [__NR_fchownat]: Make code unconditional.
1565         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1566         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1567         <kernel-features.h>.
1568         (futimesat) [__NR_futimesat]: Make code unconditional.
1569         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1570         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1571         <kernel-features.h>.
1572         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1573         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1574         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1575         <kernel-features.h>.
1576         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1577         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1578         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1579         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1580         <kernel-features.h>.
1581         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1582         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1583         * sysdeps/unix/sysv/linux/linkat.c: Do not include
1584         <kernel-features.h>.
1585         (linkat) [__NR_linkat]: Make code unconditional.
1586         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1587         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1588         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1589         <kernel-features.h>.
1590         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1591         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1592         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1593         <kernel-features.h>.
1594         (mkdirat) [__NR_mkdirat]: Make code unconditional.
1595         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1596         * sysdeps/unix/sysv/linux/openat.c: Do not include
1597         <kernel-features.h>.
1598         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1599         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1600         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1601         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1602         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1603         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1604         <kernel-features.h>.
1605         (readlinkat) [__NR_readlinkat]: Make code unconditional.
1606         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
1607         result of INLINE_SYSCALL directly, not via int variable.
1608         * sysdeps/unix/sysv/linux/renameat.c: Do not include
1609         <kernel-features.h>.
1610         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1611         (renameat) [__NR_renameat]: Make code unconditional.
1612         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1613         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1614         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1615         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1616         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1617         (__ASSUME_ATFCTS): Do not undefine and redefine.
1618         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1619         <kernel-features.h>.
1620         (symlinkat) [__NR_symlinkat]: Make code unconditional.
1621         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1622         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1623         <kernel-features.h>.
1624         (unlinkat) [__NR_unlinkat]: Make code unconditional.
1625         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1626         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1627         (__ASSUME_ATFCTS): Do not undefine and redefine.
1628         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1629         <kernel-features.h>.
1630         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1631         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1632         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1633         <kernel-features.h>.
1634         (__xmknodat) [__NR_mknodat]: Make code unconditional.
1635         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1636
1637 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1638
1639         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1640
1641 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
1642
1643         [BZ #17069]
1644         * posix/regcomp.c (parse_reg_exp): Deallocate partially
1645         constructed tree before returning error.
1646         * posix/bug-regexp36.c: Expand test case.
1647
1648 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1649
1650         [BZ #6803]
1651         * math/libm-test.inc (scalbln_test_date):
1652         Add errno expectations.
1653         * math/w_scalblnf.c: New File.
1654         Add wrapper which checks for setting errno to ERANGE.
1655         Add weak_alias for corresponding scalbln function.
1656         * math/w_scalbln.c: Likewise.
1657         * math/w_scalblnl.c: Likewise.
1658         * math/Makefile (libm-calls): Add w_scalbln.
1659         * sysdeps/ieee754/flt-32/s_scalblnf.c:
1660         Remove weak_alias for corresponding scalbln function.
1661         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1662         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1663         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1664         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1665         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1666         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1667         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1668         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1669         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1670         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1671         Remove long_double_symbol for scalblnl function in libm, libc.
1672         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1673         Add wrapper which checks for setting errno to ERANGE.
1674         Add long_double_symbol for scalblnl function in libm, libc.
1675         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1676         Remove long_double_symbol for scalblnl in libm.
1677         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1678         Add wrapper which checks for setting errno to ERANGE.
1679         Add long_double_symbol for scalblnl function in libm.
1680         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1681         Do not use wrapper because of own implementation.
1682
1683 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
1684
1685         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1686         3 bytes for __pad1 for x32.
1687         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1688
1689 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
1690             H.J. Lu  <hongjiu.lu@intel.com>
1691
1692         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1693         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1694         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1695         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1696         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1697
1698 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
1699
1700         [BZ #17069]
1701         * posix/regcomp.c (parse_expression): Deallocate partially
1702         constructed tree before returning error.
1703         * posix/Makefile.c (tests): Add bug-regex36.
1704         (generated): Add bug-regex36.mtrace.
1705         (tests-special): Add $(objpfx)bug-regex36-mem.out
1706         (bug-regex36-ENV): New variable.
1707         ($(objpfx)bug-regex36-mem.out): New rule.
1708         * posix/bug-regex36.c: New file.
1709
1710 2014-06-19  Will Newton  <will.newton@linaro.org>
1711
1712         * malloc/malloc.c (systrim): If extra is zero then return
1713         early.
1714
1715 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1716
1717         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1718
1719 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
1720
1721         * sysdeps/aarch64/strchr.S: New file.
1722
1723 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1724
1725         [BZ #17022]
1726         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1727         from arguments -2 or below.
1728         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1729         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1730
1731 2014-06-18  Andreas Schwab  <schwab@suse.de>
1732
1733         [BZ #17062]
1734         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1735         of a bracket expr not to run off the end of the string.
1736         * posix/Makefile (tests): Add tst-fnmatch3.
1737         * posix/tst-fnmatch3.c: New file.
1738
1739 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1740
1741         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1742         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1743         [$(cross-compiling) = no]: Likewise.
1744         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1745         [$(cross-compiling) = no]: Likewise.
1746
1747 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1748
1749         [BZ #17031]
1750         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1751         double, adjusted for any remainder from the high double.
1752         * math/libm-test.inc (nearbyint): Add tests.
1753         (rint): Likewise.
1754
1755 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1756
1757         * nptl/sysdeps/powerpc/Makefile: Moved ...
1758         * sysdeps/powerpc/nptl/Makefile: ... here.
1759         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1760         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1761         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1762         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1763         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1764         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1765         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1766         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1767         * nptl/sysdeps/powerpc/tls.h: Moved ...
1768         * sysdeps/powerpc/nptl/tls.h: ... here.
1769
1770 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
1771
1772         [BZ #16681]
1773         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1774         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1775         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1776         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1777         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1778         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1779         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1780         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1781         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1782
1783 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
1784
1785         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1786
1787 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
1788
1789         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1790         defined operator.
1791
1792         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1793         $TIMEOUTFACTOR.
1794
1795 2014-06-16  Florian Weimer  <fweimer@redhat.com>
1796
1797         [BZ #17058]
1798         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1799         non-executed part of the test.
1800
1801 2014-06-16  Andreas Schwab  <schwab@suse.de>
1802
1803         * string/bits/string2.h (strdup, strndup): Update feature guard.
1804
1805 2014-06-14  David S. Miller  <davem@davemloft.net>
1806
1807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1808
1809 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
1810
1811         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1812         that was previously under [RESET_PID].
1813         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1814
1815         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1816         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1817         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1818         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1819         (__libc_vfork): New strong alias.
1820         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1821
1822 2014-06-14 Andi Kleen  <ak@linux.intel.com>
1823
1824         * sysdeps/generic/elide.h: New file.
1825
1826 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1827
1828         * Makefile (installed-headers): Adjust path of pthread.h header.
1829
1830 2014-06-13  Roland McGrath  <roland@hack.frob.com>
1831
1832         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1833         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1834         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1835         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1836
1837         * nptl/sysdeps/s390/Makefile: Moved ...
1838         * sysdeps/s390/nptl/Makefile: ... here.
1839         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1840         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1841         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1842         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1843         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1844         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1845         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1846         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1847         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1848         * sysdeps/s390/nptl/pthreaddef.h: ... here.
1849         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1850         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1851         * nptl/sysdeps/s390/tls.h: Moved ...
1852         * sysdeps/s390/nptl/tls.h: ... here.
1853
1854         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1855         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1856
1857 2014-06-13  David S. Miller  <davem@davemloft.net>
1858
1859         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1861         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1862         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1863         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1864         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1865         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1866         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1867         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1868         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1869         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1870         Remove RESET_PID cpp guards.
1871         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1872         Remove RESET_PID cpp guards.
1873         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1874
1875 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
1876
1877         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1878         __sp to uintptr_t.
1879
1880 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1881
1882         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1883         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1884         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1885         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1886         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1887         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1888         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1889         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1890         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1891         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1892         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1893         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1894         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1895         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1896         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1897         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1898         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1899         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1900         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1901         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1902
1903         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1904         (pthread_rwlock_rdlock): Add elision.
1905         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1906         (pthread_rwlock_wrlock): Add elision.
1907         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1908         (pthread_rwlock_trywrlock): Add elision.
1909         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1910         (pthread_rwlock_tryrdlock): Add elision.
1911         * nptl/pthread_rwlock_unlock.c: Include elide.h.
1912         (pthread_rwlock_tryrdlock): Add elision unlock.
1913         * nptl/sysdeps/pthread/pthread.h:
1914         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1915         (PTHREAD_RWLOCK_INITIALIZER,
1916         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1917         Handle new elision field.
1918         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1919         * sysdeps/arm/nptl/bits/pthreadtypes.h
1920         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1921         * sysdeps/sh/nptl/bits/pthreadtypes.h
1922         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1923         * sysdeps/tile/nptl/bits/pthreadtypes.h
1924         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1925         * sysdeps/a/nptl/bits/pthreadtypes.h
1926         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1927         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1928         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1929         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1930         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1931         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1932         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1933         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1934         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1935         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1936         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1937         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1938         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1939         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1940         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1941         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1942         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1943         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1944         (elision_init): Set try_xbegin to zero when no RTM.
1945         * sysdeps/x86/nptl/bits/pthreadtypes.h
1946         (pthread_rwlock_t): Change __pad1 to __rwelision.
1947         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1948
1949 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1950
1951         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1952         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1953         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1954         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1955
1956 2014-06-13  Meador Inge  <meadori@codesourcery.com>
1957
1958         [BZ #16996]
1959         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1960         that the cached result has been set before returning it.
1961
1962 2014-06-12  Roland McGrath  <roland@hack.frob.com>
1963
1964         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1965         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1966         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1967         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1968         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1969         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1970
1971         * nptl/sysdeps/sparc/Makefile: Moved ...
1972         * sysdeps/sparc/nptl/Makefile: ... here.
1973         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1974         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1975         * nptl/sysdeps/sparc/tls.h: Moved ...
1976         * sysdeps/sparc/nptl/tls.h: ... here.
1977         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1978         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1979         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1980         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1981         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1982         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1983         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1984         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1985         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1986         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1987         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1988         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1989         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1990         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1991         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1992         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1993         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1994         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1995         Update #include.
1996         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1997         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1998         Update #include.
1999         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2000         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2001         Update #include.
2002         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2003         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2004         Update #include.
2005
2006         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2007
2008         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2009         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2010
2011         * sysdeps/pthread/posix-timer.h: Include <list.h>.
2012         (struct list_links): Type removed.
2013         (struct thread_node, struct timer_node): Replace struct list_links
2014         with struct list_head.
2015         (list_unlink_ip): Likewise.
2016         * sysdeps/pthread/timer_routines.c
2017         (timer_free_list, thread_free_list, thread_active_list): Likewise.
2018         (list_append, list_insbefore): Likewise.
2019         (list_init): Function removed.
2020         (thread_init, init_module): Use INIT_LIST_HEAD instead.
2021         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2022         * sysdeps/pthread/Makefile: ... here, new file.
2023
2024         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2025         * sysdeps/nptl/Implies: ... here.
2026         * sysdeps/unix/sysv/linux/Implies: Add nptl.
2027         * nptl/sysdeps/pthread/list.h: Moved ...
2028         * include/list.h: ... here.
2029         * nptl/sysdeps/pthread/createthread.c: Moved ...
2030         * nptl/createthread.c: ... here.
2031         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2032         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2033         * nptl/pt-longjmp.c: ... here.
2034         * nptl/sysdeps/pthread/Makefile: Moved ...
2035         * sysdeps/nptl/Makefile: ... here.
2036         * nptl/sysdeps/pthread/Subdirs: Moved ...
2037         * sysdeps/nptl/Subdirs: ... here.
2038         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2039         * sysdeps/nptl/aio_misc.h: ... here.
2040         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2041         * sysdeps/nptl/bits/libc-lock.h: ... here.
2042         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2043         * sysdeps/nptl/bits/libc-lockP.h: ... here.
2044         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2045         * sysdeps/nptl/bits/stdio-lock.h: ... here.
2046         * nptl/sysdeps/pthread/configure: Moved ...
2047         * sysdeps/nptl/configure: ... here.
2048         * nptl/sysdeps/pthread/configure.ac: Moved ...
2049         * sysdeps/nptl/configure.ac: ... here.
2050         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2051         * sysdeps/nptl/gai_misc.h: ... here.
2052         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2053         * sysdeps/nptl/librt-cancellation.c: ... here.
2054         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2055         * sysdeps/nptl/malloc-machine.h: ... here.
2056         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2057         * sysdeps/nptl/pthread-functions.h: ... here.
2058         * nptl/sysdeps/pthread/pthread.h: Moved ...
2059         * sysdeps/nptl/pthread.h: ... here.
2060         * nptl/sysdeps/pthread/setxid.h: Moved ...
2061         * sysdeps/nptl/setxid.h: ... here.
2062         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2063         * sysdeps/nptl/sigfillset.c: ... here.
2064         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2065         * sysdeps/nptl/tcb-offsets.h: ... here.
2066         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2067         * sysdeps/nptl/tst-mqueue8x.c: ... here.
2068         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2069         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2070         * nptl/sysdeps/pthread/allocalim.h: Moved ...
2071         * sysdeps/pthread/allocalim.h: ... here.
2072         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2073         * sysdeps/pthread/bits/sigthread.h: ... here.
2074         * nptl/sysdeps/pthread/flockfile.c: Moved ...
2075         * sysdeps/pthread/flockfile.c: ... here.
2076         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2077         * sysdeps/pthread/ftrylockfile.c: ... here.
2078         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2079         * sysdeps/pthread/funlockfile.c: ... here.
2080         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2081         * sysdeps/pthread/posix-timer.h: ... here.
2082         * nptl/sysdeps/pthread/timer_create.c: Moved ...
2083         * sysdeps/pthread/timer_create.c: ... here.
2084         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2085         * sysdeps/pthread/timer_delete.c: ... here.
2086         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2087         * sysdeps/pthread/timer_getoverr.c: ... here.
2088         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2089         * sysdeps/pthread/timer_gettime.c: ... here.
2090         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2091         * sysdeps/pthread/timer_routines.c: ... here.
2092         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2093         * sysdeps/pthread/timer_settime.c: ... here.
2094         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2095         * sysdeps/pthread/tst-timer.c: ... here.
2096         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2097         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2098
2099         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2100         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2101
2102         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2103         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2104         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2105         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2106         Update #include target.
2107         * nptl/sysdeps/i386/i686/Makefile: Moved ...
2108         * sysdeps/i386/i686/nptl/Makefile: ... here.
2109         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2110         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2111         Update #include target.
2112         * nptl/sysdeps/i386/i686/tls.h: Moved ...
2113         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
2114         * nptl/sysdeps/i386/Makefile: Moved ...
2115         * sysdeps/i386/nptl/Makefile: ... here.
2116         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2117         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2118         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2119         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2120         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2121         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2122         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2123         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2124         * sysdeps/i386/nptl/pthreaddef.h: ... here.
2125         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2126         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2127         * nptl/sysdeps/i386/tls.h: Moved ...
2128         * sysdeps/i386/nptl/tls.h: ... here.
2129
2130         * sysdeps/sh/Makefile [$(subdir) = csu]
2131         (gen-as-const-headers): Add tcb-offsets.sym.
2132         * nptl/sysdeps/sh/Makefile: File removed.
2133         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2134         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2135         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2136         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2137         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2138         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2139         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2140         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2141         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2142         * sysdeps/sh/nptl/pthreaddef.h: ... here.
2143         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2144         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2145         * nptl/sysdeps/sh/tls.h: Moved ...
2146         * sysdeps/sh/nptl/tls.h: ... here.
2147         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2148         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2149         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2150         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2151         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2152         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2153         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2154         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2155         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2156         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2157         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2158         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2159         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2160         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2161         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2162         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2163         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2164         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2165         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2166         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2167         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2168         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2169         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2170         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2171         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2172         Moved ...
2173         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2174         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2175         Moved ...
2176         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2177         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2178         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2179         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2180         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2181         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2182         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2183         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2184         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2185         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2186         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2187         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2188         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2189         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2190         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2191         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2192         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2193         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2194         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2195
2196 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2197
2198         * posix/spawn_faction_addopen.c: Include string.h.
2199
2200 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2201
2202         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2203         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2204         * nptl/sysdeps/x86_64/Makefile: Moved ...
2205         * sysdeps/x86_64/nptl/Makefile: ... here.
2206         * nptl/sysdeps/x86_64/configure: Moved ...
2207         * sysdeps/x86_64/nptl/configure: ... here.
2208         * nptl/sysdeps/x86_64/configure.ac: Moved ...
2209         * sysdeps/x86_64/nptl/configure.ac: ... here.
2210         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2211         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2212         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2213         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2214         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2215         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2216         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2217         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2218         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2219         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2220         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2221         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2222         * nptl/sysdeps/x86_64/tls.h: Moved ...
2223         * sysdeps/x86_64/nptl/tls.h: ... here.
2224         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2225         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2226         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2227         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2228
2229         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2230
2231 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2232
2233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2234
2235 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
2236
2237         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2238         type.
2239         [POSIX] (off_t): Likewise.
2240         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2241         [POSIX] (S_ISBLK): Require macro.
2242         [POSIX] (S_ISCHR): Likewise.
2243         [POSIX] (S_ISDIR): Likewise.
2244         [POSIX] (S_ISFIFO): Likewise.
2245         [POSIX] (S_ISREG): Likewise.
2246         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2247         optional-macro.
2248         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2249         type.
2250         [POSIX] (time_t): Likewise.
2251         [POSIX] (timer_t): Likewise.
2252
2253 2014-06-11  Florian Weimer  <fweimer@redhat.com>
2254
2255         [BZ #17048]
2256         * posix/spawn_int.h (struct __spawn_action): Make the path string
2257         non-const to support deallocation.
2258         * posix/spawn_faction_addopen.c
2259         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2260         * posix/spawn_faction_destroy.c
2261         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
2262         path in all spawn_do_open actions.
2263         * posix/tst-spawn.c (do_test): Exercise the copy operation in
2264         posix_spawn_file_actions_addopen.
2265
2266 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
2267
2268         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2269         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2270         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2271         conditional code always true.
2272         (__libc_vfork): New alias.
2273
2274 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2275
2276         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2277         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2278
2279         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2280
2281         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2282         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2283
2284         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2285         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2286
2287         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2288         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2289
2290 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2291
2292         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2293         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2294         multiarch strcmp for PPC64.
2295         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2296         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2297         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2298         multiarch optimizations.
2299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2300         (__libc_ifunc_impl_list): Likewise.
2301
2302 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2303
2304         * benchtests/scripts/validate_benchout.py: New script.
2305         * benchtests/Makefile (bench-func): Call it.
2306         * benchtests/scripts/benchout.schema.json: New file.
2307
2308 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2309
2310         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2311         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2312         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2313         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2314         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2315         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2316         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2317         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2318         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2319         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2320         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2321         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2322         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2323         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2324         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2325         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2327         Moved ...
2328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2329         ... here.
2330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2331         Moved ...
2332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2334         Moved ...
2335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2336         ... here.
2337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2338         Moved ...
2339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2340         ... here.
2341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2342         Moved ...
2343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2345         Moved ...
2346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2347         ... here.
2348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2349         Moved ...
2350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2351         ... here.
2352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2353         Moved ...
2354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2356         Moved ...
2357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2358         ... here.
2359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2360         Moved ...
2361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2362         ... here.
2363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2364         Moved ...
2365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2366         ... here.
2367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2368         Moved ...
2369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2371         Moved ...
2372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2373         ... here.
2374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2375         Moved ...
2376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2377         ... here.
2378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2379         Moved ...
2380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2381         ... here.
2382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2383         Moved ...
2384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2386         Moved ...
2387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2388         ... here.
2389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2390         Moved ...
2391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2392         ... here.
2393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2394         Moved ...
2395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2397         Moved ...
2398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2399         ... here.
2400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2401         Moved ...
2402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2404         Moved ...
2405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2407         Moved ...
2408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2409         ... here.
2410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2411         Moved ...
2412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2413         ... here.
2414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2415         Moved ...
2416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2417         ... here.
2418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2419         Moved ...
2420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2422         Moved ...
2423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2424         ... here.
2425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2426         Moved ...
2427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2428         ... here.
2429         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2430         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2431         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2432         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2433         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2434         Moved ...
2435         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2436         ... here.
2437         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2438         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2439         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2440         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2441         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2442         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2443         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2444         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2445         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2446         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2447         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2448         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2449         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2450         Moved ...
2451         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2452         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2453         Moved ...
2454         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2455         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2456         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2457         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2458         Moved ...
2459         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2460         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2461         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2462         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2463         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2464         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2465         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2466
2467 2014-06-10  Wilco  <wdijkstr@arm.com>
2468
2469         * math/test-fenv-return.c: New file.
2470         * math/Makefile: Add new test test-fenv-return.
2471
2472 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
2473
2474         [BZ #17042]
2475         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2476         when x - 1 is zero.
2477         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2478         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2479         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2480         0.0L for an argument of 1.0L.
2481         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2482         Likewise.
2483         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2484         value when x - 1 is zero.
2485         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2486         * sysdeps/i386/fpu/libm-test-ulps: Update.
2487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2488
2489 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
2490
2491         [BZ #15119]
2492         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2493
2494 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2495
2496         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2497         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2498
2499 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2500
2501         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2502         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2503
2504         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2505         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2506
2507         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2508         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2509
2510         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2511         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2512
2513         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2514         if not already defined.
2515         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2516         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2517         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2518         (TLS_INIT_TP): Use it.
2519         (TLS_DEFINE_INIT_TP): New macro.
2520         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2521
2522 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
2523
2524         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2525         constant.
2526         [POSIX] (IXANY): Likewise.
2527         [POSIX] (OLCUC): Likewise.
2528         [POSIX || POSIX2008] (CBAUD): Do not allow.
2529         [POSIX || POSIX2008] (DEFECHO): Likewise.
2530         [POSIX || POSIX2008] (ECHOCTL): Likewise.
2531         [POSIX || POSIX2008] (ECHOKE): Likewise.
2532         [POSIX || POSIX2008] (ECHOPRT): Likewise.
2533         [POSIX || POSIX2008] (EXTA): Likewise.
2534         [POSIX || POSIX2008] (EXTB): Likewise.
2535         [POSIX || POSIX2008] (FLUSHO): Likewise.
2536         [POSIX || POSIX2008] (LOBLK): Likewise.
2537         [POSIX || POSIX2008] (PENDIN): Likewise.
2538         [POSIX || POSIX2008] (SWTCH): Likewise.
2539         [POSIX || POSIX2008] (VDISCARD): Likewise.
2540         [POSIX || POSIX2008] (VDSUSP): Likewise.
2541         [POSIX || POSIX2008] (VLNEXT): Likewise.
2542         [POSIX || POSIX2008] (VREPRINT): Likewise.
2543         [POSIX || POSIX2008] (VSTATUS): Likewise.
2544         [POSIX || POSIX2008] (VWERASE): Likewise.
2545         (B*): Change to B[0123456789]*.
2546         * conform/data/time.h-data [POSIX || UNIX98]
2547         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2548         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2549         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2550         [POSIX] (tm_*): Do not allow.
2551
2552 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
2553
2554         * Makefile (install): Don't set LANGUAGE.
2555         * Makefile.in (install): Likewise.
2556         * assert/Makefile (test-assert-ENV): Remove variable.
2557         (test-assert-perr-ENV): Likewise.
2558         * elf/Makefile (neededtest4-ENV): Likewise.
2559         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2560         [$(cross-compiling) = no]: Don't set LANGUAGE.
2561         * io/ftwtest-sh (LANG): Remove variable.
2562         * libio/Makefile (tst-widetext-ENV): Likewise.
2563         * manual/install.texi (Running make install): Don't refer to
2564         environment settings for make install.
2565         * INSTALL: Regenerated.
2566         * nptl/tst-tls6.sh: Don't set LANG.
2567         * posix/globtest.sh (LANG): Remove variable.
2568         * string/Makefile (tester-ENV): Likewise.
2569         (inl-tester-ENV): Likewise.
2570         (noinl-tester-ENV): Likewise.
2571         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2572         [$(cross-compiling) = no]: Don't set LANGUAGE.
2573         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2574         without explicit environment settings.
2575
2576 2014-06-06  Roland McGrath  <roland@hack.frob.com>
2577
2578         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2579         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2580         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2581         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2582
2583 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
2584
2585         * crypt/crypt-private.h [DOS]: Add some includes taken from the
2586         other files in the crypt directory.
2587         * crypt/crypt.c: Remove duplicate includes.
2588         * crypt/crypt-entry.c: Likewise.
2589         * crypt/crypt_util.c: Likewise.
2590
2591 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
2592
2593         * Makeconfig (run-program-env): New variable.
2594         (run-program-prefix-before-env): Likewise.
2595         (run-program-prefix-after-env): Likewise.
2596         (run-program-prefix): Define in terms of new variables.
2597         (built-program-cmd-before-env): New variable.
2598         (built-program-cmd-after-env): Likewise.
2599         (built-program-cmd): Define in terms of new variables.
2600         (test-program-prefix-before-env): New variable.
2601         (test-program-prefix-after-env): Likewise.
2602         (test-program-prefix): Define in terms of new variables.
2603         (test-program-cmd-before-env): New variable.
2604         (test-program-cmd-after-env): Likewise.
2605         (test-program-cmd): Define in terms of new variables.
2606         * Rules (make-test-out): Use $(run-program-env).
2607         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2608         (help): Do not mention environment variables.  Mention
2609         --timeoutfactor option.
2610         (timeoutfactor): New variable.
2611         (blacklist_exports): Remove function.
2612         (exports): Remove variable.
2613         (command): Do not include ${exports}.
2614         * manual/install.texi (Configuring and compiling): Do not mention
2615         test wrappers preserving environment variables.  Mention that last
2616         assignment to a variable must take precedence.
2617         * INSTALL: Regenerated.
2618         * benchtests/Makefile (run-bench): Use $(run-program-env).
2619         * catgets/Makefile ($(objpfx)test1.cat): Use
2620         $(built-program-cmd-before-env), $(run-program-env) and
2621         $(built-program-cmd-after-env).
2622         ($(objpfx)test2.cat): Do not specify environment variables
2623         explicitly.
2624         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2625         $(run-program-env) and $(built-program-cmd-after-env).
2626         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2627         $(run-program-env) and $(test-program-cmd-after-env).
2628         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2629         explicitly.
2630         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2631         run_program_env and test_program_cmd_after_env arguments.
2632         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2633         * elf/tst-pathopt.sh: Use run_program_env argument.
2634         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2635         $(test-wrapper-env) and $(run-program-env).
2636         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2637         run_program_env arguments.
2638         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2639         * intl/Makefile ($(objpfx)tst-gettext.out): Use
2640         $(test-program-prefix-before-env), $(run-program-env) and
2641         $(test-program-prefix-after-env).
2642         ($(objpfx)tst-gettext2.out): Likewise.
2643         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2644         run_program_env and test_program_prefix_after_env arguments.
2645         * intl/tst-gettext2.sh: Likewise.
2646         * intl/tst-gettext4.sh: Do not set environment variables
2647         explicitly.
2648         * intl/tst-gettext6.sh: Likewise.
2649         * intl/tst-translit.sh: Likewise.
2650         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2651         $(test-program-prefix-before-env), $(run-program-env) and
2652         $(test-program-prefix-after-env).
2653         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2654         run_program_env and test_program_prefix_after_env arguments.
2655         * math/Makefile (run-regen-ulps): Use $(run-program-env).
2656         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2657         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
2658         explicitly with each use of ${test_wrapper_env}.
2659         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2660         $(test-program-prefix-before-env), $(run-program-env) and
2661         $(test-program-prefix-after-env).
2662         * posix/tst-getconf.sh: Do not set environment variables
2663         explicitly.
2664         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2665         run_program_env and test_program_prefix_after_env arguments.
2666         * stdio-common/tst-printf.sh: Do not set environment variables
2667         explicitly.
2668         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2669         $(test-program-prefix-before-env), $(run-program-env) and
2670         $(test-program-prefix-after-env).
2671         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2672         run_program_env and test_program_prefix_after_env arguments.
2673         Split $test calls into $test_pre and $test.
2674         * timezone/Makefile (build-testdata): Use
2675         $(built-program-cmd-before-env), $(run-program-env) and
2676         $(built-program-cmd-after-env).
2677
2678 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2679
2680         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2681         strlen for non SHARED builds.
2682
2683 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2684
2685         * nptl/allocatestack.c (check_list): Inlined function...
2686         (__reclaim_stacks): ... here.
2687
2688 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2689
2690         [BZ #15698]
2691         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2692         memory overrun.
2693
2694 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
2695
2696         * Rules (make-test-out): Include
2697         LOCPATH=$(common-objpfx)localedata in default environment.
2698         * debug/Makefile (tst-chk1-ENV): Remove variable.
2699         (tst-chk2-ENV): Likewise.
2700         (tst-chk3-ENV): Likewise.
2701         (tst-chk4-ENV): Likewise.
2702         (tst-chk5-ENV): Likewise.
2703         (tst-chk6-ENV): Likewise.
2704         (tst-lfschk1-ENV): Likewise.
2705         (tst-lfschk2-ENV): Likewise.
2706         (tst-lfschk3-ENV): Likewise.
2707         (tst-lfschk4-ENV): Likewise.
2708         (tst-lfschk5-ENV): Likewise.
2709         (tst-lfschk6-ENV): Likewise.
2710         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2711         (tst-iconv7-ENV): Likewise.
2712         * intl/Makefile (LOCPATH-ENV): Likewise.
2713         (tst-codeset-ENV): Likewise.
2714         (tst-gettext3-ENV): Likewise.
2715         (tst-gettext5-ENV): Likewise.
2716         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2717         (tst-fopenloc-ENV): Likewise.
2718         (tst-fgetws-ENV): Remove variable.
2719         (tst-ungetwc1-ENV): Likewise.
2720         (tst-ungetwc2-ENV): Likewise.
2721         (bug-ungetwc2-ENV): Likewise.
2722         (tst-swscanf-ENV): Likewise.
2723         (bug-ftell-ENV): Likewise.
2724         (tst-fgetwc-ENV): Likewise.
2725         (tst-fseek-ENV): Likewise.
2726         (tst-ftell-partial-wide-ENV): Likewise.
2727         (tst-ftell-active-handler-ENV): Likewise.
2728         (tst-ftell-append-ENV): Likewise.
2729         * posix/Makefile (tst-fnmatch-ENV): Likewise.
2730         (tst-regexloc-ENV): Likewise.
2731         (bug-regex1-ENV): Likewise.
2732         (tst-regex-ENV): Likewise.
2733         (tst-regex2-ENV): Likewise.
2734         (bug-regex5-ENV): Likewise.
2735         (bug-regex6-ENV): Likewise.
2736         (bug-regex17-ENV): Likewise.
2737         (bug-regex18-ENV): Likewise.
2738         (bug-regex19-ENV): Likewise.
2739         (bug-regex20-ENV): Likewise.
2740         (bug-regex22-ENV): Likewise.
2741         (bug-regex23-ENV): Likewise.
2742         (bug-regex25-ENV): Likewise.
2743         (bug-regex26-ENV): Likewise.
2744         (bug-regex30-ENV): Likewise.
2745         (bug-regex32-ENV): Likewise.
2746         (bug-regex33-ENV): Likewise.
2747         (bug-regex34-ENV): Likewise.
2748         (bug-regex35-ENV): Likewise.
2749         (tst-rxspencer-ENV): Likewise.
2750         (tst-rxspencer-no-utf8-ENV): Likewise.
2751         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2752         (tst-sscanf-ENV): Likewise.
2753         (tst-swprintf-ENV): Likewise.
2754         (tst-swscanf-ENV): Likewise.
2755         (test-vfprintf-ENV): Likewise.
2756         (scanf13-ENV): Likewise.
2757         (bug14-ENV): Likewise.
2758         (tst-grouping-ENV): Likewise.
2759         * stdlib/Makefile (tst-strtod-ENV): Likewise.
2760         (tst-strtod3-ENV): Likewise.
2761         (tst-strtod4-ENV): Likewise.
2762         (tst-strtod5-ENV): Likewise.
2763         (testmb2-ENV): Likewise./
2764         * string/Makefile (tst-strxfrm-ENV): Likewise.
2765         (tst-strxfrm2-ENV): Likewise.
2766         (bug-strcoll1-ENV): Likewise.
2767         (test-strcasecmp-ENV): Likewise.
2768         (test-strncasecmp-ENV): Likewise.
2769         * time/Makefile (tst-strptime-ENV): Likewise.
2770         (tst-ftime_l-ENV): Likewise.
2771         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2772         (tst-mbrtowc-ENV): Likewise.
2773         (tst-wcrtomb-ENV): Likewise.
2774         (tst-mbrtowc2-ENV): Likewise.
2775         (tst-c16c32-1-ENV): Likewise.
2776         (tst-mbsnrtowcs-ENV): Likewise.
2777
2778 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2779
2780         * manual/resource.texi (How to get information about the memory
2781         subsystem?): Fix typo.
2782         Reported by Peon de la Parra Ivan <peon@keba.com>
2783
2784 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
2785
2786         [BZ #16882]
2787         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2788         (pthread_spin_lock): Branch out of spin loop to proper location.
2789         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2790         (pthread_spin_lock): Likewise.
2791
2792         * nptl/tst-spin4.c: New test.
2793         * nptl/Makefile (tests): Add tst-spin4.
2794
2795 2014-06-03  Andreas Schwab  <schwab@suse.de>
2796
2797         [BZ #15946]
2798         * resolv/res_send.c (send_dg): Reload file descriptor after
2799         calling reopen.
2800
2801 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
2802
2803         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2804
2805 2014-06-03  Richard Henderson  <rth@redhat.com>
2806
2807         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2808         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2809         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2810         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
2811         in the SAVE_PID block.
2812         (__libc_vfork): New alias.
2813         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2814
2815         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2816         child in registers, not on the stack.  Remove RESET_PID conditionals.
2817         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2818
2819 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2820
2821         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2822
2823 2014-06-03  Wilco  <wdijkstr@arm.com>
2824
2825         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2826         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2827         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2828         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2829         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2830         Likewise.
2831
2832 2014-06-03  Wilco  <wdijkstr@arm.com>
2833
2834         * sysdeps/aarch64/fpu/math_private.h
2835         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2836         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2837         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2838         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2839         Fix declarations.
2840
2841 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2842
2843         * crypt/crypt-private.h: Include ufc-crypt.h.
2844         (__b64_from_24bit): Declare extern.
2845         * crypt/crypt_util.c(__b64_from_24bit): New function.
2846         (b64t): New static const variable.
2847         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2848         (b64t): Remove variable.
2849         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2850         * crypt/sha256-crypt.c: Include crypt-private.h.
2851         (b64t): Remove variable.
2852         (__sha256_crypt_r): Remove b64_from_24bit and replace
2853         with __b64_from_24bit.
2854         * crypt/sha512-crypt.c: Likewise.
2855
2856 2014-06-02  Roland McGrath  <roland@hack.frob.com>
2857
2858         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2859         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2860         Label the code __libc_vfork rather than __vfork.
2861         [!NOT_IN_libc] (vfork): Define as weak alias.
2862         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2863         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2864         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2865
2866 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2867
2868         * malloc/malloc.c (malloc_info): Fix format specifier for
2869         n_mmaps.
2870
2871 2014-06-02  Wilco  <wdijkstr@arm.com>
2872
2873         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2874         FPCR write.
2875
2876 2014-06-02  Wilco  <wdijkstr@arm.com>
2877
2878         [BZ #17009]
2879         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2880         Rewrite to reduce FPCR/FPSR accesses.
2881
2882 2014-06-01  David S. Miller  <davem@davemloft.net>
2883
2884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2885
2886 2014-05-31  David S. Miller  <davem@davemloft.net>
2887
2888         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2889         to occur in round to nearest mode when |x| >= 2.0
2890
2891 2014-05-30  Richard Henderson  <rth@twiddle.net>
2892
2893         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2894         (PSEUDO_RET_NOERRNO): Remove.
2895         (ret): Don't redefine.
2896         (ret_NOERRNO): Define in terms of ret.
2897         (ret_ERRVAL): Likewise.
2898
2899         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2900         use of PSEUDO_RET; perform the error check directly.
2901
2902 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
2903
2904         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2905         with __int128_t.
2906
2907 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2908
2909         * malloc/malloc (malloc_info): Fix formatting.
2910
2911 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2912             Roland McGrath  <roland@hack.frob.com>
2913
2914         * malloc/malloc (malloc_info): Also print mmapped statistics.
2915
2916 2014-05-30  Roland McGrath  <roland@hack.frob.com>
2917
2918         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2919         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2920
2921 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
2922
2923         * malloc/malloc.c (malloc_info): Inline mi_arena.
2924
2925 2014-05-29  Richard Henderson  <rth@twiddle.net>
2926
2927         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2928         Remove comma before expanding ASM_ARGS_##nr.
2929         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2930         Make _x0 a strict output; make _x8 a strict input; adjust expansion
2931         of ASM_ARGS_##nr.
2932         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2933         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2934         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2935         (ASM_ARGS_1): Add leading comma.
2936
2937         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2938         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2939         to __errno_location.
2940         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2941         Remove the expected plt for __errno_location.
2942
2943         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2944         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2945         call to __read_tp.
2946
2947         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2948         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
2949         it and break it down.
2950         (DOCARGS_0, DOCARGS_1): Do nothing.
2951         (DOCARGS_2): Update to store into the new stack frame.
2952         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2953         (UNDOCARGS_1): Update to restore from the new stack frame.
2954         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2955         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2956
2957         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2958         (SINGLE_THREAD_P): New parameter for result regno.
2959         (PSEUDO): Update to match; use cbz instead of beq.
2960
2961         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2962         Use ENTRY to define the _nocancel entry point.  Share the syscall
2963         and syscall error check paths with the cancel path.
2964         (PSEUDO_END): New.
2965
2966         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2967         whitespace; tabs before and after asm mnemonics.
2968
2969 2014-05-29  Eric Wong  <normalperson@yhbt.net>
2970
2971         [BZ #15132]
2972         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2973         Call fstat64 or stat64 internally, depending on arguments passed.
2974         Replace stat buffer argument with file descriptor argument.
2975         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2976         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2977         Pass fd to __internal_statvfs instead of calling fstat64.
2978         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2979         Pass fd to __internal_statvfs64 instead of calling fstat64.
2980         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2981         Pass -1 to __internal_statvfs instead of calling stat64.
2982         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2983         Pass -1 to __internal_statvfs64 instead of calling stat64.
2984
2985 2014-05-28  Roland McGrath  <roland@hack.frob.com>
2986
2987         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2988         that was previously under [RESET_PID].
2989         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2990
2991         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2992         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2993
2994 2014-05-27  Roland McGrath  <roland@hack.frob.com>
2995
2996         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2997
2998         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2999         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3000
3001 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
3002
3003         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3004
3005 2014-05-27  Andreas Schwab  <schwab@suse.de>
3006
3007         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3008         TLS_INIT_TP macro.
3009         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3010         * elf/rtld.c (init_tls, dl_main): Likewise.
3011         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3012         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3013         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3014         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3015         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3016         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3017         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3018         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3019         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3020         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3021         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3022         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3023         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3024         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3025         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3026         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3027         * sysdeps/generic/tls.h: Update description.
3028
3029 2014-05-27  Will Newton  <will.newton@linaro.org>
3030
3031         [BZ #16990]
3032         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3033         and restore r2 rather than just restoring.
3034
3035 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3036
3037         [BZ #16724]
3038         * libio/tst-ftell-append.c: New test case.
3039         * libio/Makefile (tests): Add test case.
3040         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3041         append mode.
3042         * libio/wfileops.c (do_ftell_wide): Likewise.
3043
3044 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3045
3046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3047
3048         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3049         ...
3050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3052         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3053         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3054         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3055         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3056         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3057         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3058         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3059         Moved ...
3060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3061         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3062         Moved ...
3063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3064         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3065         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3066         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3067         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3068         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3069         ...
3070         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3071         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3072         Moved ...
3073         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3074         here.
3075         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3076         ...
3077         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3078         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3079         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3080
3081         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3082         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3083         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3084         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3085
3086         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3087         merge into ...
3088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3089         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3090         ...
3091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3092         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3093         ...
3094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3095         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3096         Moved ...
3097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3098         here.
3099         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3100         Moved ...
3101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3102         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3103         Moved ...
3104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3105
3106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3107         conditional [RESET_PID].
3108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3109         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3110         removed.
3111         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3112         removed.
3113
3114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3115         <tcb-offsets.h>.
3116         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3117         (__libc_vfork): New strong alias.
3118         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3119         removed.
3120         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3121         Removed.
3122
3123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3124         <tcb-offsets.h>.
3125         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3126         (__libc_vfork): New strong alias.
3127         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3128         removed.
3129         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3130         removed.
3131
3132 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
3133
3134         * malloc/malloc.c (mi_arena): New function.
3135         (malloc_info): Remove nested function mi_arena. Call non-nosted
3136         function mi_arena.
3137
3138 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3139
3140         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3141         by insrwi.
3142         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3143         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3144         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3145         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3146         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3147         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3148         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3149
3150 2014-05-26  Andreas Schwab  <schwab@suse.de>
3151
3152         [BZ #16984]
3153         * locale/programs/repertoire.c (repertoire_read): Add slash
3154         between I18NPATH element and file name.
3155         * locale/programs/locfile.c (locfile_read): Likewise.
3156
3157 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3158
3159         * nptl/pthread_mutexattr_settype.c
3160         (__pthread_mutexattr_settype):
3161         Disable lock elision for PTHREAD_MUTEX_NORMAL.
3162
3163 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3164
3165         * nptl/tst-mutex5 (do_test):
3166         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3167
3168 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3169
3170         * benchtests/README: Document 'init' directive.
3171         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3172         BENCH_INIT.
3173         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3174         (parse_file): Recognize 'init' directive.
3175
3176 2014-05-26  Kyle McMartin  <kyle@redhat.com>
3177
3178         [BZ #16796]
3179         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3180         alignment of struct pthread.
3181
3182 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3183
3184         [BZ #16878]
3185         * nscd/netgroupcache.c (addgetnetgrentX): Look for
3186         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3187         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3188         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3189
3190 2014-05-25  Richard Henderson  <rth@twiddle.net>
3191
3192         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3193         (SINGLE_THREAD_P_PIC): Remove.
3194         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3195         (SINGLE_THREAD_P_PIC): Remove.
3196
3197         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3198         branch to syscall error ...
3199         (PSEUDO): ... here.
3200         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3201         from __local_syscall_error to .Lsyscall_error.
3202         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3203         (SYSCALL_ERROR): Update label name.
3204
3205         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3206         Do not use DOARGS/UNDOARGS.
3207         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3208         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3209         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3210         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3211         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3212
3213         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3214         block comment.
3215
3216         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3217         define if !NOT_IN_libc.
3218         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3219         define with non-default symbol versions.
3220
3221 2014-05-23  Richard Henderson  <rth@twiddle.net>
3222
3223         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3224         (vfork, __vfork): Define via compat_symbol.
3225
3226         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3227         [!HAVE_IFUNC] (vfork_compat): Remove.
3228         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3229
3230 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3231
3232         [BZ #16978]
3233         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3234         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3235         variable.
3236
3237 2014-05-23  Richard Henderson  <rth@twiddle.net>
3238
3239         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3240         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3241         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3242         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3243
3244         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3245         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3246         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3247         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3248         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3249         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3250         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3251         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3252         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3253         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3254         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3255         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3256         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3257         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3258         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3259         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3260         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3261         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3262         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3263         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3264         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3265         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3266         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3267         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3268         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3269         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3270         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3271         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3272         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3273         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3274         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3275         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3276         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3277         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3278         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3279         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3280         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3281         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3282         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3283         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3284         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3285         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3286         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3287         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3288         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3289         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3290         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3291         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3292         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3293         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3294         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3295         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3296         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3297         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3298         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3299         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3300
3301         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3302         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3303         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3304         before exiting on error.
3305         (__libc_vfork): New strong alias.
3306         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3307         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3308
3309         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3310         that was previously under [RESET_PID].
3311         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3312
3313         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3314
3315 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3316
3317         [BZ #16977]
3318         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3319         value when x - 1 is zero.
3320         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3321         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3322         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3323         0.0L for an argument of 1.0L.
3324         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3325         Likewise.
3326         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3327         value when x - 1 is zero.
3328         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3329         * sysdeps/i386/fpu/libm-test-ulps: Update.
3330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3331
3332 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3333
3334         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3335         alphasort and versionsort.
3336
3337 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3338
3339         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3340         macro.
3341         [copysignf]: Likewise.
3342
3343 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3344
3345         * crypt/md5-crypt.c: Fix formatting.
3346
3347 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3348
3349         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3350         (b64_from_24bit): New function.
3351
3352 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3353
3354         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3355         libc_hidden_builtin_def to ifunc.
3356         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3357         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3358
3359 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3360
3361         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3362         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3363
3364 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3365
3366         * nscd/Depend (linuxthreads): Remove.
3367         (nptl): Add.
3368         * resolv/Depend (linuxthreads): Remove.
3369         * rt/Depend (linuxthreads): Remove.
3370
3371         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3372         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3373         $(common-objpfx)elf/.
3374         (link-libc-before-gnulib): Likewise.
3375         (elfobjdir): Remove variable.
3376         * Makefile (install): Use $(elf-objpfx) instead of
3377         $(common-objpfx)elf/.
3378         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3379         $(elfobjdir)/.
3380         (link-libc-deps): Likewise.
3381         ($(common-objpfx)libc.so): Likewise.
3382         ($(common-objpfx)linkobj/libc.so): Likewise.
3383         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3384         instead of $(common-objpfx)elf/.
3385         (symbolic-link-list): Likewise.
3386         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3387         [$(cross-compiling) = no]: Likewise.
3388         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3389         $(elfobjdir)/.
3390         (static-gnulib-arch): Likewise.
3391         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3392         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3393         $(common-objpfx)elf/.
3394
3395 2014-05-21  Richard Henderson  <rth@redhat.com>
3396
3397         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3398         (SINGLE_THREAD_P): Use the correct width load.  Fold
3399         into the ldr offset.
3400
3401         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3402         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3403
3404 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3405
3406         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3407         (libgcc_s_resume): Use __attribute_used__.
3408         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3409         Likewise.
3410
3411 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3412
3413         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3414         optimization when used with float constants.
3415
3416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3417
3418 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
3419
3420         [BZ #16915]
3421         * locale/nl_langinfo_l.c: Make direct reference to every
3422         _nl_current_CATEGORY symbol.
3423         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3424         (tests-static): Add tst-langinfo-static.
3425         (tests-special): Add tst-langinfo-static.out.
3426         ($(objpfx)tst-langinfo.out): Redirect output.
3427         ($(objpfx)tst-langinfo-static.out): New.
3428         * localedata/tst-langinfo.sh: Send output to stdout.
3429         * localedata/tst-langinfo-static.c: New file.
3430
3431         [BZ #16965]
3432         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3433         when the shift amount is modulo the limb size.
3434
3435 2014-05-20  Richard Henderson  <rth@redhat.com>
3436
3437         [BZ #16967]
3438         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3439         Change type of sa_flags from unsigned int to int.
3440
3441         [BZ #16966]
3442         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3443
3444         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3445
3446 2014-05-20  Will Newton  <will.newton@linaro.org>
3447
3448         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3449         Test the return value of the system call in the nocancel case.
3450
3451 2014-05-20  Will Newton  <will.newton@linaro.org>
3452             Yvan Roux  <yvan.roux@linaro.org>
3453
3454         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3455         #include of asm/ptrace.h.
3456         (PTRACE_GET_THREAD_AREA): Remove #undef.
3457         (PTRACE_GETHBPREGS): Likewise.
3458         (PTRACE_SETHBPREGS): Likewise.
3459         (struct user_regs_struct): New structure.
3460         (struct user_fpsimd_struct): New structure.
3461         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3462         #include of asm/ptrace.h and second #include of sys/user.h.
3463         (PTRACE_GET_THREAD_AREA): Remove #undef.
3464         (PTRACE_GETHBPREGS): Likewise.
3465         (PTRACE_SETHBPREGS): Likewise.
3466         (ELF_NGREG): Use new struct user_regs_struct.
3467         (elf_fpregset_t): Use new struct user_fpsimd_struct.
3468
3469 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3470
3471         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3472         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3473
3474 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3475
3476         [BZ #16958]
3477         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3478         membar to avoid block loads/stores to overlap previous stores.
3479
3480 2014-05-17  Richard Henderson  <rth@redhat.com>
3481
3482         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3483         Create the __##syscall_name##_nocancel entry point.
3484         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3485         Remove; let the sysdep-cancel.h code create it.
3486
3487 2014-05-17  David S. Miller  <davem@davemloft.net>
3488
3489         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3490         Protect with __USE_GNU.
3491         (TIOCSET_TEMPT): Likewise.
3492         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3493         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3494         these are already provided in bits/ioctl-types.h
3495
3496 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3497
3498         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3499         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3500
3501         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3502         Use wait4 regardless of [__NR_waitpid].
3503
3504 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3505
3506         PR libgcc/60166
3507         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3508         (_FP_NANSIGN_Q): Set the quiet bit.
3509
3510 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
3511
3512         * benchtests/Makefile
3513         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3514         not $(common-objpfx)math/libm.so.
3515         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3516         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3517         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3518         $(common-objpfx)dlfcn/libdl.so.
3519         ($(objpfx)tst-audit8): Depend on $(libm), not
3520         $(common-objpfx)math/libm.so.
3521         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3522         not $(common-objpfx)dlfcn/libdl.so.
3523         * math/Makefile
3524         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3525         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
3526         [$(build-shared) = yes].
3527         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3528         $(common-objpfx)nptl/libpthread.so.
3529         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3530         $(common-objpfx)math/libm.so$(libm.so-version) or
3531         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3532         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3533         $(common-objpfx)dlfcn/libdl.so.
3534         * setjmp/Makefile (link-libm): Remove variable.
3535         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3536         * stdio-common/Makefile (link-libm): Remove variable.
3537         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3538         * stdlib/Makefile (link-libm): Remove variable.
3539         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3540         ($(objpfx)tst-strtod-round): Likewise.
3541         ($(objpfx)tst-tininess): Likewise.
3542         ($(objpfx)tst-strtod-underflow): Likewise.
3543         ($(objpfx)tst-strtod6): Likewise.
3544         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3545         $(libdl), not $(common-objpfx)nptl/libpthread.so and
3546         $(common-objpfx)dlfcn/libdl.so.
3547
3548 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3549
3550         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3551         BSD terminal modes definitions.
3552
3553 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3554
3555         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3556         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3557
3558         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3559         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3560         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3561         Don't do #include_next.
3562         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3563         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3564         Don't do #include_next.
3565         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3566         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3567         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3568         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3569
3570 2014-05-16  Allan McRae  <allan@archlinux.org>
3571
3572         * po/sv.po: Update Swedish translation from translation project.
3573
3574         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3575         in sed expression.
3576
3577 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
3578
3579         [BZ #16917]
3580         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3581         errno if the TIOCGPTN ioctl fails with an error different than
3582         EINVAL.
3583         * login/tst-ptsname.c: New file.
3584         * login/Makefile (tests): Add tst-ptsname.
3585
3586         [BZ #16943]
3587         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3588         and prlimit64.
3589
3590 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3591
3592         [BZ #16849]
3593         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3594         herrno to return EAI_AGAIN.
3595
3596 2014-05-14  Roland McGrath  <roland@hack.frob.com>
3597
3598         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3599         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3600         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3601         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3602         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3603         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3604         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3605         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3606         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3607         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3608         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3609         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3610         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3611         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3612         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3613         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3614         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3615         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3616         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3617         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3618         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3619         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3620         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3621         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3622         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3623         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3624         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3625         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3626         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3627         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3629         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3631         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3633         Moved ...
3634         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3635         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3636         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3637         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3638         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3639         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3640         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3641         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3642         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3644         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3645         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3646         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3648         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3649         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3650         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3651         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3652         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3654         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3656         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3658         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3659         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3660         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3662         Moved ...
3663         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3665         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3667         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3668         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3669         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3670         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3671         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3673         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3674         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3675         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3676         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3677         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3678         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3679         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3680         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3681         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3682         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3683         Moved ...
3684         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3686         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3687
3688         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3689         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3690         (libpthread-sysdep_routines): Add elision-related stuff here instead.
3691         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3692         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3693         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3694         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3695         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3696         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3697         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3698         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3699         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3700         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3701         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3702         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3703         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3704         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3705         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3706         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3707         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3708         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3709         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3710         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3711         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3712         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3713         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3714         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3715         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3716         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3717         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3718         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3719
3720         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3721         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3722
3723         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3724         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3725         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3726         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3727         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3728         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3729         Moved ...
3730         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3731         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3732         Moved ...
3733         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3734         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3735         Moved ...
3736         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3737         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3738         Moved ...
3739         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3740         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3741         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3742         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3743         Moved ...
3744         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3745         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3746         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3747         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3748         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3749         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3750         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3751         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3752         Moved ...
3753         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3754         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3755         Moved ...
3756         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3757         ... here.
3758         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3759         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3760         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3761         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3762         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3763         Moved ...
3764         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3765         ... here.
3766         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3767         Moved ...
3768         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3769         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3770         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3771         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3772         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3773         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3774         Moved ...
3775         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3776         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3777         Moved ...
3778         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3779         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3780         Moved ...
3781         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3782         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3783         Moved ...
3784         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3785         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3786         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3787         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3788         Moved ...
3789         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3790         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3791         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3792         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3793         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3794         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3795         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3796         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3797         Moved ...
3798         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3799         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3800         Moved ...
3801         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3802         ... here.
3803         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3804         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3805         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3806         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3807         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3808         Moved ...
3809         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3810         ... here.
3811         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3812         Moved ...
3813         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3814         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3815         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3816         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3817         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3818         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3819         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3820         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3821         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3822         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3823         Moved ...
3824         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3825         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3826         Moved ...
3827         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3828         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3829         Moved ...
3830         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3831         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3832         Moved ...
3833         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3834         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3835         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3836         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3837         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3838         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3839         Moved ...
3840         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3841         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3842         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3843         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3844         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3845         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3846         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3847         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3848         Moved ...
3849         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3850         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3851         Moved ...
3852         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3853         ... here.
3854         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3855         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3856         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3857         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3858         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3859         Moved ...
3860         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3861         ... here.
3862         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3863         Moved ...
3864         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3865         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3866         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3867         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3868         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3869         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3870         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3871         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3872         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3873         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3874         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3875
3876         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3877         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3878
3879         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3880         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3881
3882         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3883         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3884         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3885         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3886         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3887         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3888         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3889         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3890         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3891         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3892         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3893         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3894         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3895         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3896         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3897         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3898         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3899         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3900         Moved ...
3901         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3902         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3903         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3904         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3905         Moved ...
3906         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3907         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3908         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3909         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3910         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3911         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3912         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3913         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3914         Moved ...
3915         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3916         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3917         Moved ...
3918         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3919         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3920         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3921         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3922         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3923         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3924         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3925         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3926         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3927         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3928         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3929         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3930         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3931         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3932         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3933         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3934         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3935
3936         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3937         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3938         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3939         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3940         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3941
3942         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3943         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3944         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3945         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3946         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3947         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3948         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3949         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3950         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3951         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3952
3953         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3954         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3955
3956         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3957         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3958         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3959         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3960         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3961         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3962         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3963         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3964         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3965         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3966         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3967         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3968         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3969         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3970         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3971         Update #include.
3972         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3973         Likewise.
3974         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3975         Likewise.
3976         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3977         Likewise.
3978         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3979         Likewise.
3980         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3981         Likewise.
3982         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3983         Likewise.
3984         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3985         Likewise.
3986         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3987         Likewise.
3988         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3989         Likewise.
3990         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3991         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3992         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3993         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3994         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3995         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3996         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3997         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3998         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3999         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4000         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4001         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4002         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4003         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
4004         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
4005
4006         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4007         that was previously under [RESET_PID].
4008         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4009         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4010         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4011
4012         * sysdeps/i386/nptl/Implies: New file.
4013         * sysdeps/x86_64/nptl/Implies: New file.
4014         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4015         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4016         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4017         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4018
4019         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4020         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4021         (__libc_vfork): New strong alias.
4022         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4023         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4024
4025         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4026         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4027         (__libc_vfork): New strong alias.
4028         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4029         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4030
4031         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4032         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4033         (__libc_vfork): New strong alias.
4034         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4035         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4036         * nptl/pt-vfork.c: New file.
4037         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4038         (libpthread: GLIBC_2.20): New version set (empty).
4039
4040 2014-05-14  Will Newton  <will.newton@linaro.org>
4041
4042         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4043         rather than #if.
4044
4045 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4046
4047         [BZ #16564]
4048         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4049         arguments with exponent 65 or above.
4050         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4051         arguments 0x1p113L or above.
4052         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4053         to arguments 0x1p107L or above.
4054         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4055         positive arguments with exponent 65 or above.
4056         * math/auto-libm-test-in: Add more tests of log1p.
4057         * math/auto-libm-test-out: Regenerated.
4058
4059         [BZ #16928]
4060         * math/s_cacos.c (__cacos): Ensure zero real part of result from
4061         non-finite arguments is +0.
4062         * math/s_cacosf.c (__cacosf): Likewise.
4063         * math/s_cacosl.c (__cacosl): Likewise.
4064         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4065         * sysdeps/i386/fpu/libm-test-ulps: Update.
4066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4067
4068         [BZ #16927]
4069         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4070         value.
4071         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4072         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4073         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4074         for explicit high bit of mantissa when testing for argument equal
4075         to 1.
4076         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4077         * sysdeps/i386/fpu/libm-test-ulps: Update.
4078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4079
4080         [BZ #16516]
4081         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4082         (__erf): Scale by 16 instead of 8 in potentially underflowing
4083         case.  Ensure exception if result actually underflows.
4084         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4085         (__erff): Scale by 16 instead of 8 in potentially underflowing
4086         case.  Ensure exception if result actually underflows.
4087         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4088         (efx8): Remove variable.
4089         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4090         case.  Ensure exception if result actually underflows.
4091         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4092         (efx8): Remove variable.
4093         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4094         case.  Ensure exception if result actually underflows.
4095         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4096         (efx8): Remove variable.
4097         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4098         case.  Ensure exception if result actually underflows.
4099         * math/auto-libm-test-in: Add more tests of erf.
4100         * math/auto-libm-test-out: Regenerated.
4101
4102 2014-05-14  Andreas Schwab  <schwab@suse.de>
4103
4104         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4105         Remove code conditionalized on USE___THREAD.
4106
4107         * config.h.in (HAVE_PT_CHOWN): Define as 0.
4108         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4109         not definedness.
4110
4111 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4112
4113         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4114         Define unconditionally.
4115         (__ASSUME_O_CLOEXEC): Likewise.
4116         (__ASSUME_SOCK_CLOEXEC): Likewise.
4117         (__ASSUME_IN_NONBLOCK): Likewise.
4118         (__ASSUME_PIPE2): Likewise.
4119         (__ASSUME_EVENTFD2): Likewise.
4120         (__ASSUME_SIGNALFD4): Likewise.
4121         (__ASSUME_DUP3): Likewise.
4122         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4123         (__ASSUME_DUP3): Do not define.
4124         (__ASSUME_EVENTFD2): Likewise.
4125         (__ASSUME_IN_NONBLOCK): Likewise.
4126         (__ASSUME_O_CLOEXEC): Likewise.
4127         (__ASSUME_PIPE2): Likewise.
4128         (__ASSUME_SIGNALFD4): Likewise.
4129         (__ASSUME_SOCK_CLOEXEC): Likewise.
4130         (__ASSUME_UTIMES): Undefine.
4131         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4132         (__ASSUME_UTIMES): Do not define.
4133         (__ASSUME_O_CLOEXEC): Likewise.
4134         (__ASSUME_SOCK_CLOEXEC): Likewise.
4135         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4136         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4137         0x020621].
4138         (__ASSUME_PIPE2): Likewise.
4139         (__ASSUME_EVENTFD2): Likewise.
4140         (__ASSUME_SIGNALFD4): Likewise.
4141         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4142         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4143         Do not define.
4144         (__ASSUME_EVENTFD2): Likewise.
4145         (__ASSUME_SIGNALFD4): Likewise.
4146         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4147         (__ASSUME_32BITUIDS): Likewise.
4148         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4149         (__ASSUME_IPC64): Likewise.
4150         (__ASSUME_ST_INO_64_BIT): Likewise.
4151         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4152         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4153         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4154         (__ASSUME_UTIMES): Do not define.
4155         (__ASSUME_PSELECT): Likewise.
4156         (__ASSUME_PPOLL): Likewise.
4157         (__ASSUME_O_CLOEXEC): Likewise.
4158         (__ASSUME_SOCK_CLOEXEC): Likewise.
4159         (__ASSUME_IN_NONBLOCK): Likewise.
4160         (__ASSUME_PIPE2): Likewise.
4161         (__ASSUME_EVENTFD2): Likewise.
4162         (__ASSUME_SIGNALFD4): Likewise.
4163         (__ASSUME_DUP3): Likewise.
4164         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4165         (__ASSUME_UTIMES): Likewise.
4166         (__ASSUME_O_CLOEXEC): Likewise.
4167         (__ASSUME_SOCK_CLOEXEC): Likewise.
4168         (__ASSUME_IN_NONBLOCK): Likewise.
4169         (__ASSUME_PIPE2): Likewise.
4170         (__ASSUME_EVENTFD2): Likewise.
4171         (__ASSUME_SIGNALFD4): Likewise.
4172         (__ASSUME_DUP3): Likewise.
4173         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4174         (__ASSUME_UTIMES): Likewise.
4175         (__ASSUME_O_CLOEXEC): Likewise.
4176         (__ASSUME_SOCK_CLOEXEC): Likewise.
4177         (__ASSUME_IN_NONBLOCK): Likewise.
4178         (__ASSUME_PIPE2): Likewise.
4179         (__ASSUME_EVENTFD2): Likewise.
4180         (__ASSUME_SIGNALFD4): Likewise.
4181         (__ASSUME_DUP3): Likewise.
4182         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4183         Likewise.
4184         (__ASSUME_UTIMES): Likewise.
4185         (__ASSUME_EVENTFD2): Likewise.
4186         (__ASSUME_SIGNALFD4): Likewise.
4187         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4188         (__ASSUME_O_CLOEXEC): Likewise.
4189         (__ASSUME_SOCK_CLOEXEC): Likewise.
4190         (__ASSUME_IN_NONBLOCK): Likewise.
4191         (__ASSUME_PIPE2): Likewise.
4192         (__ASSUME_EVENTFD2): Likewise.
4193         (__ASSUME_SIGNALFD4): Likewise.
4194         (__ASSUME_DUP3): Likewise.
4195         (__ASSUME_UTIMES): Undefine.
4196
4197         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4198         feclearexcept.  Remove symbol versioning code.
4199         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
4200         symbol versioning code.
4201         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
4202         symbol versioning code.
4203         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4204         feupdateenv.  Remove symbol versioning code.
4205         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4206         fegetexceptflag.  Remove symbol versioning code.
4207         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4208         fesetexceptflag.  Remove symbol versioning code.
4209         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4210         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
4211         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4212         (__posix_fadvise64_l32): Remove prototype.
4213         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4214         code.
4215
4216 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4217
4218         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4219         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4220         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4221         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4222
4223 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
4224
4225         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4226         current working directory
4227
4228 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4229
4230         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4231         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4232         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4233         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4234         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4235         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4236         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4237         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4238         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4239         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4240         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4241         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4242         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4243         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4244         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4245         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4246         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4247         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4248         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4249         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4250         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4251         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4252         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4253         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4254         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4255         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4256         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4257         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4258         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4259         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4260         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4261         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4262         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4263         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4264         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4265         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4266         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4267         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4268         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4269         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4270         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4271         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4272
4273         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4274         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4275
4276         * sysdeps/unix/sysv/linux/arm/Makefile
4277         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4278         Add rt-aeabi_unwind_cpp_pr1.
4279         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4280         Add nptl-aeabi_unwind_cpp_pr1.
4281         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4282         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4283         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4284         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4285         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4286         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4287
4288         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4289         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4290         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4291         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4292
4293         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4294         Deconditionalize the code that was previously under [RESET_PID].
4295         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4296
4297         * sysdeps/generic/exit-thread.h: New file.
4298         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4299         * include/unistd.h (__exit_thread): Remove declaration.
4300         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4301         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4302         * csu/libc-start.c: Include <exit-thread.h>.
4303         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4304         * nptl/pthread_create.c: Include <exit-thread.h>.
4305         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4306         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4307         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4308         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4309         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4310         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4311         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4312         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4313         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4314         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4315         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4316         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4317         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4318         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4319         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4320         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4321         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4322
4323 2014-05-13  Andreas Schwab  <schwab@suse.de>
4324
4325         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4326
4327 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4328
4329         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4330         (__ASSUME_UTIMES): Do not condition on kernel version.
4331         (__ASSUME_PSELECT): Define unconditionally.
4332         (__ASSUME_PPOLL): Likewise.
4333         (__ASSUME_ATFCTS): Likewise.
4334         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4335         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4336         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4337         (__ASSUME_UTIMENSAT): Define unconditionally.
4338         (__ASSUME_PRIVATE_FUTEX): Likewise.
4339         (__ASSUME_FALLOCATE): Likewise.
4340         (__ASSUME_O_CLOEXEC): Likewise.
4341         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4342         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4343         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4344         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4345         (__ASSUME_IN_NONBLOCK): Likewise.
4346         (__ASSUME_PIPE2): Likewise.
4347         (__ASSUME_EVENTFD2): Likewise.
4348         (__ASSUME_SIGNALFD4): Likewise.
4349         (__ASSUME_DUP3): Likewise.
4350         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4351         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4352         (__ASSUME_AT_RANDOM): Likewise.
4353         (__ASSUME_PREADV): Likewise.
4354         (__ASSUME_PWRITEV): Likewise.
4355         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4356         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4357         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4358         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4359         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4360         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4361         (__ASSUME_O_CLOEXEC): Define unconditionally.
4362         (__ASSUME_PSELECT): Do not undefine conditionally.
4363         (__ASSUME_PPOLL): Likewise.
4364         (__ASSUME_ATFCTS): Likewise.
4365         (__ASSUME_SET_ROBUST_LIST): Likewise.
4366         (__ASSUME_UTIMENSAT): Likewise.
4367         (__ASSUME_FDATASYNC): Define unconditionally.
4368         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4369         (__ASSUME_SIGFRAME_V2): Likewise.
4370         )__ASSUME_EVENTFD2): Likewise.
4371         (__ASSUME_SIGNALFD4): Likewise.
4372         (__ASSUME_PSELECT): Do not undefine conditionally.
4373         (__ASSUME_PPOLL): Likewise.
4374         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4375         (__ASSUME_PSELECT): Define unconditionally.
4376         (__ASSUME_PPOLL): Likewise.
4377         (__ASSUME_O_CLOEXEC): Likewise.
4378         (__ASSUME_SOCK_CLOEXEC): Likewise.
4379         (__ASSUME_IN_NONBLOCK): Likewise.
4380         (__ASSUME_PIPE2): Likewise.
4381         (__ASSUME_EVENTFD2): Likewise.
4382         (__ASSUME_SIGNALFD4): Likewise.
4383         (__ASSUME_DUP3): Likewise.
4384         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4385         (__ASSUME_O_CLOEXEC): Likewise.
4386         (__ASSUME_SOCK_CLOEXEC): Likewise.
4387         (__ASSUME_IN_NONBLOCK): Likewise.
4388         (__ASSUME_PIPE2): Likewise.
4389         (__ASSUME_EVENTFD2): Likewise.
4390         (__ASSUME_SIGNALFD4): Likewise.
4391         (__ASSUME_DUP3): Likewise.
4392         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4393         (__ASSUME_EVENTFD2): Likewise.
4394         (__ASSUME_SIGNALFD4): Likewise.
4395         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4396
4397 2014-05-12  Andreas Schwab  <schwab@suse.de>
4398
4399         [BZ #16932]
4400         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4401         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4402         than maximum RPC packet size.
4403         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4404         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4405         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4406         (_nss_nis_getservbyport_r): Likewise.
4407
4408 2014-05-12  Will Newton  <will.newton@linaro.org>
4409
4410         * malloc/Makefile (tests): Add tst-mallopt.
4411         * malloc/tst-mallopt.c: New file.
4412
4413 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4414
4415         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4416         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4417
4418 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4419
4420         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4421         (tst-tlsmod6.so): Likewise.
4422
4423 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4424
4425         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4426
4427 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
4428
4429         [BZ #16064]
4430         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4431         and <dl-procinfo.h>.
4432         (__fegetenv): Save SSE state in envp->__eip if supported.
4433         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4434         envp->__eip if supported.
4435         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4436         and <dl-procinfo.h>.
4437         (__fesetenv): Always set __eip, __cs_selector, __opcode,
4438         __data_offset and __data_selector in environment to 0.  Set SSE
4439         state if supported.
4440         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4441         test-fenv-sse.
4442         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4443         -mfpmath=sse.
4444         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4445
4446 2014-05-09  Will Newton  <will.newton@linaro.org>
4447
4448         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4449         and libc_relro_required for ARM.
4450         * sysdeps/arm/preconfigure: Regenerate.
4451
4452 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
4453             Stefan Liebler  <stli@linux.vnet.ibm.com>
4454
4455         * config.make.in (enable-lock-elision): New Makefile variable.
4456         * configure.ac: Likewise.
4457         * configure: Regenerate.
4458         * sysdeps/s390/configure.ac:
4459         Add check for gcc transactions support.
4460         * sysdeps/s390/configure: Regenerate.
4461         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4462         Build elision files if enabled.
4463         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4464         Add lock elision support for s390.
4465         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4466         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4467         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4468         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4469         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4470         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4471         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4472         Likewise.
4473         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4474         Likewise.
4475         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4476         Likewise.
4477         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4478         Likewise.
4479         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4480         (__lll_timedlock_elision, __lll_lock_elision)
4481         (__lll_unlock_elision, __lll_trylock_elision)
4482         (lll_timedlock_elision, lll_lock_elision)
4483         (lll_unlock_elision, lll_trylock_elision): Add.
4484         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4485         (pthread_mutex_t): Add lock elision support for s390.
4486
4487 2014-05-14  Wilco  <wdijkstr@arm.com>
4488
4489         * sysdeps/arm/fclrexcpt.c: Cleanup.
4490         * sysdeps/arm/fedisblxcpt.c: Cleanup.
4491         * sysdeps/arm/feenablxcpt.c: Cleanup.
4492         * sysdeps/arm/fegetenv.c: Cleanup.
4493         * sysdeps/arm/fegetexcept.c: Cleanup.
4494         * sysdeps/arm/fegetround.c: Cleanup.
4495         * sysdeps/arm/feholdexcpt.c: Cleanup.
4496         * sysdeps/arm/fesetenv.c: Cleanup.
4497         * sysdeps/arm/fesetround.c: Cleanup.
4498         * sysdeps/arm/feupdateenv.c: Cleanup.
4499         * sysdeps/arm/fgetexcptflg.c: Cleanup.
4500         * sysdeps/arm/fraiseexcpt.c: Cleanup.
4501         * sysdeps/arm/fsetexcptflg.c: Cleanup.
4502         * sysdeps/arm/ftestexcept.c: Cleanup.
4503         * sysdeps/arm/get-rounding-mode.h: Cleanup.
4504         * sysdeps/arm/setfpucw.c: Cleanup.
4505
4506 2014-05-09  Will Newton  <will.newton@linaro.org>
4507
4508         * sysdeps/arm/armv7/strcmp.S: New file.
4509         * NEWS: Mention addition of ARMv7 optimized strcmp.
4510
4511 2014-05-08  Roland McGrath  <roland@hack.frob.com>
4512
4513         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4514         look for %.ac rather than %.in.
4515
4516         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4517         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4518         * sysdeps/mach/hurd/configure: Regenerated.
4519         * sysdeps/unix/sysv/linux/configure: Regenerated.
4520
4521         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4522
4523 2014-05-07  Steve Ellcey  <sellcey@mips.com>
4524
4525         [BZ# 16922]
4526         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4527         (LONG_SUB): Ditto.
4528         (PTR_SUB): Ditto.
4529
4530 2014-05-07  Andreas Schwab  <schwab@suse.de>
4531
4532         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4533         when skipping over non-matching result from nscd.
4534
4535 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
4536
4537         [BZ #16876]
4538         * nptl/sockperf.c (client): Check socket return value.
4539
4540         [BZ #16877]
4541         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4542         nscd security class.
4543
4544 2014-05-06  Roland McGrath  <roland@hack.frob.com>
4545
4546         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4547         * sysdeps/arm/unwind.h: ... here.
4548
4549 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
4550
4551         [BZ# 16916]
4552         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4553         Define.
4554
4555 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4556
4557         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4558         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4559         multiarch strncpy for PPC64.
4560         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4561         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4563         multiarch optimizations.
4564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4565         (__libc_ifunc_impl_list): Likewise.
4566         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4567         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4568         multiarch stpncpy for PPC64.
4569         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4570         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4571
4572 2014-05-06  Andreas Schwab  <schwab@suse.de>
4573
4574         [BZ #16912]
4575         * gmon/mcount.c (_MCOUNT_DECL): Use
4576         atomic_compare_and_exchange_bool_acq instead of
4577         catomic_compare_and_exchange_bool_acq.
4578
4579 2014-05-05  Roland McGrath  <roland@hack.frob.com>
4580
4581         * elf/Makefile (others, install-bin): Remove pldd.
4582         (pldd-modules): Variable removed.
4583         ($(objpfx)pldd): Target removed.
4584         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4585         (others, install-bin): Append pldd here.
4586         ($(objpfx)pldd): New target.
4587
4588         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4589         to 0, so the first #if test emitted later doesn't see it undefined.
4590         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4591         * sysdeps/gnu/errlist.c: Regenerated.
4592
4593 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4594
4595         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4596         [libc_hidden_builtin_def]: Define to empty value.
4597         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4598         [libc_hidden_builtin_def]: Likewise.
4599         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4600         [libc_hidden_builtin_def]: Likewise.
4601         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4602         [libc_hidden_builtin_def]: Likewise.
4603         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4604         __redirect_memcpy and define ifunc as default hidden symbol.
4605         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4606         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4607
4608 2014-05-04  Adam Conrad  <adconrad@0c3.net>
4609
4610         * locale/iso-4217.def: Reintroduce XDR currency.
4611
4612 2014-05-04  Allan McRae  <allan@archlinux.org>
4613
4614         * po/eo.po: Update Esperanto translation from translation project.
4615
4616 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
4617
4618         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4619         and FEATURE_INDEX_MAX to 1.
4620         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4621
4622 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4623
4624         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4625         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4626         * iconvdata/big5.c (ONE_DIRECTION): Define.
4627         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4628         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4629         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4630         * iconvdata/cp932.c (ONE_DIRECTION): Define.
4631         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4632         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4633         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4634         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4635         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4636         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4637         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4638         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4639         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4640         * iconvdata/gbk.c (ONE_DIRECTION): Define.
4641         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4642         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4643         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4644         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4645         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4646         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4647         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4648         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4649         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4650         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4651         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4652         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4653         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4654         * iconvdata/iso646.c (ONE_DIRECTION): Define.
4655         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4656         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4657         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4658         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4659         * iconvdata/johab.c (ONE_DIRECTION): Define.
4660         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4661         * iconvdata/sjis.c (ONE_DIRECTION): Define.
4662         * iconvdata/t.61.c (ONE_DIRECTION): Define.
4663         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4664         * iconvdata/tscii.c (ONE_DIRECTION): Define.
4665         * iconvdata/uhc.c (ONE_DIRECTION): Define.
4666         * iconvdata/unicode.c (ONE_DIRECTION): Define.
4667         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4668         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4669         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4670
4671 2014-05-01  Roland McGrath  <roland@hack.frob.com>
4672
4673         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4674         (_IO_JUMPS_OFFSET): Define to 0.
4675
4676         * nptl/sysdeps/pthread/bits/libc-lock.h
4677         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4678         (__libc_lock_define_initialized_recursive): Always define using
4679         initializer.  Modern compilers treat uninitialized (implicit zero) and
4680         explicit zero initializers the same (i.e. put the datum in bss).
4681
4682 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4683
4684         * nscd/nscd-client.h: Include <string.h>.
4685
4686 2014-05-01  David S. Miller  <davem@davemloft.net>
4687
4688         [BZ #16885]
4689         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4690         multiple zero bytes exist at the end of a string.
4691         Reported by Aurelien Jarno <aurelien@aurel32.net>
4692
4693         * string/test-strcmp.c (check): Add explicit test for situations where
4694         there are multiple zero bytes after the first.
4695
4696 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4697
4698         [BZ #16890]
4699         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4700         when compiling wprintf.
4701         * stdio-common/tstdiomisc.c (t3): New function.
4702         (main): Call it.
4703
4704 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4705
4706         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4707         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4708         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4709         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4710
4711 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4712
4713         * stdlib/longlong.h: Updated from GCC.
4714
4715 2014-05-01  Will Newton  <will.newton@linaro.org>
4716             Bernard Ogden  <bernie.ogden@linaro.org>
4717
4718         * NEWS: Update fixed bug list.
4719
4720         [BZ #15119]
4721         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4722
4723 2014-04-30  David S. Miller  <davem@davemloft.net>
4724
4725         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4726         (libc_feholdexcept_setround_sparc_ctx): New function.
4727         (libc_fesetenv_sparc_ctx): Likewise.
4728         (libc_feupdateenv_sparc_ctx): Likewise.
4729         (libc_feholdsetround_sparc_ctx): Likewise.
4730         (libc_feholdexcept_setround_ctx): Define.
4731         (libc_feholdexcept_setroundf_ctx): Likewise.
4732         (libc_feholdexcept_setroundl_ctx): Likewise.
4733         (libc_fesetenv_ctx): Likewise.
4734         (libc_fesetenvf_ctx): Likewise.
4735         (libc_fesetenvl_ctx): Likewise.
4736         (libc_feupdateenv_ctx): Likewise.
4737         (libc_feupdateenvf_ctx): Likewise.
4738         (libc_feupdateenvl_ctx): Likewise.
4739         (libc_feresetround_ctx): Likewise.
4740         (libc_feresetroundf_ctx): Likewise.
4741         (libc_feresetroundl_ctx): Likewise.
4742         (libc_feholdsetround_ctx): Likewise.
4743         (libc_feholdsetroundf_ctx): Likewise.
4744         (libc_feholdsetroundl_ctx): Likewise.
4745
4746         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4747         with __USE_GNU instead of XOPEN cpp guards.
4748
4749         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4750         0.
4751
4752         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4753         with XOPEN cpp guards.
4754
4755 2014-04-30  Julian Brown  <julian@codesourcery.com>
4756
4757         [BZ #16888]
4758         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4759         handling.
4760
4761 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
4762
4763         [BZ #9894]
4764         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4765         Change to 2.6.32.
4766         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4767         * sysdeps/unix/sysv/linux/configure: Regenerated.
4768         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4769         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4770         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4771         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4772         * README: Update reference to required Linux kernel version.
4773         * manual/install.texi (Linux): Update reference to required Linux
4774         kernel headers version.
4775         * INSTALL: Regenerated.
4776
4777         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4778         header inclusion.
4779         [POSIX] (limits.h): Likewise.
4780         [POSIX] (math.h): Likewise.
4781         [POSIX] (sys/wait.h): Likewise.
4782         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4783         function.
4784         [POSIX] (stddef.h): Do not allow header inclusion.
4785
4786 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4787
4788         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4789
4790 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
4791
4792         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4793         Return immediately after lll_futex_wake.
4794
4795 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4796
4797         [BZ #16791]
4798         * nscd/nscd-client.h (datahead_init_common): Initialize entire
4799         structure.
4800         (datahead_init_pos): Call datahead_init_common early.
4801         (datahead_init_neg): Likewise.
4802
4803         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4804         datahead_init_neg): New functions.
4805         * nscd/aicache.c (addhstaiX): Use them.
4806         * nscd/grpcache.c (cache_addgr): Likewise.
4807         * nscd/hstcache.c (cache_addhst): Likewise.
4808         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4809         * nscd/netgroupcache.c (do_notfound): Likewise.
4810         (addgetnetgrentX): Likewise.
4811         (addinnetgrX): Likewise.
4812         * nscd/pwdcache.c (cache_addpw): Likewise.
4813         * nscd/servicescache.c (cache_addserv): Likewise.
4814
4815 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4816             Atsushi Onoe  <atsushi@onoe.org>
4817
4818         [BZ #14308]
4819         [BZ #12994]
4820         [BZ #13651]
4821         * resolv/res_query.c (__libc_res_nsearch): Return if at least
4822         one response is valid.
4823         * resolv/res_send.c (send_dg): Check for validity of other
4824         response if the current response is a referral.
4825
4826 2014-04-29  Steve Ellcey  <sellcey@mips.com>
4827
4828         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4829
4830 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
4831
4832         [BZ #16823]
4833         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4834         Always divide by positive zero when computing -Inf result.
4835         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4836         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4837
4838 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4839
4840         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4841         FPSCR if value do not change.
4842         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4843         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4844         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4845         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4846         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4847         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4848         function.
4849
4850 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
4851
4852         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4853         * sysdeps/unix/sysv/linux/hppa: Move directory from
4854         ports/systeps/unix/sysv/linux/hppa.
4855         * README: Update listing for hppa-*-linux-gnu.
4856
4857 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
4858
4859         [BZ #16754]
4860         * manual/stdio.texi (Hook functions): Fix types of stream hook
4861         functions.
4862         [BZ #16854]
4863         * socket/sys/socket.h: Fix typo in comment.
4864
4865 2014-04-28  Wilco  <wdijkstr@arm.com>
4866
4867         * sysdeps/arm/fenv_private.h: New file.
4868         * sysdeps/arm/math_private.h: New file.
4869         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4870
4871 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
4872
4873         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4874         with __int128_t.
4875         (La_x86_64_retval): Likewise.
4876
4877 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
4878
4879         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4880         fpsr if value didn't change.
4881         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4882         to fpcr if value didn't change.
4883         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4884         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4885         fpsr or fpcr if value didn't change.
4886         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4887         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4888         fpcr if value didn't change.
4889         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4890         to fpsr if value didn't change.
4891
4892 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4893
4894         * nptl/tst-sem3.c: Use test-skeleton.c
4895         (main): Rename to do_test.  Use return instead of
4896         exit.
4897         * nptl/tst-sem4.c: Use test-skeleton.c
4898         (main): Rename to do_test.
4899
4900 2014-04-22  David S. Miller  <davem@davemloft.net>
4901
4902         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4903         (struct sigaction): New struct member __glibc_reserved0, change
4904         type of sa_flags to int.
4905
4906 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
4907
4908         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4909         (COUNT_LEADING_ZEROS_0): Define for AArch64.
4910
4911 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4912
4913         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4914         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4915
4916 2014-04-22  Will Newton  <will.newton@linaro.org>
4917             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
4918
4919         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4920         (__longjmp): Add longjmp and longjmp_target SystemTap
4921         probes.
4922         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4923         (__sigsetjmp): Add setjmp SystemTap probe.
4924
4925 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
4926
4927         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4928         match manual order.
4929
4930 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4931
4932         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4933
4934         * sysdeps/powerpc/fpu/fenv_private.h
4935         (libc_feholdexcept_setroundl_ctx): Define to
4936         libc_feholdexcept_setround_ppc_ctx.
4937         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4938         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4939         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4940         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4941
4942 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4943
4944         * sysdeps/aarch64/math-tests.h: New file.
4945
4946 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
4947
4948         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4949         New.
4950         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4951         Check and set bit_AVX2_Usable.
4952         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4953         macro.
4954         (bit_AVX2): Likewise.
4955         (index_AVX2_Usable): Likewise.
4956         (CPUID_AVX2): Likewise.
4957         (HAS_AVX2): Likewise.
4958
4959 2014-04-17  Will Newton  <will.newton@linaro.org>
4960
4961         * manual/setjmp.texi (System V contexts): Add note that
4962         calling setcontext on a context created by a call to a
4963         signal handler is undefined.  Update text to note that
4964         setcontext from a signal handler is possible but not
4965         recommended.
4966
4967         [BZ #16629]
4968         * stdlib/tst-setcontext.c: Include signal.h.
4969         (main): Check that the signal stack before and
4970         after swapcontext is the same.
4971
4972         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4973         Re-implement to restore registers in user code and avoid
4974         rt_sigreturn system call.
4975
4976 2014-04-17  Wilco  <wdijkstr@arm.com>
4977
4978         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4979         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4980         * math/test-fenv.c: Skip exception trap tests on targets which only
4981         support non-stop mode.
4982
4983 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4984             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4985
4986         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4987         (libc_feholdsetround_aarch64_ctx)
4988         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4989         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4990         (libc_feresetround_ctx, libc_feresetroundf_ctx)
4991         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4992         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4993         (libc_feresetround_noexl_ctx): Define.
4994
4995 2014-04-16  Richard Henderson  <rth@redhat.com>
4996
4997         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4998
4999         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5000         unwind tables.
5001
5002         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5003         const from the non-libc, non-ldso copy.
5004
5005         * sysdeps/alpha/libm-test-ulps: Regenerate.
5006
5007 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
5008             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5009
5010         * sysdeps/aarch64/fpu/math_private.h: New file.
5011
5012 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5013
5014         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5015
5016 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
5017
5018         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5019         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5020         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5021         Intel MPX bound registers before _dl_profile_fixup.
5022         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5023         registers after _dl_profile_fixup.  Save and restore bound
5024         registers bnd0/bnd1 when calling _dl_call_pltexit.
5025         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5026         (LR_BND_OFFSET): Likewise.
5027         (LRV_BND0_OFFSET): Likewise.
5028         (LRV_BND1_OFFSET): Likewise.
5029
5030 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5031
5032         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5033         to...
5034         * sysdeps/mach/hurd/i386/tls.h: ... here.
5035         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5036         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5037         fields.
5038
5039 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5040
5041         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5042
5043 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5044
5045         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5046
5047 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5048
5049         [BZ #14770]
5050         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5051         * sysdeps/s390/configure: Regenerate.
5052
5053         [BZ #16824]
5054         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5055         Set round-to-nearest internally to reduce error accumulation.
5056
5057 2014-04-16  Alan Modra  <amodra@gmail.com>
5058
5059         [BZ #16740]
5060         [BZ #16619]
5061         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5062         * math/libm-test.inc (frexp_test_data): Add tests.
5063         * NEWS: Update fixed bug list.
5064
5065 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5066
5067         * benchtests/Makefile: Depend on libraries in build directory.
5068         (bench-math): Separate out math tests.
5069         (bench-pthread): Separate out pthread tests.
5070         (bench): Include math and pthread tests.
5071
5072 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
5073
5074         [BZ #16831]
5075         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5076         _dl_debug_initialize.
5077
5078         * configure.ac: Remove SELinux header check.
5079         * configure: Regenerate.
5080         * nscd/selinux.c (perms): Array of const char* to permission names.
5081         (nscd_request_avc_has_perm): Call security_deny_unknown to find
5082         default policy. Call string_to_security_class and string_to_av_perm to
5083         translate strings. Enforce default policy and call avs_has_perm with
5084         results of translated strings.
5085
5086 2014-04-13  David S. Miller  <davem@davemloft.net>
5087
5088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5089
5090 2014-04-12  Allan McRae  <allan@archlinux.org>
5091
5092         [BZ #16838]
5093         * manual/string.texi (Collation Functions): Fix qsort argument
5094         order in example.
5095         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5096
5097 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
5098
5099         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5100         Make the test a no-op if there are no exceptions defined.
5101
5102 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5103
5104         * elf/Makefile (tests): make tst-dlopen-aout conditional on
5105         enable-hardcoded-path-in-tests
5106
5107 2014-04-11  Will Newton  <will.newton@linaro.org>
5108
5109         * benchtests/Makefile (extra-objs): Add json-lib.o.
5110         (bench-func): Tidy up JSON output.
5111         * benchtests/bench-skeleton.c: Include json-lib.h.
5112         (main): Use JSON library functions to do output of
5113         benchmark results.
5114         * benchtests/bench-timing-type.c (main): Output the
5115         timing type simply, leaving formatting to the user.
5116         * benchtests/json-lib.c: New file.
5117         * benchtests/json-lib.h: Likewise.
5118
5119 2014-04-11  Torvald Riegel  <triegel@redhat.com>
5120
5121         [BZ #15215]
5122         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5123         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
5124         memory barriers.  Add comments.
5125         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5126         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5127         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5128         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5129         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5130         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5131
5132 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5133
5134         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5135         * sysdeps/s390/s390-64/configure.ac: ... this ...
5136         * sysdeps/s390/configure.ac: ... to here.
5137         * sysdeps/s390/s390-32/configure: Delete file.
5138         * sysdeps/s390/s390-64/configure: Delete file.
5139         * sysdeps/s390/configure: Regenerate.
5140
5141 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
5142
5143         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5144
5145 2014-04-11  Will Newton  <will.newton@linaro.org>
5146
5147         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5148         to zero if it is not defined elsewhere.  (mtrim): Test
5149         the value of MALLOC_DEBUG with #if rather than #ifdef.
5150
5151 2014-04-10 Torvald Riegel  <triegel@redhat.com>
5152
5153         * benchtests/pthread_once-inputs: New file.
5154         * benchtests/pthread_once-source.c: New file.
5155         * benchtests/README: Update documentation.
5156
5157 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5158             H.J. Lu  <hongjiu.lu@intel.com>
5159
5160         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5161         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5162         * sysdeps/x86_64/configure: Regenerated.
5163         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5164         macro.
5165         (REGISTER_SAVE_RAX): Likewise.
5166         (REGISTER_SAVE_RCX): Likewise.
5167         (REGISTER_SAVE_RDX): Likewise.
5168         (REGISTER_SAVE_RSI): Likewise.
5169         (REGISTER_SAVE_RDI): Likewise.
5170         (REGISTER_SAVE_R8): Likewise.
5171         (REGISTER_SAVE_R9): Likewise.
5172         (REGISTER_SAVE_BND0): Likewise.
5173         (REGISTER_SAVE_BND1): Likewise.
5174         (REGISTER_SAVE_BND2): Likewise.
5175         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
5176         bound registers when calling _dl_fixup.
5177
5178 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5179
5180         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5181         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5182         of its definition.
5183         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5184         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5185         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5186         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5187         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5188         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5189         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5190
5191 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
5192
5193         [BZ #15514]
5194         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5195         pathconf(_PC_NAME_MAX).
5196
5197 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5198
5199         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5200         Remove macro usage.
5201         (__PTHREAD_SPINS): Move definition to ...
5202         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5203         (__PTHREAD_SPINS): ... here.
5204         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5205         (__PTHREAD_SPIN): Likewise.
5206         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5207         (__PTHREAD_SPIN): Likewise.
5208         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5209         (__PTHREAD_SPIN): Likewise.
5210         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5211         (__PTHREAD_SPIN): Likewise.
5212         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5213         (__PTHREAD_SPIN): Likewise.
5214         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5215         (__PTHREAD_SPIN): Likewise.
5216         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5217         (__PTHREAD_SPIN): Likewise.
5218         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5219         (__PTHREAD_SPIN): Likewise.
5220         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5221         (__PTHREAD_SPIN): Likewise.
5222         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5223         (__PTHREAD_SPIN): Likewise.
5224         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5225         (__PTHREAD_SPIN): Likewise.
5226         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5227         (__PTHREAD_SPIN): Likewise.
5228
5229         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5230         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5231         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5232         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5233         imply folder.
5234         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5235         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5236         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5237         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5238         correct imply path.
5239         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5240         strlen symbol for non multi-arch builds.
5241         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5242         missing hidden_def and weak_alias.
5243
5244 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
5245
5246         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5247
5248 2014-04-07  Will Newton  <will.newton@linaro.org>
5249
5250         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5251         and contents.  [!_LIBC] Remove #ifndef and contents.
5252         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
5253         * string/memccpy.c (__memccpy): Use ANSI prototype.
5254         * string/memfrob.c (memfrob): Likewise.
5255         * string/strcoll.c (STRCOLL): Likewise.
5256         * string/strlen.c (strlen): Likewise.
5257         * string/strtok.c (STRTOK): Likewise.
5258         * string/strcat.c: Remove unused #include of memcopy.h.
5259         (strcat): Use ANSI prototype.
5260         * string/strchr.c: Remove unused #include of memcopy.h.
5261         (strchr): Use ANSI prototype.
5262         * string/strcmp.c: Remove unused #include of memcopy.h.
5263         (strcmp): Use ANSI prototype.
5264         * string/strcpy.c: Remove unused #include of memcopy.h.
5265         (strcpy): Use ANSI prototype.
5266
5267 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5268
5269         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5270         * config.make.in (config-extra-cppflags): Set it from
5271         libc_extra_cppflags.
5272         * configure.ac (libc_extra_cflags): Make it accumulate over
5273         configure fragments.
5274         (libc_extra_cppflags): New flag.
5275         * configure. Regenerate.
5276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5277         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5278         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5280
5281         [BZ #16815]
5282         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5283         result for FE_DOWNWARD rounding mode.
5284         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5285         Likewise.
5286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5287
5288 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5289
5290         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5291         in function argument name.
5292
5293 2014-04-03  David Svoboda  <svoboda@cert.org>
5294
5295         [BZ #5666]
5296         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5297         explicitly.
5298
5299 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5300
5301         * elf/dl-unmap-segments.h: New file.
5302         * sysdeps/generic/ldsodefs.h
5303         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5304         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5305         * elf/dl-fptr.c: Likewise.
5306         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5307         * sysdeps/aarch64/tlsdesc.c: Likewise.
5308         * sysdeps/arm/tlsdesc.c: Likewise.
5309         * sysdeps/i386/tlsdesc.c: Likewise.
5310         * sysdeps/tile/dl-runtime.c: Likewise.
5311         * sysdeps/x86_64/tlsdesc.c: Likewise.
5312         * elf/dl-load.h: New file.
5313         * elf/dl-load.c: Include it.
5314         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5315         Macros moved to dl-load.h.
5316         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5317         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5318         Use _dl_unmap_segments in place of __munmap.
5319         Break out segment-mapping loop into ...
5320         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5321
5322 2014-04-03  Will Newton  <will.newton@linaro.org>
5323
5324         * elf/dl-lookup.c (do_lookup_x): Remove comment
5325         referring to nested function and move variable
5326         declarations down to before first use.
5327
5328 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5329
5330         [BZ #16799]
5331         [BZ #16800]
5332         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5333         with 0 numerator.
5334         * math/s_catanf.c (__catanf): Likewise.
5335         * math/s_catanh.c (__catanh): Likewise.
5336         * math/s_catanhf.c (__catanhf): Likewise.
5337         * math/s_catanhl.c (__catanhl): Likewise.
5338         * math/s_catanl.c (__catanl): Likewise.
5339         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5340         by positive zero when computing -Inf result.
5341         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5342         (catanh_test): Likewise.
5343         * sysdeps/i386/fpu/libm-test-ulps: Update.
5344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5345
5346         [BZ #16789]
5347         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5348         instead of using underflowing value in computing result.
5349         * math/s_clog10.c (__clog10): Likewise.
5350         * math/s_clog10f.c (__clog10f): Likewise.
5351         * math/s_clog10l.c (__clog10l): Likewise.
5352         * math/s_clogf.c (__clogf): Likewise.
5353         * math/s_clogl.c (__clogl): Likewise.
5354         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5355         (clog10_test): Likewise.
5356         * sysdeps/i386/fpu/libm-test-ulps: Update.
5357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5358
5359 2014-04-02  Alan Modra  <amodra@gmail.com>
5360
5361         [BZ #16739]
5362         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5363         output when value is near a power of two.  Use int64_t for lx and
5364         remove casts.  Use decimal rather than hex exponent constants.
5365         Don't use long double multiplication when double will suffice.
5366         * math/libm-test.inc (nextafter_test_data): Add tests.
5367         * NEWS: Add 16739 and 16786 to bug list.
5368
5369         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5370
5371         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5372
5373 2014-04-01  Will Newton  <will.newton@linaro.org>
5374
5375         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5376         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5377
5378 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5379
5380         [BZ #13347]
5381         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5382         * nptl/tst-setuid2.c: New file.
5383         * nptl/Makefile (xtests): Add tst-setuid2.
5384
5385 2014-04-01  Alan Modra  <amodra@gmail.com>
5386
5387         [BZ #16786]
5388         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5389
5390 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5391
5392         [BZ #6803]
5393         [BZ #6804]
5394         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5395         set errno as appropriate.
5396         * math/w_scalbf.c (__scalbf): Likewise.
5397         * math/w_scalbl.c (__scalbl): Likewise.
5398         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5399         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5400         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5401         Add more NaN tests.
5402
5403         [BZ #16349]
5404         * math/w_atan2.c: Include <errno.h>.
5405         (__atan2): Set errno for result underflowing to zero.
5406         * math/w_atan2f.c: Include <errno.h>.
5407         (__atan2f): Set errno for result underflowing to zero.
5408         * math/w_atan2l.c: Include <errno.h>.
5409         (__atan2l): Set errno for result underflowing to zero.
5410         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5411         tests.
5412         * math/auto-libm-test-out: Regenerated.
5413
5414 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5415
5416         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5417         Encode instruction correctly in little endian.
5418         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5419         Likewise.
5420         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5421         Likewise.
5422         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5423         Likewise.
5424         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5425         Likewise.
5426
5427 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5428
5429         [BZ #9894]
5430         * sysdeps/unix/sysv/linux/kernel-features.h
5431         [__sparc__ && !__arch64__ && !__sparc_v9__]
5432         (__ASSUME_SET_ROBUST_LIST): Do not define.
5433         [__sparc__ && !__arch64__ && !__sparc_v9__]
5434         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5435         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5436         Likewise.
5437         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5438         (__ASSUME_FUTEX_LOCK_PI): Undefine.
5439         (__ASSUME_REQUEUE_PI): Likewise.
5440         (__ASSUME_SET_ROBUST_LIST): Likewise.
5441         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5442         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5443         Undefine.
5444         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5445         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5446         Likewise.
5447         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5448         Likewise.
5449         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5450         Likewise.
5451         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5452         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5453         Undefine.
5454         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5455         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5456         Likewise.
5457
5458         [BZ #16648]
5459         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5460         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5461         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5462
5463 2014-03-31  Will Newton  <will.newton@linaro.org>
5464
5465         * benchtests/Makefile (bench): Add ffs and ffsll to list
5466         of tests.
5467         * benchtests/ffs-inputs: New file.
5468         * benchtests/ffsll-inputs: Likewise.
5469
5470 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
5471
5472         [BZ #16770]
5473         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5474         too large before casting to int.
5475         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5476         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5477         * math/libm-test.inc (scalb_test_data): Add more tests.
5478
5479 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5480
5481         * benchtests/Makefile (DETAILED_OPT): New make option.
5482         (bench-func): Run benchmark program with -d if DETAILED_OPT is
5483         set.
5484         * benchtests/bench-skeleton.c: Include stdbool.h.
5485         (main): Store and print timings per input.
5486         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5487         member to each argument value.
5488         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5489         (_print_arg_data): Initialize per-input timing to 0.
5490
5491         * benchtests/Makefile (timing-type): New binary.
5492         (bench-clean): Also remove bench-timing-type.
5493         (bench): New target for timing-type.
5494         (bench-func): Print output in JSON format.
5495         * benchtests/bench-skeleton.c (main): Print output in JSON
5496         format.
5497         * benchtests/bench-timing-type.c: New file.
5498         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5499         (TIMING_PRINT_STATS): Remove.
5500         * benchtests/scripts/bench.py (_print_arg_data): Store variant
5501         name separately.
5502
5503         * benchtests/bench-modf.c: Remove.
5504         * benchtests/modf-inputs: New inputs file.
5505
5506 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
5507
5508         [BZ #16362]
5509         * math/s_clog10.c (M_PI_LOG10E): New macro.
5510         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5511         imaginary parts are 0.
5512         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5513         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5514         imaginary parts are 0.
5515         * math/s_clog10l.c (M_PI_LOG10El): New macro.
5516         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5517         imaginary parts are 0.
5518         * math/libm-test.inc (clog10_test_data): Update expected results
5519         for when real and imaginary parts are 0.
5520
5521 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
5522
5523         * elf/dl-load.c: Finish conversion of __builtin_expect into
5524         __glibc_{un}likely.
5525
5526 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
5527
5528         [BZ #16348]
5529         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5530         1+x for argument with exponent below -67.
5531         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5532         Likewise.
5533         * math/auto-libm-test-in: Add more tests of exp.
5534         * math/auto-libm-test-out: Regenerated.
5535
5536 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5537
5538         [BZ #16759]
5539         * inet/getnetgrent_r.c (get_nonempty_val): New function.
5540         (nscd_getnetgrent): Use it.
5541
5542         [BZ #16760]
5543         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5544         of stpcpy.
5545
5546 2014-03-27  Andi Kleen  <ak@linux.intel.com>
5547
5548         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5549         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5550         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5551         (lll_robust_unlock): Remove out of line section. Use cfi
5552         intrinsics.
5553         (LLL_STUB_UNWIND_INFO*): Remove.
5554         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5555         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5556         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5557         (lll_robust_unlock): Remove out of line section. Use cfi
5558         intrinsics.
5559         (LLL_STUB_UNWIND_INFO*): Remove.
5560
5561 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5562
5563         [BZ #16758]
5564         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5565         blank values.
5566
5567 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5568
5569         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5570
5571 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
5572
5573         [BZ #16198]
5574         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5575         fnstenv.
5576         * math/test-fenv-preserve.c: New file.
5577         * math/Makefile (tests): Add test-fenv-preserve.
5578
5579 2014-03-26  Will Newton <will.newton@linaro.org>
5580
5581         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5582
5583 2014-03-25  Roland McGrath  <roland@hack.frob.com>
5584
5585         * scripts/versionlist.awk: Partition the version sets and emit all
5586         GLIBC_* (sorted) before all others (sorted).
5587
5588 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5589
5590         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5591         GLIBC_2.2.5 version.
5592
5593 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5594
5595         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5596         calls.
5597
5598         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5599         previous change.
5600
5601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5602
5603 2014-03-25  Andreas Schwab  <schwab@suse.de>
5604
5605         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5606         label to be used after in6ailist is initialized.
5607
5608 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5609
5610         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5611         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5612
5613 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5614
5615         [BZ #16357]
5616         [BZ #16599]
5617         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5618         min_plus_half.
5619         (fp_formats): Update initializers.
5620         (init_fp_formats): Initialize new field.
5621         (output_for_one_input_case): Allow underflow for results up to
5622         min_plus_half.
5623         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5624         * math/auto-libm-test-in: Don't mark some underflows from asin and
5625         atanh as spurious.
5626         * math/auto-libm-test-out: Regenerated.
5627         * sysdeps/i386/fpu/libm-test-ulps: Update.
5628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5629
5630 2014-03-25  Andreas Schwab  <schwab@suse.de>
5631
5632         * libio/Makefile (tst-ftell-partial-wide-ENV)
5633         (tst-ftell-active-handler-ENV): Define.
5634
5635 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
5636
5637         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5638
5639 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5640
5641         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5642
5643 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5644
5645         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5646         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5647         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5648
5649 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5650
5651         [BZ #16634]
5652         * elf/dl-load.c (open_verify): Add mode parameter.
5653         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5654         (open_path): Change from boolean 'secure' to complete flag 'mode'
5655         (_dl_map_object): Adjust.
5656         * elf/Makefile (tests): Add tst-dlopen-aout.
5657         * elf/tst-dlopen-aout.c: New test.
5658
5659 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
5660
5661         [BZ #16714]
5662         * sysdeps/unix/sysv/linux/s390/bits/stat.h
5663         (struct stat): Rename member pad0 to __glibc_reserved0.
5664
5665         [BZ #16712]
5666         * sysdeps/s390/s390-32/bits/wordsize.h
5667         (__WORDSIZE32_SIZE_ULONG): New define.
5668         * sysdeps/s390/s390-64/bits/wordsize.h
5669         (__WORDSIZE32_SIZE_ULONG): Likewise.
5670         * sysdeps/generic/stdint.h (SIZE_MAX):
5671         Define as UL if __WORDSIZE32_SIZE_ULONG.
5672
5673         [BZ #16713]
5674         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5675         (__glibc_reserved0): New variable.
5676         (sa_flags): Change type to int.
5677
5678         * posix/Makefile (before-compile): Use += before-compile instead
5679         of a :=.
5680
5681         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5682         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5683
5684 2014-03-20  Andreas Schwab  <schwab@suse.de>
5685
5686         [BZ #16743]
5687         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5688         non-matching result from nscd.
5689
5690 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5691
5692         * scripts/bench.py: Moved to ...
5693         * benchtests/scripts/bench.py: ... here.
5694         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5695
5696 2014-03-24  Andreas Schwab  <schwab@suse.de>
5697
5698         [BZ #16002]
5699         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5700         alloca_account and account alloca use for struct in6ailist.
5701
5702 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5703
5704         [BZ #16284]
5705         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5706         rounding mode to recompute results that overflow to infinity or
5707         underflow to zero.
5708         * math/auto-libm-test-in: Don't mark tests as expected to fail for
5709         bug 16284.
5710         * math/auto-libm-test-out: Regenerated.
5711         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5712         (ccosh_test): Likewise.
5713         (csin_test_data): Use plus_oflow.
5714         (csin_test): Use ALL_RM_TEST.
5715         (csinh_test_data): Use plus_oflow.
5716         (csinh_test): Use ALL_RM_TEST.
5717         * sysdeps/i386/fpu/libm-test-ulps: Update.
5718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5719
5720 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
5721
5722         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5723         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5724         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5725
5726         [BZ #16731]
5727         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5728         when x - 1 is zero.
5729         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5730         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5731         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5732         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5733         argument is 1.
5734         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5735         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5736         zero.
5737         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5738         * sysdeps/i386/fpu/libm-test-ulps: Update.
5739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5740
5741 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5742
5743         * scripts/bench.pl: Remove file.
5744         * scripts/bench.py: New benchmark script.
5745         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5746         * benchtests/README: Mention python dependency.
5747         * scripts/pylintrc: New file.
5748         * scripts/pylint: New file.
5749
5750         * bits/mathdef.h: Use #ifdef instead of #if.
5751         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5752         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5753         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5754         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5755         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5756         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5757
5758 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5759             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5760
5761         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5762         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5763         and strpbrk-ppc64 objects.
5764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5765         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5766         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5767         multiarch strpbrk for POWER7.
5768         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5769         multiarch strpbrk for PPC64.
5770         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5771         ifunc selector.
5772         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5773         strpbrk for POWER7.
5774
5775 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5776
5777         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5778         (atan_test): Likewise.
5779         (atanh_test_data): Use NO_TEST_INLINE for two tests.
5780         (atanh_test): Use ALL_RM_TEST.
5781         (atan2_test_data): Likewise.
5782         (cabs_test): Likewise.
5783         (cacosh_test): Likewise.
5784         (carg_test): Likewise.
5785         (casin_test): Likewise.
5786         (casinh_test): Likewise.
5787         (cbrt_test): Likewise.
5788         (csqrt_test): Likewise.
5789         (erf_test): Likewise.
5790         (erfc_test): Likewise.
5791         (pow10_test): Likewise.
5792         (exp2_test): Likewise.
5793         (hypot_test): Likewise.
5794         (j0_test): Likewise.
5795         (j1_test): Likewise.
5796         (lgamma_test): Likewise.
5797         (gamma_test): Likewise.
5798         (sincos_test): Likewise.
5799         (tanh_test): Likewise.
5800         (y0_test): Likewise.
5801         (y1_test): Likewise.
5802         * sysdeps/i386/fpu/libm-test-ulps: Update.
5803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5804
5805 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5806
5807         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5808         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5809         and strcspn-ppc64 objects.
5810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5811         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5812         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5813         multiarch strcspn for POWER7.
5814         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5815         multiarch strcspn for PPC64.
5816         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5817         ifunc selector.
5818         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5819         strcspn for POWER7.
5820
5821 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5822
5823         * math/gen-libm-test.pl (generate_testfile): Expect only function
5824         name as argument to AUTO_TESTS_* and pass results for all rounding
5825         modes to parse_args.
5826         (parse_auto_input): Separate inputs of automatic tests from
5827         outputs before storing in %auto_tests.
5828         * math/libm-test.inc (acos_test_data): Update call to
5829         AUTO_TESTS_f_f.
5830         (acos_test): Use ALL_RM_TEST.
5831         (acos_tonearest_test_data): Remove.
5832         (acos_test_tonearest): Likewise.
5833         (acos_towardzero_test_data): Likewise.
5834         (acos_test_towardzero): Likewise.
5835         (acos_downward_test_data): Likewise.
5836         (acos_test_downward): Likewise.
5837         (acos_upward_test_data): Likewise.
5838         (acos_test_upward): Likewise.
5839         (acosh_test_data): Update call to AUTO_TESTS_f_f.
5840         (asin_test_data): Likewise.
5841         (asin_test): Use ALL_RM_TEST.
5842         (asin_tonearest_test_data): Remove.
5843         (asin_test_tonearest): Likewise.
5844         (asin_towardzero_test_data): Likewise.
5845         (asin_test_towardzero): Likewise.
5846         (asin_downward_test_data): Likewise.
5847         (asin_test_downward): Likewise.
5848         (asin_upward_test_data): Likewise.
5849         (asin_test_upward): Likewise.
5850         (asinh_test_data): Update call to AUTO_TESTS_f_f.
5851         (atan_test_data): Likewise.
5852         (atanh_test_data): Likewise.
5853         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5854         (cabs_test_data): Update call to AUTO_TESTS_c_f.
5855         (carg_test_data): Likewise.
5856         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5857         (ccos_test_data): Update call to AUTO_TESTS_c_c.
5858         (ccosh_test_data): Likewise.
5859         (cexp_test_data): Likewise.
5860         (clog_test_data): Likewise.
5861         (clog10_test_data): Likewise.
5862         (cos_test_data): Update call to AUTO_TESTS_f_f.
5863         (cos_test): Use ALL_RM_TEST.
5864         (cos_tonearest_test_data): Remove.
5865         (cos_test_tonearest): Likewise.
5866         (cos_towardzero_test_data): Likewise.
5867         (cos_test_towardzero): Likewise.
5868         (cos_downward_test_data): Likewise.
5869         (cos_test_downward): Likewise.
5870         (cos_upward_test_data): Likewise.
5871         (cos_test_upward): Likewise.
5872         (cosh_test_data): Update call to AUTO_TESTS_f_f.
5873         (cosh_test): Use ALL_RM_TEST.
5874         (cosh_tonearest_test_data): Remove.
5875         (cosh_test_tonearest): Likewise.
5876         (cosh_towardzero_test_data): Likewise.
5877         (cosh_test_towardzero): Likewise.
5878         (cosh_downward_test_data): Likewise.
5879         (cosh_test_downward): Likewise.
5880         (cosh_upward_test_data): Likewise.
5881         (cosh_test_upward): Likewise.
5882         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5883         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5884         (ctan_test_data): Likewise.
5885         (ctan_test): Use ALL_RM_TEST.
5886         (ctan_tonearest_test_data): Remove.
5887         (ctan_test_tonearest): Likewise.
5888         (ctan_towardzero_test_data): Likewise.
5889         (ctan_test_towardzero): Likewise.
5890         (ctan_downward_test_data): Likewise.
5891         (ctan_test_downward): Likewise.
5892         (ctan_upward_test_data): Likewise.
5893         (ctan_test_upward): Likewise.
5894         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5895         (ctanh_test): Use ALL_RM_TEST.
5896         (ctanh_tonearest_test_data): Remove.
5897         (ctanh_test_tonearest): Likewise.
5898         (ctanh_towardzero_test_data): Likewise.
5899         (ctanh_test_towardzero): Likewise.
5900         (ctanh_downward_test_data): Likewise.
5901         (ctanh_test_downward): Likewise.
5902         (ctanh_upward_test_data): Likewise.
5903         (ctanh_test_upward): Likewise.
5904         (erf_test_data): Update call to AUTO_TESTS_f_f.
5905         (erfc_test_data): Likewise.
5906         (exp_test_data): Likewise.
5907         (exp_test): Use ALL_RM_TEST.
5908         (exp_tonearest_test_data): Remove.
5909         (exp_test_tonearest): Likewise.
5910         (exp_towardzero_test_data): Likewise.
5911         (exp_test_towardzero): Likewise.
5912         (exp_downward_test_data): Likewise.
5913         (exp_test_downward): Likewise.
5914         (exp_upward_test_data): Likewise.
5915         (exp_test_upward): Likewise.
5916         (exp10_test_data): Update call to AUTO_TESTS_f_f.
5917         (exp10_test): Use ALL_RM_TEST.
5918         (exp10_tonearest_test_data): Remove.
5919         (exp10_test_tonearest): Likewise.
5920         (exp10_towardzero_test_data): Likewise.
5921         (exp10_test_towardzero): Likewise.
5922         (exp10_downward_test_data): Likewise.
5923         (exp10_test_downward): Likewise.
5924         (exp10_upward_test_data): Likewise.
5925         (exp10_test_upward): Likewise.
5926         (exp2_test_data): Update call to AUTO_TESTS_f_f.
5927         (expm1_test_data): Likewise.
5928         (expm1_test): Use ALL_RM_TEST.
5929         (expm1_tonearest_test_data): Remove.
5930         (expm1_test_tonearest): Likewise.
5931         (expm1_towardzero_test_data): Likewise.
5932         (expm1_test_towardzero): Likewise.
5933         (expm1_downward_test_data): Likewise.
5934         (expm1_test_downward): Likewise.
5935         (expm1_upward_test_data): Likewise.
5936         (expm1_test_upward): Likewise.
5937         (fma_test_data): Update call to AUTO_TESTS_fff_f.
5938         (fma_test): Use ALL_RM_TEST.
5939         (fma_towardzero_test_data): Remove.
5940         (fma_test_towardzero): Likewise.
5941         (fma_downward_test_data): Likewise.
5942         (fma_test_downward): Likewise.
5943         (fma_upward_test_data): Likewise.
5944         (fma_test_upward): Likewise.
5945         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5946         (j0_test_data): Update call to AUTO_TESTS_f_f.
5947         (j1_test_data): Likewise.
5948         (jn_test_data): Update call to AUTO_TESTS_if_f.
5949         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5950         (log_test_data): Update call to AUTO_TESTS_f_f.
5951         (log10_test_data): Likewise.
5952         (log1p_test_data): Likewise.
5953         (log2_test_data): Likewise.
5954         (pow_test_data): Update call to AUTO_TESTS_ff_f.
5955         (pow_tonearest_test_data): Likewise.
5956         (sin_test_data): Update call to AUTO_TESTS_f_f.
5957         (sin_test): Use ALL_RM_TEST.
5958         (sin_tonearest_test_data): Remove.
5959         (sin_test_tonearest): Likewise.
5960         (sin_towardzero_test_data): Likewise.
5961         (sin_test_towardzero): Likewise.
5962         (sin_downward_test_data): Likewise.
5963         (sin_test_downward): Likewise.
5964         (sin_upward_test_data): Likewise.
5965         (sin_test_upward): Likewise.
5966         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5967         (sinh_test_data): Update call to AUTO_TESTS_f_f.
5968         (sinh_test): Use ALL_RM_TEST.
5969         (sinh_tonearest_test_data): Remove.
5970         (sinh_test_tonearest): Likewise.
5971         (sinh_towardzero_test_data): Likewise.
5972         (sinh_test_towardzero): Likewise.
5973         (sinh_downward_test_data): Likewise.
5974         (sinh_test_downward): Likewise.
5975         (sinh_upward_test_data): Likewise.
5976         (sinh_test_upward): Likewise.
5977         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5978         (sqrt_test): Use ALL_RM_TEST.
5979         (sqrt_tonearest_test_data): Remove.
5980         (sqrt_test_tonearest): Likewise.
5981         (sqrt_towardzero_test_data): Likewise.
5982         (sqrt_test_towardzero): Likewise.
5983         (sqrt_downward_test_data): Likewise.
5984         (sqrt_test_downward): Likewise.
5985         (sqrt_upward_test_data): Likewise.
5986         (sqrt_test_upward): Likewise.
5987         (tan_test_data): Update call to AUTO_TESTS_f_f.
5988         (tan_test): Use ALL_RM_TEST.
5989         (tan_tonearest_test_data): Remove.
5990         (tan_test_tonearest): Likewise.
5991         (tan_towardzero_test_data): Likewise.
5992         (tan_test_towardzero): Likewise.
5993         (tan_downward_test_data): Likewise.
5994         (tan_test_downward): Likewise.
5995         (tan_upward_test_data): Likewise.
5996         (tan_test_upward): Likewise.
5997         (tanh_test_data): Update call to AUTO_TESTS_f_f.
5998         (tgamma_test_data): Likewise.
5999         (y0_test_data): Likewise.
6000         (y1_test_data): Likewise.
6001         (yn_test_data): Update call to AUTO_TESTS_if_f.
6002         (main): Do not call removed functions.
6003
6004 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6005
6006         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6007         (ldexp_test_data): Remove.
6008         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
6009         scalbn_test_data.
6010         (scalb_test): Use ALL_RM_TEST.
6011
6012 2014-03-19  Andreas Schwab  <schwab@suse.de>
6013
6014         * nscd/nscd.service: Also invalidate netgroup cache on reload.
6015
6016 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6017
6018         [BZ #16649]
6019         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6020         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6021         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6022         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6023         (__ASSUME_PREADV): Undefine.
6024         (__ASSUME_PWRITEV): Likewise.
6025
6026 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6027
6028         * bits/mman-linux.h: Add comment about non-Linux use.
6029         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6030         bits/mman-linux.h resting place.
6031
6032         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6033         * bits/mman-linux.h: ... here.
6034
6035 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6036
6037         * conform/conformtest.pl: Add standard definition when calling C
6038         preprocessor on data files.
6039         (checknamespace): Remove unused variable.
6040
6041 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6042
6043         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6044         minus_oflow, plus_uflow and minus_uflow in expected results.
6045         * math/libm-test.inc (scalbn_test_data): Add more tests of
6046         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
6047         minus_uflow.
6048         (scalbn_test): Use ALL_RM_TEST.
6049         (scalbln_test_data): Add more tests of negative arguments.  Use
6050         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6051         (scalbln_test): Use ALL_RM_TEST.
6052
6053 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6054
6055         * scripts/abilist.awk: Ignore symbols marked with .hidden.
6056
6057 2014-03-18  Will Newton  <will.newton@linaro.org>
6058
6059         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6060         inaccurate comment.
6061
6062 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6063
6064         * Makerules [!subdir] (check-abi): Exit with error status if a
6065         test failed.
6066
6067 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6068
6069         * math/libm-test.inc (nearbyint_test_data): Include all tests used
6070         for rint.  Include results for all rounding modes.
6071         (nearbyint_test): Use ALL_RM_TEST.
6072         (rint_test_data): Include all tests used for nearbyint.
6073
6074 2014-03-17  Will Newton  <will.newton@linaro.org>
6075
6076         * nptl/sysdeps/pthread/pthread.h: Revert previous
6077         change.
6078
6079         * sysdeps/generic/ldsodefs.h: Revert previous
6080         change.
6081
6082         * libio/genops.c: Revert previous change.
6083         * libio/libioP.h: Likewise.
6084         * stdio-common/vfprintf.c: Likewise.
6085
6086         * sysdeps/generic/math_private.h: Revert previous
6087         change.
6088
6089         * sysdeps/generic/math_private.h: Check whether
6090         HAVE_RM_CTX is defined with #ifdef rather
6091         than #if.
6092
6093         * argp/argp-fmtstream.h: Check whether
6094         __STRICT_ANSI__ is defined with #ifdef rather
6095         than #if.
6096         * argp/argp.h: Likewise.
6097
6098         * libio/genops.c: Check whether
6099         _IO_JUMPS_OFFSET is defined with #ifdef rather
6100         than #if.
6101         * libio/libioP.h: Likewise.
6102         * stdio-common/vfprintf.c: Likewise.
6103
6104         * sysdeps/generic/ldsodefs.h: Check whether
6105         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6106         than #if.
6107
6108         * nptl/sysdeps/pthread/pthread.h: Check
6109         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6110         its value.
6111
6112 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6113
6114         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6115         setting O_APPEND.
6116         * libio/tst-ftell-active-handler.c (do_append_test): Add a
6117         test case.
6118
6119         [BZ #16680]
6120         * libio/fileops.c (_IO_file_open): Seek to end of file but
6121         don't cache the offset.
6122         (get_file_offset): Remove function.
6123         (do_ftell): Use cached offset when available.
6124         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6125         don't cache the offset.
6126         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6127         case.
6128         (do_one_test): Call it.
6129         (do_ftell_test): Fix up expected old offset for a+ mode.
6130         * libio/wfileops.c (do_ftell_wide): Used cached offset when
6131         available.
6132
6133         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6134         up test status with function return status.
6135         (do_write_test): Likewise.
6136         (do_append_test): Likewise.
6137
6138         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6139         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6140         Remove.
6141
6142 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6143
6144         * math/gen-libm-test.pl (parse_args): Handle results specified for
6145         each rounding mode separately.
6146         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6147         tests and results from lrint_tonearest_test_data,
6148         lrint_towardzero_test_data, lrint_downward_test_data and
6149         lrint_upward_test_data.
6150         (lrint_test): Use ALL_RM_TEST.
6151         (lrint_tonearest_test_data): Remove.
6152         (lrint_test_tonearest): Likewise.
6153         (lrint_towardzero_test_data): Likewise.
6154         (lrint_test_towardzero): Likewise.
6155         (lrint_downward_test_data): Likewise.
6156         (lrint_test_downward): Likewise.
6157         (lrint_upward_test_data): Likewise.
6158         (lrint_test_upward): Likewise.
6159         (llrint_test_data): Merge in per-rounding-mode tests and results
6160         from llrint_tonearest_test_data, llrint_towardzero_test_data,
6161         llrint_downward_test_data and llrint_upward_test_data.
6162         (llrint_test): Use ALL_RM_TEST.
6163         (llrint_tonearest_test_data): Remove.
6164         (llrint_test_tonearest): Likewise.
6165         (llrint_towardzero_test_data): Likewise.
6166         (llrint_test_towardzero): Likewise.
6167         (llrint_downward_test_data): Likewise.
6168         (llrint_test_downward): Likewise.
6169         (llrint_upward_test_data): Likewise.
6170         (llrint_test_upward): Likewise.
6171         (rint_test_data): Merge in per-rounding-mode tests and results
6172         from rint_tonearest_test_data, rint_towardzero_test_data,
6173         rint_downward_test_data and rint_upward_test_data.  Add
6174         per-rounding-mode results for tests not in those arrays.
6175         (rint_test): Use ALL_RM_TEST.
6176         (rint_tonearest_test_data): Remove.
6177         (rint_test_tonearest): Likewise.
6178         (rint_towardzero_test_data): Likewise.
6179         (rint_test_towardzero): Likewise.
6180         (rint_downward_test_data): Likewise.
6181         (rint_test_downward): Likewise.
6182         (rint_upward_test_data): Likewise.
6183         (rint_test_upward): Likewise.
6184         (main): Don't call removed functions.
6185
6186 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6187
6188         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6189         "Compiled on ..." crapola.  It is anti-useful.
6190
6191 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
6192
6193         * scripts/evaluate-test.sh: Handle fourth argument to determine
6194         whether test run should stop on failure.
6195         * Makeconfig (stop-on-test-failure): New variable.
6196         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6197         $(stop-on-test-failure).
6198         * Makefile (tests): Give a summary of results from testing and
6199         exit with failure status if they include an ERROR or FAIL.
6200         (xtests): Likewise.
6201         * manual/install.texi (Configuring and compiling): Mention
6202         stop-on-test-failure=y.
6203         * INSTALL: Regenerated.
6204
6205 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6206
6207         * scripts/versionlist.awk: New file.
6208         * Makerules [$(build-shared) = yes]
6209         (postclean-generated): Add Versions.def, not Versions.def.v and
6210         Versions.def.v.i.
6211         ($(common-objpfx)Versions.def.v.i): Target removed.
6212         ($(common-objpfx)Versions.def): New target.
6213         ($(common-objpfx)Versions.all): Depend on that rather that
6214         $(common-objpfx)Versions.def.v.
6215         * Versions.def: File removed.
6216
6217         * Makeconfig (+gccwarn): Add -Wundef.
6218         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6219         a dl-sysdep.h breaking its contract.
6220         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6221         * include/stackinfo.h: New file.
6222         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6223         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6224         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6225         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6226         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6227         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6228         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6229         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6230         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6231         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6232         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6233         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6234         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6235         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6236         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6237
6238 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6239
6240         [BZ #16707]
6241         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6242         implementation.
6243         * math/libm-test.inc (round_test_data): Add more tests.
6244
6245         [BZ #16706]
6246         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6247         implementation.
6248         * math/libm-test.inc (nearbyint_test_data): Add more tests.
6249
6250         [BZ #16701]
6251         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6252         implementation.
6253         * math/libm-test.inc (ceil_test_data): Add more tests.
6254
6255         * math/libm-test.inc (trunc_test_data): Add more tests related to
6256         BZ#16414.
6257
6258 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6259
6260         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6261         with #if rather than #ifdef.
6262         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6263
6264 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
6265
6266         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6267         first.  Disable AVX-512 GCC support if assembler doesn't support
6268         it.
6269         * sysdeps/x86_64/configure: Regenerated.
6270
6271 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
6272
6273         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6274         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6275         (__old_pthread_attr_setstack): Likewise.
6276         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6277         [!_STACK_GROWS_DOWN]: Likewise.
6278
6279 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
6280
6281         * config.make.in (have-bash2): Delete.
6282         * configure.ac (libc_cv_have_bash2): Delete.
6283         * configure: Regenerate.
6284         * elf/Makefile (common-ldd-rewrite): Rename to ...
6285         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6286         (sh-ldd-rewrite): Delete.
6287         (bash-ldd-rewrite): Delete.
6288         (have-bash2): Delete checks.
6289         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6290         ldd-rewrite.
6291
6292         * config.make.in (have-ksh): Delete.
6293         (KSH): Delete.
6294         * configure.ac (libc_cv_have_ksh): Delete.
6295         * configure: Regenerate.
6296
6297         * elf/Makefile: Delete $(have-ksh) check.
6298         ($(objpfx)sotruss): Change KSH to BASH.
6299         * elf/sotruss.ksh: Rename to ...
6300         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6301         function style to match POSIX.  Drop ksh vim mode setting.
6302
6303         * manual/time.texi (Specifying the Time Zone with TZ): Change
6304         Tuesday to Thursday.
6305
6306         * debug/tst-longjmp_chk2.c: Update header comment.
6307         (stackoverflow_handler): Add comment.  Call assert on pass value.
6308
6309 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6310
6311         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6312         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6313         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6314         (La_x86_64_vector): Add zmm.
6315         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6316         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6317         ($(objpfx)tst-audit10): New target.
6318         ($(objpfx)tst-audit10.out): Likewise.
6319         (tst-audit10-ENV): New.
6320         (AVX512-CFLAGS): Likewise.
6321         (CFLAGS-tst-audit10.c): Likewise.
6322         (CFLAGS-tst-auditmod10a.c): Likewise.
6323         (CFLAGS-tst-auditmod10b.c): Likewise.
6324         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6325         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6326         * sysdeps/x86_64/configure: Regenerated.
6327         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6328         AVX-512 zmm register support.
6329         (_dl_x86_64_save_sse): Likewise.
6330         (_dl_x86_64_restore_sse): Likewise.
6331         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6332         size vector registers.
6333         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6334         (ZMM_SIZE): Likewise.
6335         * sysdeps/x86_64/tst-audit10.c: New file.
6336         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6337         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6338
6339 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6340
6341         * configure.ac (HAVE_EHDR_START): New check.
6342         * configure: Regenerated.
6343         * config.h.in (HAVE_EHDR_START): New #undef.
6344         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6345         assuming the lowest-addressed segment maps the start of the file.
6346
6347 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6348
6349         * INSTALL: Regenerated.
6350
6351 2014-03-13  Will Newton  <will.newton@linaro.org>
6352
6353         * manual/setjmp.texi (System V contexts): Improve
6354         clarity and grammar of documentation.
6355
6356 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6357
6358         [BZ #16381]
6359         * elf/Makefile (tests): Add tst-pie2.
6360         (tests-pie): Add tst-pie2.
6361         * elf/tst-pie2.c: New file.
6362         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6363         for ET_EXEC.
6364         * elf/rtld.c (map_doit): Load executable as lt_executable.
6365         (dl_main): Likewise.
6366
6367 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6368
6369         [BZ #16642]
6370         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6371         (__ASSUME_PSELECT): Undefine.
6372
6373 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6374
6375         [BZ #16689]
6376         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6377         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6378         static build.
6379         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6380         selector for static builds.
6381
6382 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6383
6384         [BZ #16695]
6385         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6386         key in the buffer.
6387
6388 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6389
6390         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6391         IFUNC selector for static builds.
6392
6393 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6394
6395         * sysdeps/mips/math_private.h [__mips_hard_float]
6396         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6397         libc_feresetround_mips_ctx.
6398         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6399         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6400         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6401
6402         [BZ #16677]
6403         * math/s_nextafter.c (__nextafter): Do not return value from
6404         overflowing computation.
6405         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6406         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6407         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6408         Likewise.
6409         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6410         Likewise.
6411         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6412         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6413
6414 2014-03-11  Roland McGrath  <roland@hack.frob.com>
6415
6416         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6417         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6418         Move sfi_sp use from the load-multiple (that no longer sets sp) to
6419         the new mov targetting sp.
6420
6421 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6422
6423         [BZ #16683]
6424         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6425         Define it for static builds as well.
6426         (NO_BZERO_IMPL): Likewise.
6427
6428 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6429
6430         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6431         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6432         multiarch strspn for PPC64.
6433         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6434         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6436         (__libc_ifunc_impl_list): Likewise.
6437         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6438         multiarch optimizations
6439         * string/strspn.c (strspn): Using macro to redefine symbol name.
6440
6441 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6442             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6443
6444         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6445         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6446         multiarch strncat for PPC64.
6447         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6448         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6450         (__libc_ifunc_impl_list): Likewise.
6451         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6452         multiarch optimizations
6453
6454 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6455
6456         [BZ #16639]
6457         * nscd/nscd.service: Make service type forking.
6458
6459 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6460
6461         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6462         sign in non default rounding modes.
6463         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6464
6465 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
6466
6467         * math/libm-test.inc (ALL_RM_TEST): New macro.
6468         (ceil_test): Use ALL_RM_TEST.
6469         (cimag_test): Likewise.
6470         (conj_test): Likewise.
6471         (copysign_test): Likewise.
6472         (cproj_test): Likewise.
6473         (creal_test): Likewise.
6474         (fabs_test): Likewise.
6475         (floor_test): Likewise.
6476         (fmax_test): Likewise.
6477         (fmin_test): Likewise.
6478         (fmod_test): Likewise.
6479         (fpclassify_test): Likewise.
6480         (frexp_test): Likewise.
6481         (ilogb_test): Likewise.
6482         (isfinite_test): Likewise.
6483         (finite_test): Likewise.
6484         (isgreater_test): Likewise.
6485         (isgreaterequal_test): Likewise.
6486         (isinf_test): Likewise.
6487         (isless_test): Likewise.
6488         (islessequal_test): Likewise.
6489         (islessgreater_test): Likewise.
6490         (isnan_test): Likewise.
6491         (isnormal_test): Likewise.
6492         (issignaling_test): Likewise.
6493         (isunordered_test): Likewise.
6494         (logb_test): Likewise.
6495         (logb_downward_test_data): Remove.
6496         (logb_test_downward): Likewise.
6497         (lround_test): Use ALL_RM_TEST.
6498         (llround_test): Likewise.
6499         (modf_test): Likewise.
6500         (nexttoward_test): Likewise.
6501         (remainder_test): Likewise.
6502         (drem_test): Likewise.
6503         (remainder_tonearest_test_data): Likewise.
6504         (remainder_test_tonearest): Likewise.
6505         (drem_test_tonearest): Likewise.
6506         (remainder_towardzero_test_data): Likewise.
6507         (remainder_test_towardzero): Likewise.
6508         (drem_test_towardzero): Likewise.
6509         (remainder_downward_test_data): Likewise.
6510         (remainder_test_downward): Likewise.
6511         (drem_test_downward): Likewise.
6512         (remainder_upward_test_data): Likewise.
6513         (remainder_test_upward): Likewise.
6514         (drem_test_upward): Likewise.
6515         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
6516         (round_test): Use ALL_RM_TEST.
6517         (signbit_test): Likewise.
6518         (trunc_test): Likewise.
6519         (significand_test): Likewise.
6520         (main): Don't call removed functions.
6521
6522 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6523
6524         [BZ #16674]
6525         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6526         || __USE_XOPEN2K8].
6527         (ILL_ILLOPN): Likewise.
6528         (ILL_ILLADR): Likewise.
6529         (ILL_ILLTRP): Likewise.
6530         (ILL_PRVOPC): Likewise.
6531         (ILL_PRVREG): Likewise.
6532         (ILL_COPROC): Likewise.
6533         (ILL_BADSTK): Likewise.
6534         (FPE_INTDIV): Likewise.
6535         (FPE_INTOVF): Likewise.
6536         (FPE_FLTDIV): Likewise.
6537         (FPE_FLTOVF): Likewise.
6538         (FPE_FLTUND): Likewise.
6539         (FPE_FLTRES): Likewise.
6540         (FPE_FLTINV): Likewise.
6541         (FPE_FLTSUB): Likewise.
6542         (SEGV_MAPERR): Likewise.
6543         (SEGV_ACCERR): Likewise.
6544         (BUS_ADRALN): Likewise.
6545         (BUS_ADRERR): Likewise.
6546         (BUS_OBJERR): Likewise.
6547         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6548         (TRAP_TRACE): Likewise.
6549         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6550         __USE_XOPEN2K8].
6551         (CLD_KILLED): Likewise.
6552         (CLD_DUMPED): Likewise.
6553         (CLD_TRAPPED): Likewise.
6554         (CLD_STOPPED): Likewise.
6555         (CLD_CONTINUED): Likewise.
6556         (POLL_IN): Likewise.
6557         (POLL_OUT): Likewise.
6558         (POLL_MSG): Likewise.
6559         (POLL_ERR): Likewise.
6560         (POLL_PRI): Likewise.
6561         (POLL_HUP): Likewise.
6562         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6563         Likewise.
6564         (ILL_ILLOPN): Likewise.
6565         (ILL_ILLADR): Likewise.
6566         (ILL_ILLTRP): Likewise.
6567         (ILL_PRVOPC): Likewise.
6568         (ILL_PRVREG): Likewise.
6569         (ILL_COPROC): Likewise.
6570         (ILL_BADSTK): Likewise.
6571         (FPE_INTDIV): Likewise.
6572         (FPE_INTOVF): Likewise.
6573         (FPE_FLTDIV): Likewise.
6574         (FPE_FLTOVF): Likewise.
6575         (FPE_FLTUND): Likewise.
6576         (FPE_FLTRES): Likewise.
6577         (FPE_FLTINV): Likewise.
6578         (FPE_FLTSUB): Likewise.
6579         (SEGV_MAPERR): Likewise.
6580         (SEGV_ACCERR): Likewise.
6581         (BUS_ADRALN): Likewise.
6582         (BUS_ADRERR): Likewise.
6583         (BUS_OBJERR): Likewise.
6584         (BUS_MCEERR_AR): Likewise.
6585         (BUS_MCEERR_AO): Likewise.
6586         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6587         (TRAP_TRACE): Likewise.
6588         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6589         __USE_XOPEN2K8].
6590         (CLD_KILLED): Likewise.
6591         (CLD_DUMPED): Likewise.
6592         (CLD_TRAPPED): Likewise.
6593         (CLD_STOPPED): Likewise.
6594         (CLD_CONTINUED): Likewise.
6595         (POLL_IN): Likewise.
6596         (POLL_OUT): Likewise.
6597         (POLL_MSG): Likewise.
6598         (POLL_ERR): Likewise.
6599         (POLL_PRI): Likewise.
6600         (POLL_HUP): Likewise.
6601         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6602         (ILL_ILLOPN): Likewise.
6603         (ILL_ILLADR): Likewise.
6604         (ILL_ILLTRP): Likewise.
6605         (ILL_PRVOPC): Likewise.
6606         (ILL_PRVREG): Likewise.
6607         (ILL_COPROC): Likewise.
6608         (ILL_BADSTK): Likewise.
6609         (FPE_INTDIV): Likewise.
6610         (FPE_INTOVF): Likewise.
6611         (FPE_FLTDIV): Likewise.
6612         (FPE_FLTOVF): Likewise.
6613         (FPE_FLTUND): Likewise.
6614         (FPE_FLTRES): Likewise.
6615         (FPE_FLTINV): Likewise.
6616         (FPE_FLTSUB): Likewise.
6617         (SEGV_MAPERR): Likewise.
6618         (SEGV_ACCERR): Likewise.
6619         (BUS_ADRALN): Likewise.
6620         (BUS_ADRERR): Likewise.
6621         (BUS_OBJERR): Likewise.
6622         (BUS_MCEERR_AR): Likewise.
6623         (BUS_MCEERR_AO): Likewise.
6624         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6625         (TRAP_TRACE): Likewise.
6626         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6627         __USE_XOPEN2K8].
6628         (CLD_KILLED): Likewise.
6629         (CLD_DUMPED): Likewise.
6630         (CLD_TRAPPED): Likewise.
6631         (CLD_STOPPED): Likewise.
6632         (CLD_CONTINUED): Likewise.
6633         (POLL_IN): Likewise.
6634         (POLL_OUT): Likewise.
6635         (POLL_MSG): Likewise.
6636         (POLL_ERR): Likewise.
6637         (POLL_PRI): Likewise.
6638         (POLL_HUP): Likewise.
6639         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6640         Likewise.
6641         (ILL_ILLOPN): Likewise.
6642         (ILL_ILLADR): Likewise.
6643         (ILL_ILLTRP): Likewise.
6644         (ILL_PRVOPC): Likewise.
6645         (ILL_PRVREG): Likewise.
6646         (ILL_COPROC): Likewise.
6647         (ILL_BADSTK): Likewise.
6648         (ILL_BADIADDR): Likewise.
6649         (ILL_BREAK): Likewise.
6650         (FPE_INTDIV): Likewise.
6651         (FPE_INTOVF): Likewise.
6652         (FPE_FLTDIV): Likewise.
6653         (FPE_FLTOVF): Likewise.
6654         (FPE_FLTUND): Likewise.
6655         (FPE_FLTRES): Likewise.
6656         (FPE_FLTINV): Likewise.
6657         (FPE_FLTSUB): Likewise.
6658         (FPE_DECOVF): Likewise.
6659         (FPE_DECDIV): Likewise.
6660         (FPE_DECERR): Likewise.
6661         (FPE_INVASC): Likewise.
6662         (FPE_INVDEC): Likewise.
6663         (SEGV_MAPERR): Likewise.
6664         (SEGV_ACCERR): Likewise.
6665         (SEGV_PSTKOVF): Likewise.
6666         (BUS_ADRALN): Likewise.
6667         (BUS_ADRERR): Likewise.
6668         (BUS_OBJERR): Likewise.
6669         (BUS_MCEERR_AR): Likewise.
6670         (BUS_MCEERR_AO): Likewise.
6671         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6672         (TRAP_TRACE): Likewise.
6673         (TRAP_BRANCH): Likewise.
6674         (TRAP_HWBKPT): Likewise.
6675         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6676         __USE_XOPEN2K8].
6677         (CLD_KILLED): Likewise.
6678         (CLD_DUMPED): Likewise.
6679         (CLD_TRAPPED): Likewise.
6680         (CLD_STOPPED): Likewise.
6681         (CLD_CONTINUED): Likewise.
6682         (POLL_IN): Likewise.
6683         (POLL_OUT): Likewise.
6684         (POLL_MSG): Likewise.
6685         (POLL_ERR): Likewise.
6686         (POLL_PRI): Likewise.
6687         (POLL_HUP): Likewise.
6688         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6689         (ILL_ILLOPN): Likewise.
6690         (ILL_ILLADR): Likewise.
6691         (ILL_ILLTRP): Likewise.
6692         (ILL_PRVOPC): Likewise.
6693         (ILL_PRVREG): Likewise.
6694         (ILL_COPROC): Likewise.
6695         (ILL_BADSTK): Likewise.
6696         (FPE_INTDIV): Likewise.
6697         (FPE_INTOVF): Likewise.
6698         (FPE_FLTDIV): Likewise.
6699         (FPE_FLTOVF): Likewise.
6700         (FPE_FLTUND): Likewise.
6701         (FPE_FLTRES): Likewise.
6702         (FPE_FLTINV): Likewise.
6703         (FPE_FLTSUB): Likewise.
6704         (SEGV_MAPERR): Likewise.
6705         (SEGV_ACCERR): Likewise.
6706         (BUS_ADRALN): Likewise.
6707         (BUS_ADRERR): Likewise.
6708         (BUS_OBJERR): Likewise.
6709         (BUS_MCEERR_AR): Likewise.
6710         (BUS_MCEERR_AO): Likewise.
6711         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6712         (TRAP_TRACE): Likewise.
6713         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6714         __USE_XOPEN2K8].
6715         (CLD_KILLED): Likewise.
6716         (CLD_DUMPED): Likewise.
6717         (CLD_TRAPPED): Likewise.
6718         (CLD_STOPPED): Likewise.
6719         (CLD_CONTINUED): Likewise.
6720         (POLL_IN): Likewise.
6721         (POLL_OUT): Likewise.
6722         (POLL_MSG): Likewise.
6723         (POLL_ERR): Likewise.
6724         (POLL_PRI): Likewise.
6725         (POLL_HUP): Likewise.
6726         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6727         (ILL_ILLOPN): Likewise.
6728         (ILL_ILLADR): Likewise.
6729         (ILL_ILLTRP): Likewise.
6730         (ILL_PRVOPC): Likewise.
6731         (ILL_PRVREG): Likewise.
6732         (ILL_COPROC): Likewise.
6733         (ILL_BADSTK): Likewise.
6734         (FPE_INTDIV): Likewise.
6735         (FPE_INTOVF): Likewise.
6736         (FPE_FLTDIV): Likewise.
6737         (FPE_FLTOVF): Likewise.
6738         (FPE_FLTUND): Likewise.
6739         (FPE_FLTRES): Likewise.
6740         (FPE_FLTINV): Likewise.
6741         (FPE_FLTSUB): Likewise.
6742         (SEGV_MAPERR): Likewise.
6743         (SEGV_ACCERR): Likewise.
6744         (BUS_ADRALN): Likewise.
6745         (BUS_ADRERR): Likewise.
6746         (BUS_OBJERR): Likewise.
6747         (BUS_MCEERR_AR): Likewise.
6748         (BUS_MCEERR_AO): Likewise.
6749         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6750         (TRAP_TRACE): Likewise.
6751         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6752         __USE_XOPEN2K8].
6753         (CLD_KILLED): Likewise.
6754         (CLD_DUMPED): Likewise.
6755         (CLD_TRAPPED): Likewise.
6756         (CLD_STOPPED): Likewise.
6757         (CLD_CONTINUED): Likewise.
6758         (POLL_IN): Likewise.
6759         (POLL_OUT): Likewise.
6760         (POLL_MSG): Likewise.
6761         (POLL_ERR): Likewise.
6762         (POLL_PRI): Likewise.
6763         (POLL_HUP): Likewise.
6764         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6765         (ILL_ILLOPN): Likewise.
6766         (ILL_ILLADR): Likewise.
6767         (ILL_ILLTRP): Likewise.
6768         (ILL_PRVOPC): Likewise.
6769         (ILL_PRVREG): Likewise.
6770         (ILL_COPROC): Likewise.
6771         (ILL_BADSTK): Likewise.
6772         (FPE_INTDIV): Likewise.
6773         (FPE_INTOVF): Likewise.
6774         (FPE_FLTDIV): Likewise.
6775         (FPE_FLTOVF): Likewise.
6776         (FPE_FLTUND): Likewise.
6777         (FPE_FLTRES): Likewise.
6778         (FPE_FLTINV): Likewise.
6779         (FPE_FLTSUB): Likewise.
6780         (SEGV_MAPERR): Likewise.
6781         (SEGV_ACCERR): Likewise.
6782         (BUS_ADRALN): Likewise.
6783         (BUS_ADRERR): Likewise.
6784         (BUS_OBJERR): Likewise.
6785         (BUS_MCEERR_AR): Likewise.
6786         (BUS_MCEERR_AO): Likewise.
6787         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6788         (TRAP_TRACE): Likewise.
6789         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6790         __USE_XOPEN2K8].
6791         (CLD_KILLED): Likewise.
6792         (CLD_DUMPED): Likewise.
6793         (CLD_TRAPPED): Likewise.
6794         (CLD_STOPPED): Likewise.
6795         (CLD_CONTINUED): Likewise.
6796         (POLL_IN): Likewise.
6797         (POLL_OUT): Likewise.
6798         (POLL_MSG): Likewise.
6799         (POLL_ERR): Likewise.
6800         (POLL_PRI): Likewise.
6801         (POLL_HUP): Likewise.
6802         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6803         (ILL_ILLOPN): Likewise.
6804         (ILL_ILLADR): Likewise.
6805         (ILL_ILLTRP): Likewise.
6806         (ILL_PRVOPC): Likewise.
6807         (ILL_PRVREG): Likewise.
6808         (ILL_COPROC): Likewise.
6809         (ILL_BADSTK): Likewise.
6810         (ILL_DBLFLT): Likewise.
6811         (ILL_HARDWALL): Likewise.
6812         (FPE_INTDIV): Likewise.
6813         (FPE_INTOVF): Likewise.
6814         (FPE_FLTDIV): Likewise.
6815         (FPE_FLTOVF): Likewise.
6816         (FPE_FLTUND): Likewise.
6817         (FPE_FLTRES): Likewise.
6818         (FPE_FLTINV): Likewise.
6819         (FPE_FLTSUB): Likewise.
6820         (SEGV_MAPERR): Likewise.
6821         (SEGV_ACCERR): Likewise.
6822         (BUS_ADRALN): Likewise.
6823         (BUS_ADRERR): Likewise.
6824         (BUS_OBJERR): Likewise.
6825         (BUS_MCEERR_AR): Likewise.
6826         (BUS_MCEERR_AO): Likewise.
6827         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6828         (TRAP_TRACE): Likewise.
6829         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6830         __USE_XOPEN2K8].
6831         (CLD_KILLED): Likewise.
6832         (CLD_DUMPED): Likewise.
6833         (CLD_TRAPPED): Likewise.
6834         (CLD_STOPPED): Likewise.
6835         (CLD_CONTINUED): Likewise.
6836         (POLL_IN): Likewise.
6837         (POLL_OUT): Likewise.
6838         (POLL_MSG): Likewise.
6839         (POLL_ERR): Likewise.
6840         (POLL_PRI): Likewise.
6841         (POLL_HUP): Likewise.
6842         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6843         (ILL_ILLOPN): Likewise.
6844         (ILL_ILLADR): Likewise.
6845         (ILL_ILLTRP): Likewise.
6846         (ILL_PRVOPC): Likewise.
6847         (ILL_PRVREG): Likewise.
6848         (ILL_COPROC): Likewise.
6849         (ILL_BADSTK): Likewise.
6850         (FPE_INTDIV): Likewise.
6851         (FPE_INTOVF): Likewise.
6852         (FPE_FLTDIV): Likewise.
6853         (FPE_FLTOVF): Likewise.
6854         (FPE_FLTUND): Likewise.
6855         (FPE_FLTRES): Likewise.
6856         (FPE_FLTINV): Likewise.
6857         (FPE_FLTSUB): Likewise.
6858         (SEGV_MAPERR): Likewise.
6859         (SEGV_ACCERR): Likewise.
6860         (BUS_ADRALN): Likewise.
6861         (BUS_ADRERR): Likewise.
6862         (BUS_OBJERR): Likewise.
6863         (BUS_MCEERR_AR): Likewise.
6864         (BUS_MCEERR_AO): Likewise.
6865         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6866         (TRAP_TRACE): Likewise.
6867         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6868         __USE_XOPEN2K8].
6869         (CLD_KILLED): Likewise.
6870         (CLD_DUMPED): Likewise.
6871         (CLD_TRAPPED): Likewise.
6872         (CLD_STOPPED): Likewise.
6873         (CLD_CONTINUED): Likewise.
6874         (POLL_IN): Likewise.
6875         (POLL_OUT): Likewise.
6876         (POLL_MSG): Likewise.
6877         (POLL_ERR): Likewise.
6878         (POLL_PRI): Likewise.
6879         (POLL_HUP): Likewise.
6880         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6881         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6882
6883         [BZ #16670]
6884         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6885         before #include of <time.h>.
6886         [!__USE_XOPEN2K] (__need_timespec): Likewise.
6887         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6888         (test-xfail-UNIX98/sched.h/conform): Likewise.
6889
6890 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6891
6892         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6893         error absence of trapping exception support.
6894         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6895
6896 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6897
6898         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6899         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6900         * timezone/Makefile (testdata): Move definition above include of
6901         Rules.
6902         (test-zones): New variable.
6903         (tests-special): Add zone files.
6904         (build-testdata): Use $(evaluate-test).
6905
6906         * elf/Makefile (tests-special): Rename tests to end with .out.
6907         ($(objpfx)noload-mem): Likewise.
6908         ($(objpfx)tst-leaks1-mem): Likewise.
6909         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6910         * iconv/Makefile (xtests-special): Change test-iconvconfig to
6911         $(objpfx)test-iconvconfig.out.
6912         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
6913         set -e inside subshell and redirect output to file.
6914         * iconvdata/Makefile (generated): Rename tests to end with .out.
6915         Correct type.
6916         (tests-special): Rename tests to end with .out.
6917         ($(objpfx)mtrace-tst-loading): Likewise.
6918         * intl/Makefile (generated): Likewise.
6919         (tests-special): Likewise.
6920         ($(objpfx)mtrace-tst-gettext): Likewise.
6921         * misc/Makefile (generated): Likewise.
6922         (tests-special): Likewise.
6923         ($(objpfx)tst-error1-mem): Likewise.
6924         * nptl/Makefile (tests-special): Likewise.
6925         ($(objpfx)tst-stack3-mem): Likewise.
6926         (generated): Likewise.
6927         * posix/Makefile (generated): Likewise.
6928         (tests-special): Likewise.
6929         (xtests-special): Likewise.
6930         ($(objpfx)tst-fnmatch-mem): Likewise.
6931         ($(objpfx)bug-regex2-mem): Likewise.
6932         ($(objpfx)bug-regex14-mem): Likewise.
6933         ($(objpfx)bug-regex21-mem): Likewise.
6934         ($(objpfx)bug-regex31-mem): Likewise.
6935         ($(objpfx)tst-vfork3-mem): Likewise.
6936         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6937         ($(objpfx)tst-pcre-mem): Likewise.
6938         ($(objpfx)tst-boost-mem): Likewise.
6939         ($(objpfx)bug-ga2-mem): Likewise.
6940         ($(objpfx)bug-glob2-mem): Likewise.
6941         * resolv/Makefile (generate): Likewise.
6942         (tests-special): Likewise.
6943         (xtests-special): Likewise.
6944         (generated): Likewise.
6945         ($(objpfx)mtrace-tst-leaks): Likewise.
6946         ($(objpfx)mtrace-tst-leaks2): Likewise.
6947
6948         * scripts/merge-test-results.sh: New file.
6949         * Makefile (tests-special-notdir): New variable.
6950         (tests): Run merge-test-results.sh.
6951         (xtests): Likewise.
6952         * Rules (tests-special-notdir): New variable.
6953         (xtests-special-notdir): Likewise.
6954         (tests): Run merge-test-results.sh
6955         (xtests): Likewise.
6956
6957         * Makeconfig (test-xfail-name): New variable.
6958         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6959         compute variable name for expected failures.
6960         * conform/Makefile (conformtest-headers-data): New variable.
6961         (conformtest-standards): Likewise.
6962         (conformtest-headers-ISO): Likewise.
6963         (conformtest-headers-ISO99): Likewise.
6964         (conformtest-headers-ISO11): Likewise.
6965         (conformtest-headers-POSIX): Likewise.
6966         (conformtest-headers-XPG3): Likewise.
6967         (conformtest-headers-XPG4): Likewise.
6968         (conformtest-headers-UNIX98): Likewise.
6969         (conformtest-headers-XOPEN2K): Likewise.
6970         (conformtest-headers-POSIX2008): Likewise.
6971         (conformtest-headers-XOPEN2K8): Likewise.
6972         (conformtest-header-list-base): Likewise.
6973         (conformtest-header-list-tests): Likewise.
6974         (conformtest-header-base): Likewise.
6975         (conformtest-header-tests): Likewise.
6976         (tests-special): Add $(conformtest-header-list-tests).  If
6977         [$(fast-check) && !$(cross-compiling)], add
6978         $(conformtest-header-tests) instead of
6979         $(objpfx)run-conformtest.out.
6980         (generated): Add $(conformtest-header-list-base).  If
6981         [$(fast-check) && !$(cross-compiling)], add
6982         $(conformtest-header-base).  Remove previous setting.
6983         ($(conformtest-header-list-tests)): New target.
6984         (test-xfail-run-conformtest): Remove variable.
6985         ($(objpfx)run-conformtest.out): Remove target.
6986         (test-xfail-ISO11/complex.h/conform): New variable.
6987         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6988         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6989         (test-xfail-XPG3/varargs.h/conform): Likewise.
6990         (test-xfail-XPG4/varargs.h/conform): Likewise.
6991         (test-xfail-UNIX98/varargs.h/conform): Likewise.
6992         (test-xfail-XPG4/ndbm.h/conform): Likewise.
6993         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6994         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6995         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6996         (test-xfail-XPG3/fcntl.h/conform): Likewise.
6997         (test-xfail-XPG3/ftw.h/conform): Likewise.
6998         (test-xfail-XPG3/grp.h/conform): Likewise.
6999         (test-xfail-XPG3/langinfo.h/conform): Likewise.
7000         (test-xfail-XPG3/limits.h/conform): Likewise.
7001         (test-xfail-XPG3/pwd.h/conform): Likewise.
7002         (test-xfail-XPG3/search.h/conform): Likewise.
7003         (test-xfail-XPG3/signal.h/conform): Likewise.
7004         (test-xfail-XPG3/stdio.h/conform): Likewise.
7005         (test-xfail-XPG3/stdlib.h/conform): Likewise.
7006         (test-xfail-XPG3/string.h/conform): Likewise.
7007         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7008         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7009         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7010         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7011         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7012         (test-xfail-XPG3/sys/types.h/conform): Likewise.
7013         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7014         (test-xfail-XPG3/termios.h/conform): Likewise.
7015         (test-xfail-XPG3/time.h/conform): Likewise.
7016         (test-xfail-XPG3/unistd.h/conform): Likewise.
7017         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7018         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7019         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7020         (test-xfail-XPG4/netdb.h/conform): Likewise.
7021         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7022         (test-xfail-XPG4/signal.h/conform): Likewise.
7023         (test-xfail-XPG4/stdio.h/conform): Likewise.
7024         (test-xfail-XPG4/stdlib.h/conform): Likewise.
7025         (test-xfail-XPG4/stropts.h/conform): Likewise.
7026         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7027         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7028         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7029         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7030         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7031         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7032         (test-xfail-XPG4/sys/time.h/conform): Likewise.
7033         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7034         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7035         (test-xfail-XPG4/termios.h/conform): Likewise.
7036         (test-xfail-XPG4/ucontext.h/conform): Likewise.
7037         (test-xfail-XPG4/unistd.h/conform): Likewise.
7038         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7039         (test-xfail-POSIX/sched.h/conform): Likewise.
7040         (test-xfail-POSIX/signal.h/conform): Likewise.
7041         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7042         (test-xfail-POSIX/tar.h/conform): Likewise.
7043         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7044         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7045         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7046         (test-xfail-UNIX98/netdb.h/conform): Likewise.
7047         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7048         (test-xfail-UNIX98/sched.h/conform): Likewise.
7049         (test-xfail-UNIX98/signal.h/conform): Likewise.
7050         (test-xfail-UNIX98/stdio.h/conform): Likewise.
7051         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7052         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7053         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7054         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7055         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7056         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7057         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7058         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7059         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7060         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7061         (test-xfail-UNIX98/unistd.h/conform): Likewise.
7062         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7063         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7064         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7065         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7066         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7067         (test-xfail-XOPEN2K/math.h/conform): Likewise.
7068         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7069         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7070         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7071         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7072         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7073         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7074         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7075         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7076         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7077         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7078         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7079         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7080         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7081         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7082         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7083         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7084         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7085         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7086         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7087         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7088         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7089         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7090         (test-xfail-POSIX2008/signal.h/conform): Likewise.
7091         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7092         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7093         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7094         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7095         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7096         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7097         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7098         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7099         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7100         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7101         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7102         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7103         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7104         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7105         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7106         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7107         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7108         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7109         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7110         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7111         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7112         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7113         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7114         (conformtest-cc-flags): Likewise.
7115         ($(conformtest-header-tests): New target.
7116         * conform/check-header-lists.sh: New file.
7117         * conform/run-conformtest.sh: Remove.
7118
7119         * conform/conformtest.pl: Allow ' and \ in values given for
7120         constants.
7121         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7122         inclusion.
7123         [POSIX] (sys/types.h): Likewise.
7124         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7125         inclusion.
7126         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7127         inclusion.
7128         * conform/data/signal.h-data (SIGIO): Remove expectation.
7129         [XPG3] (SIGBUS): Do not expect.
7130         [POSIX || XPG3] (SIGPOLL): Likewise.
7131         [POSIX || XPG3] (SIGPROF): Likewise.
7132         [POSIX || XPG3] (SIGSYS): Likewise.
7133         [XPG3] (SIGTRAP): Likewise.
7134         [POSIX || XPG3] (SIGURG): Likewise.
7135         [POSIX || XPG3] (SIGVTALRM): Likewise.
7136         [POSIX || XPG3] (SIGXCPU): Likewise.
7137         [POSIX || XPG3] (SIGXFSZ): Likewise.
7138         [POSIX] (SA_SIGINFO): Expect.
7139         [XPG3] (siginfo_t): Do not expect type or contents.
7140         [POSIX] (si_pid): Do not expect element.
7141         [POSIX] (si_uid): Likewise.
7142         [POSIX] (si_addr): Likewise.
7143         [POSIX] (si_status): Likewise.
7144         [POSIX] (si_band): Likewise.
7145         [XPG4] (si_value): Likewise.
7146         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7147         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7148         [POSIX || XPG3] (ILL_ILLADR): Likewise.
7149         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7150         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7151         [POSIX || XPG3] (ILL_PRVREG): Likewise.
7152         [POSIX || XPG3] (ILL_COPROC): Likewise.
7153         [POSIX || XPG3] (ILL_BADSTK): Likewise.
7154         [POSIX || XPG3] (FPE_INTDIV): Likewise.
7155         [POSIX || XPG3] (FPE_INTOVF): Likewise.
7156         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7157         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7158         [POSIX || XPG3] (FPE_FLTUND): Likewise.
7159         [POSIX || XPG3] (FPE_FLTRES): Likewise.
7160         [POSIX || XPG3] (FPE_FLTINV): Likewise.
7161         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7162         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7163         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7164         [POSIX || XPG3] (BUS_ADRALN): Likewise.
7165         [POSIX || XPG3] (BUS_ADRERR): Likewise.
7166         [POSIX || XPG3] (BUS_OBJERR): Likewise.
7167         [POSIX || XPG3] (CLD_EXITED): Likewise.
7168         [POSIX || XPG3] (CLD_KILLED): Likewise.
7169         [POSIX || XPG3] (CLD_DUMPED): Likewise.
7170         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7171         [POSIX || XPG3] (CLD_STOPPED): Likewise.
7172         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7173         [POSIX || XPG3] (POLL_IN): Likewise.
7174         [POSIX || XPG3] (POLL_OUT): Likewise.
7175         [POSIX || XPG3] (POLL_MSG): Likewise.
7176         [POSIX || XPG3] (POLL_ERR): Likewise.
7177         [POSIX || XPG3] (POLL_PRI): Likewise.
7178         [POSIX || XPG3] (POLL_HUP): Likewise.
7179         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7180         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7181         (SIG*): Do not allow.
7182         [XPG3] (si_*): Likewise.
7183         [XPG3] (SI_*): Likewise.
7184         [XPG3 || XPG4] (sigev_*): Likewise.
7185         [XPG3 || XPG4] (SIGEV_*): Likewise.
7186         [XPG3 || XPG4] (sival_*): Likewise.
7187         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7188         [POSIX || XPG3] (BUS_*): Likewise.
7189         [POSIX || XPG3] (CLD_*): Likewise.
7190         [POSIX || XPG3] (FPE_*): Likewise.
7191         [POSIX || XPG3] (ILL_*): Likewise.
7192         [POSIX || XPG3] (POLL_*): Likewise.
7193         [POSIX || XPG3] (SEGV_*): Likewise.
7194         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7195         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7196         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7197         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7198         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7199         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7200         Specify type and value.
7201         (TVERSLEN): Likewise.
7202         (REGTYPE): Likewise.
7203         (AREGTYPE): Likewise.
7204         (LNKTYPE): Likewise.
7205         (SYMTYPE): Likewise.
7206         (CHRTYPE): Likewise.
7207         (BLKTYPE): Likewise.
7208         (DIRTYPE): Likewise.
7209         (FIFOTYPE): Likewise.
7210         (CONTTYPE): Likewise.
7211         (TSUID): Likewise.
7212         (TSGID): Likewise.
7213         (TSVTX): Likewise.
7214         (TUREAD): Likewise.
7215         (TUWRITE): Likewise.
7216         (TUEXEC): Likewise.
7217         (TGREAD): Likewise.
7218         (TGWRITE): Likewise.
7219         (TGEXEC): Likewise.
7220         (TOREAD): Likewise.
7221         (TOWRITE): Likewise.
7222         (TOEXEC): Likewise.
7223         [POSIX] (TSVTX): Expect constant.
7224
7225 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
7226
7227         * Makefile (tests): Change dependencies to ....
7228         (tests-special): ... additions to this variable.
7229         (tests): Depend on $(tests-special).
7230         * Makerules (check-abi-list): New variable.
7231         (check-abi): Depend on $(check-abi-list).
7232         [$(subdir) = elf] (tests-special): Add
7233         $(objpfx)check-abi-libc.out.
7234         [$(build-shared) = yes && subdir] (tests-special): Add
7235         $(check-abi-list).
7236         [$(build-shared) = yes && subdir] (tests): Do not depend on
7237         check-abi.
7238         * Rules (tests): Depend on $(tests-special).
7239         (xtests): Depend on $(xtests-special).
7240         * catgets/Makefile (tests): Change dependencies to ....
7241         (tests-special): ... additions to this variable.
7242         * conform/Makefile (tests): Change dependencies to ....
7243         (tests-special): ... additions to this variable.
7244         * elf/Makefile (tests): Change dependencies to ....
7245         (tests-special): ... additions to this variable.
7246         * grp/Makefile (tests): Change dependencies to ....
7247         (tests-special): ... additions to this variable.
7248         * iconv/Makefile (xtests): Change dependencies to ....
7249         (xtests-special): ... additions to this variable.
7250         * iconvdata/Makefile (tests): Change dependencies to ....
7251         (tests-special): ... additions to this variable.
7252         * intl/Makefile (tests): Change dependencies to ....
7253         (tests-special): ... additions to this variable.  Also add
7254         $(objpfx)tst-gettext.out.
7255         * io/Makefile (tests): Change dependencies to ....
7256         (tests-special): ... additions to this variable.
7257         * libio/Makefile (tests): Change dependencies to ....
7258         (tests-special): ... additions to this variable.
7259         * malloc/Makefile (tests): Change dependencies to ....
7260         (tests-special): ... additions to this variable.
7261         * misc/Makefile (tests): Change dependencies to ....
7262         (tests-special): ... additions to this variable.
7263         * nptl/Makefile (tests): Change dependencies to ....
7264         (tests-special): ... additions to this variable.
7265         * nptl_db/Makefile (tests): Change dependencies to ....
7266         (tests-special): ... additions to this variable.
7267         * posix/Makefile (tests): Change dependencies to ....
7268         (tests-special): ... additions to this variable.
7269         (xtests): Change dependencies to ....
7270         (xtests-special): ... additions to this variable.
7271         * resolv/Makefile (tests): Change dependencies to ....
7272         (tests-special): ... additions to this variable.
7273         (xtests): Change dependencies to ....
7274         (xtests-special): ... additions to this variable.
7275         * stdio-common/Makefile (tests): Change dependencies to ....
7276         (tests-special): ... additions to this variable.
7277         (do-tst-unbputc): Remove target.
7278         (do-tst-printf): Likewise.
7279         * stdlib/Makefile (tests): Change dependencies to ....
7280         (tests-special): ... additions to this variable.
7281         * string/Makefile (tests): Change dependencies to ....
7282         (tests-special): ... additions to this variable.
7283         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7284         (tests-special): ... additions to this variable.
7285
7286         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7287         whole file.
7288         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7289         whole file.
7290         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7291         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7292
7293         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7294         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7295         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7296         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7297         * conform/data/libgen.h-data [XPG3]: Likewise.
7298         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7299         * conform/data/ndbm.h-data [XPG3]: Likewise.
7300         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7301         * conform/data/netdb.h-data [XPG3]: Likewise.
7302         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7303         * conform/data/poll.h-data [XPG3]: Likewise.
7304         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7305         * conform/data/strings.h-data [XPG3]: Likewise.
7306         * conform/data/stropts.h-data [XPG3]: Likewise.
7307         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7308         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7309         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7310         Likewise.
7311         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7312         * conform/data/sys/time.h-data [XPG3]: Likewise.
7313         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7314         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7315         * conform/data/sys/un.h-data [XPG3]: Likewise.
7316         * conform/data/syslog.h-data [XPG3]: Likewise.
7317         * conform/data/ucontext.h-data [XPG3]: Likewise.
7318         * conform/data/utmpx.h-data [XPG3]: Likewise.
7319         * conform/data/varargs.h-data [UNIX98]: Enable file.
7320
7321         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7322
7323         * math/libm-test.inc (struct test_f_f_data): Move expected results
7324         into structure for each rounding mode.
7325         (struct test_ff_f_data): Likewise.
7326         (struct test_ff_f_data_nexttoward): Likewise.
7327         (struct test_fi_f_data): Likewise.
7328         (struct test_fl_f_data): Likewise.
7329         (struct test_if_f_data): Likewise.
7330         (struct test_fff_f_data): Likewise.
7331         (struct test_c_f_data): Likewise.
7332         (struct test_f_f1_data): Likewise.
7333         (struct test_fF_f1_data): Likewise.
7334         (struct test_ffI_f1_data): Likewise.
7335         (struct test_c_c_data): Likewise.
7336         (struct test_cc_c_data): Likewise.
7337         (struct test_f_i_data): Likewise.
7338         (struct test_ff_i_data): Likewise.
7339         (struct test_f_l_data): Likewise.
7340         (struct test_f_L_data): Likewise.
7341         (struct test_fFF_11_data): Likewise.
7342         (RM_): New macro.
7343         (RM_FE_DOWNWARD): Likewise.
7344         (RM_FE_TONEAREST): Likewise.
7345         (RM_FE_TOWARDZERO): Likewise.
7346         (RM_FE_UPWARD): Likewise.
7347         (RUN_TEST_LOOP_f_f): Update references to expected results.
7348         (RUN_TEST_LOOP_2_f): Likewise.
7349         (RUN_TEST_LOOP_fff_f): Likewise.
7350         (RUN_TEST_LOOP_c_f): Likewise.
7351         (RUN_TEST_LOOP_f_f1): Likewise.
7352         (RUN_TEST_LOOP_fF_f1): Likewise.
7353         (RUN_TEST_LOOP_fI_f1): Likewise.
7354         (RUN_TEST_LOOP_ffI_f1): Likewise.
7355         (RUN_TEST_LOOP_c_c): Likewise.
7356         (RUN_TEST_LOOP_cc_c): Likewise.
7357         (RUN_TEST_LOOP_f_i): Likewise.
7358         (RUN_TEST_LOOP_f_i_tg): Likewise.
7359         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7360         (RUN_TEST_LOOP_f_b): Likewise.
7361         (RUN_TEST_LOOP_f_b_tg): Likewise.
7362         (RUN_TEST_LOOP_f_l): Likewise.
7363         (RUN_TEST_LOOP_f_L): Likewise.
7364         (RUN_TEST_LOOP_fFF_11): Likewise.
7365         * math/gen-libm-test.pl (parse_args): Output four copies of
7366         expected results for each test.
7367
7368         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7369         (__ASSUME_UTIMES): Remove.
7370         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7371         (__ASSUME_UTIMES): Likewise.
7372
7373         * math/gen-auto-libm-tests.c: Update comment on output format.
7374         (output_for_one_input_case): Generate before-rounding and
7375         after-rounding information as conditions on output flags not
7376         floating-point format.
7377         * math/auto-libm-test-out: Regenerated.
7378         * math/gen-libm-test.pl (cond_value): New function.
7379         (or_cond_value): Use cond_value.
7380         (generate_testfile): Handle conditional exceptions.
7381
7382 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7383
7384         * math/libm-test.inc (max_valid_error): New variable.
7385         (init_max_error): Take new argument specifying whether function
7386         results are exactly determined.  Set max_valid_error and bound
7387         other variables for errors based on this argument.
7388         (set_max_error): Do not record results above max_valid_error.
7389         (check_float_internal): Only accept errors of up to 0.5ulps if
7390         also at most max_valid_error.
7391         (START): Take new argument EXACT and pass it to init_max_error.
7392         (acos_test): Update call to START.
7393         (acos_test_tonearest): Likewise.
7394         (acos_test_towardzero): Likewise.
7395         (acos_test_downward): Likewise.
7396         (acos_test_upward): Likewise.
7397         (acosh_test): Likewise.
7398         (asin_test): Likewise.
7399         (asin_test_tonearest): Likewise.
7400         (asin_test_towardzero): Likewise.
7401         (asin_test_downward): Likewise.
7402         (asin_test_upward): Likewise.
7403         (asinh_test): Likewise.
7404         (atan_test): Likewise.
7405         (atanh_test): Likewise.
7406         (atan2_test): Likewise.
7407         (cabs_test): Likewise.
7408         (cacos_test): Likewise.
7409         (cacosh_test): Likewise.
7410         (carg_test): Likewise.
7411         (casin_test): Likewise.
7412         (casinh_test): Likewise.
7413         (catan_test): Likewise.
7414         (catanh_test): Likewise.
7415         (cbrt_test): Likewise.
7416         (ccos_test): Likewise.
7417         (ccosh_test): Likewise.
7418         (ceil_test): Likewise.
7419         (cexp_test): Likewise.
7420         (cimag_test): Likewise.
7421         (clog_test): Likewise.
7422         (clog10_test): Likewise.
7423         (conj_test): Likewise.
7424         (copysign_test): Likewise.
7425         (cos_test): Likewise.
7426         (cos_test_tonearest): Likewise.
7427         (cos_test_towardzero): Likewise.
7428         (cos_test_downward): Likewise.
7429         (cos_test_upward): Likewise.
7430         (cosh_test): Likewise.
7431         (cosh_test_tonearest): Likewise.
7432         (cosh_test_towardzero): Likewise.
7433         (cosh_test_downward): Likewise.
7434         (cosh_test_upward): Likewise.
7435         (cpow_test): Likewise.
7436         (cproj_test): Likewise.
7437         (creal_test): Likewise.
7438         (csin_test): Likewise.
7439         (csinh_test): Likewise.
7440         (csqrt_test): Likewise.
7441         (ctan_test): Likewise.
7442         (ctan_test_tonearest): Likewise.
7443         (ctan_test_towardzero): Likewise.
7444         (ctan_test_downward): Likewise.
7445         (ctan_test_upward): Likewise.
7446         (ctanh_test): Likewise.
7447         (ctanh_test_tonearest): Likewise.
7448         (ctanh_test_towardzero): Likewise.
7449         (ctanh_test_downward): Likewise.
7450         (ctanh_test_upward): Likewise.
7451         (erf_test): Likewise.
7452         (erfc_test): Likewise.
7453         (exp_test): Likewise.
7454         (exp_test_tonearest): Likewise.
7455         (exp_test_towardzero): Likewise.
7456         (exp_test_downward): Likewise.
7457         (exp_test_upward): Likewise.
7458         (exp10_test): Likewise.
7459         (exp10_test_tonearest): Likewise.
7460         (exp10_test_towardzero): Likewise.
7461         (exp10_test_downward): Likewise.
7462         (exp10_test_upward): Likewise.
7463         (pow10_test): Likewise.
7464         (exp2_test): Likewise.
7465         (expm1_test): Likewise.
7466         (expm1_test_tonearest): Likewise.
7467         (expm1_test_towardzero): Likewise.
7468         (expm1_test_downward): Likewise.
7469         (expm1_test_upward): Likewise.
7470         (fabs_test): Likewise.
7471         (fdim_test): Likewise.
7472         (floor_test): Likewise.
7473         (fma_test): Likewise.
7474         (fma_test_towardzero): Likewise.
7475         (fma_test_downward): Likewise.
7476         (fma_test_upward): Likewise.
7477         (fmax_test): Likewise.
7478         (fmin_test): Likewise.
7479         (fmod_test): Likewise.
7480         (fpclassify_test): Likewise.
7481         (frexp_test): Likewise.
7482         (hypot_test): Likewise.
7483         (ilogb_test): Likewise.
7484         (isfinite_test): Likewise.
7485         (finite_test): Likewise.
7486         (isgreater_test): Likewise.
7487         (isgreaterequal_test): Likewise.
7488         (isinf_test): Likewise.
7489         (isless_test): Likewise.
7490         (islessequal_test): Likewise.
7491         (islessgreater_test): Likewise.
7492         (isnan_test): Likewise.
7493         (isnormal_test): Likewise.
7494         (issignaling_test): Likewise.
7495         (isunordered_test): Likewise.
7496         (j0_test): Likewise.
7497         (j1_test): Likewise.
7498         (jn_test): Likewise.
7499         (ldexp_test): Likewise.
7500         (lgamma_test): Likewise.
7501         (gamma_test): Likewise.
7502         (lrint_test): Likewise.
7503         (lrint_test_tonearest): Likewise.
7504         (lrint_test_towardzero): Likewise.
7505         (lrint_test_downward): Likewise.
7506         (lrint_test_upward): Likewise.
7507         (llrint_test): Likewise.
7508         (llrint_test_tonearest): Likewise.
7509         (llrint_test_towardzero): Likewise.
7510         (llrint_test_downward): Likewise.
7511         (llrint_test_upward): Likewise.
7512         (log_test): Likewise.
7513         (log10_test): Likewise.
7514         (log1p_test): Likewise.
7515         (log2_test): Likewise.
7516         (logb_test): Likewise.
7517         (logb_test_downward): Likewise.
7518         (lround_test): Likewise.
7519         (llround_test): Likewise.
7520         (modf_test): Likewise.
7521         (nearbyint_test): Likewise.
7522         (nextafter_test): Likewise.
7523         (nexttoward_test): Likewise.
7524         (pow_test): Likewise.
7525         (pow_test_tonearest): Likewise.
7526         (pow_test_towardzero): Likewise.
7527         (pow_test_downward): Likewise.
7528         (pow_test_upward): Likewise.
7529         (remainder_test): Likewise.
7530         (drem_test): Likewise.
7531         (remainder_test_tonearest): Likewise.
7532         (drem_test_tonearest): Likewise.
7533         (remainder_test_towardzero): Likewise.
7534         (drem_test_towardzero): Likewise.
7535         (remainder_test_downward): Likewise.
7536         (drem_test_downward): Likewise.
7537         (remainder_test_upward): Likewise.
7538         (drem_test_upward): Likewise.
7539         (remquo_test): Likewise.
7540         (rint_test): Likewise.
7541         (rint_test_tonearest): Likewise.
7542         (rint_test_towardzero): Likewise.
7543         (rint_test_downward): Likewise.
7544         (rint_test_upward): Likewise.
7545         (round_test): Likewise.
7546         (scalb_test): Likewise.
7547         (scalbn_test): Likewise.
7548         (scalbln_test): Likewise.
7549         (signbit_test): Likewise.
7550         (sin_test): Likewise.
7551         (sin_test_tonearest): Likewise.
7552         (sin_test_towardzero): Likewise.
7553         (sin_test_downward): Likewise.
7554         (sin_test_upward): Likewise.
7555         (sincos_test): Likewise.
7556         (sinh_test): Likewise.
7557         (sinh_test_tonearest): Likewise.
7558         (sinh_test_towardzero): Likewise.
7559         (sinh_test_downward): Likewise.
7560         (sinh_test_upward): Likewise.
7561         (sqrt_test): Likewise.
7562         (sqrt_test_tonearest): Likewise.
7563         (sqrt_test_towardzero): Likewise.
7564         (sqrt_test_downward): Likewise.
7565         (sqrt_test_upward): Likewise.
7566         (tan_test): Likewise.
7567         (tan_test_tonearest): Likewise.
7568         (tan_test_towardzero): Likewise.
7569         (tan_test_downward): Likewise.
7570         (tan_test_upward): Likewise.
7571         (tanh_test): Likewise.
7572         (tgamma_test): Likewise.
7573         (trunc_test): Likewise.
7574         (y0_test): Likewise.
7575         (y1_test): Likewise.
7576         (yn_test): Likewise.
7577         (significand_test): Likewise.
7578
7579         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7580         individual tests in comment.
7581         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7582         (prev_max_error): New variable.
7583         (prev_real_max_error): Likewise.
7584         (prev_imag_max_error): Likewise.
7585         (compare_ulp_data): Don't refer to test names in comment.
7586         (find_test_ulps): Remove function.
7587         (find_function_ulps): Likewise.
7588         (find_complex_function_ulps): Likewise.
7589         (init_max_error): Take function name as argument.  Look up ulps
7590         for that function.
7591         (print_ulps): Remove function.
7592         (print_max_error): Use prev_max_error instead of calling
7593         find_function_ulps.
7594         (print_complex_max_error): Use prev_real_max_error and
7595         prev_imag_max_error instead of calling find_complex_function_ulps.
7596         (check_float_internal): Take max_ulp parameter instead of calling
7597         find_test_ulps.  Don't call print_ulps.
7598         (check_float): Update call to check_float_internal.
7599         (check_complex): Update calls to check_float_internal.
7600         (START): Pass argument to init_max_error.
7601         * math/gen-libm-test.pl (%results): Don't include "kind"
7602         information.
7603         (parse_ulps): Don't handle ulps of individual tests.
7604         (print_ulps_file): Likewise.
7605         (output_ulps): Likewise.
7606         * math/README.libm-test: Update.
7607         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7608         individual tests.
7609         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7610         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7611         * sysdeps/arm/libm-test-ulps: Likewise.
7612         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7613         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7614         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7615         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7616         * sysdeps/microblaze/libm-test-ulps: Likewise.
7617         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7618         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7619         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7620         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7621         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7622         * sysdeps/sh/libm-test-ulps: Likewise.
7623         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7624         * sysdeps/tile/libm-test-ulps: Likewise.
7625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7626
7627 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
7628
7629         * math/libm-test.inc (print_complex_max_error): Check separately
7630         whether real and imaginary errors are within allowed range and
7631         pass 0 to print_complex_function_ulps instead of value within
7632         allowed range.
7633
7634 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7635
7636         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7637         formatting.
7638         (get_handles_fopen): Likewise.
7639         (do_write_test): Likewise.
7640
7641         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7642
7643         * libio/fileops.c (do_ftell): Use cached offset when
7644         available.
7645         * libio/iofwide.c (do_ftell_wide): Likewise.
7646         * libio/iofdopen.c (_IO_new_fdopen): Don't use
7647         _IO_file_attach.
7648         * libio/wfileops.c (_IO_fwide): Don't cache offset.
7649
7650         [BZ #16532]
7651         * libio/libioP.h (get_file_offset): New function.
7652         * libio/fileops.c (get_file_offset): Likewise.
7653         (do_ftell): Likewise.
7654         (_IO_new_file_seekoff): Split out ftell logic.
7655         * libio/wfileops.c (do_ftell_wide): Likewise.
7656         (_IO_wfile_seekoff): Split out ftell logic.
7657         * libio/tst-ftell-active-handler.c: New test case.
7658         * libio/Makefile (tests): Add it.
7659
7660 2014-03-03  Roland McGrath  <roland@hack.frob.com>
7661
7662         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7663         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7664
7665 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7666
7667         [BZ #16639]
7668         * nscd/connections.c (nscd_init): Call do_exit.
7669         (start_threads): Call do_exit and notify_parent.
7670         (begin_drop_privileges): Call do_exit.
7671         (finish_drop_privileges): Likewise.
7672         * nscd/selinux.c (preserve_capabilities): Likewise.
7673         (install_real_capabilities): Likewise.
7674         (nscd_selinux_enabled): Likewise.
7675         (avc_create_thread): Likewise.
7676         (avc_alloc_lock): Likewise.
7677         (nscd_avc_init): Likewise.
7678         * nscd/nscd.c (parent_fd): New static variable.
7679         (main): Create a pipe between parent and child processes.
7680         Skip closing parent_fd.
7681         (monitor_child): New function.
7682         (do_exit): Likewise.
7683         (notify_parent): Likewise.
7684         * nscd/nscd.h (notify_parent): Likewise.
7685         (do_exit): Likewise.
7686
7687 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
7688
7689         * malloc/malloc.c (__libc_calloc): Revert last change.
7690
7691 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7692
7693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7694
7695 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7696
7697         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7698         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7699         implementation.
7700         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7701         (__libc_ifunc_impl_list): Likewise.
7702         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7703         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7704         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7705         * string/strrchr.c: Define STRRCHR.
7706
7707 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
7708
7709         * benchtest/bench-strtok.c (simple_strtok): Delete.
7710         (strtok_string): Use as benchmark.
7711         * string/strtok (STRTOK): New macro.
7712
7713 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
7714
7715         * manual/threads.texi: Add header and standard comments to all
7716         functions.
7717
7718         * elf/dl-lookup.c (check_match): New function.
7719         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7720         (do_lookup_x): Remove nested function check_match. Use non-nested
7721         function check_match.
7722
7723 2014-02-28  Roland McGrath  <roland@hack.frob.com>
7724
7725         * csu/Makefile (generated, before-compile): Use += rather than =.
7726         * catgets/Makefile (generated, generated-dirs): Likewise.
7727         * debug/Makefile (generated): Likewise.
7728         * dlfcn/Makefile (generated): Likewise.
7729         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7730         * iconvdata/Makefile (before-compile, generated): Likewise.
7731         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7732         * libio/Makefile (generated): Likewise.
7733         * malloc/Makefile (generated): Likewise.
7734         * manual/Makefile (generated, generated-dirs): Likewise.
7735         * misc/Makefile (generated): Likewise.
7736         * posix/Makefile (generated): Likewise.
7737         * resolv/Makefile (generated): Likewise.
7738         * sunrpc/Makefile (generated, generated-dirs): Likewise.
7739         * timezone/Makefile (generated, generated-dirs): Likewise.
7740
7741         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7742
7743 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7744
7745         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7746         power8 implementation.
7747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7748         file: POWER8 llround ifunc implementation.
7749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7750         (__lllround): Add POWER8 implementation.
7751         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7752         POWER8 llround implementation.
7753
7754         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7755         power8 implementation.
7756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7757         file: POWER8 llrint ifunc implementation.
7758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7759         Add POWER8 implementation.
7760         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7761         POWER8 llrint implementation.
7762
7763         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7764         power8 implementation.
7765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7766         file: POWER8 finite ifunc implementation.
7767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7768         Add POWER8 implementation.
7769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7770         Likewise.
7771         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7772         POWER8 finite implementation.
7773         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7774
7775         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7776         power8 implementation.
7777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7778         file: POWER8 isinf ifunc implementation.
7779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7780         POWER8 implementation.
7781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7782         Likewise.
7783         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7784         isinf implementation.
7785         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7786
7787         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7788         (INIT_ARCH): Add hwcap2 initialization.
7789         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7790         power8 implementation.
7791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7792         file: POWER8 isnan ifunc implementation.
7793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7794         POWER8 implementation.
7795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7796         Likewise.
7797         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7798         isnan implementation.
7799         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7800
7801 2014-02-27  Joey Ye  <joey.ye@arm.com>
7802
7803         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7804         (_FP_NANFRAC_Q): Set to zero.
7805
7806 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7807
7808         [BZ #16623]
7809         * math/auto-libm-test-in: New test inputs.
7810         * math/auto-libm-test-out: Regenerate.
7811         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7812         and DA.
7813         (__cos): Likewise.
7814         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7815
7816 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
7817
7818         * scripts/evaluate-test.sh: Take new argument indicating whether
7819         failure is expected.
7820         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7821         indicating whether failure is expected.
7822         * conform/Makefile (test-xfail-run-conformtest): New variable.
7823         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7824         level.
7825         * posix/Makefile (test-xfail-annexc): New variable.
7826         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7827
7828 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
7829
7830         * argp/Makefile: Include Makeconfig immediately after defining
7831         subdir.
7832         * assert/Makefile: Likewise.
7833         * benchtests/Makefile: Likewise.
7834         * catgets/Makefile: Likewise.
7835         * conform/Makefile: Likewise.
7836         * crypt/Makefile: Likewise.
7837         * csu/Makefile: Likewise.
7838         (all): Remove target.
7839         * ctype/Makefile: Include Makeconfig immediately after defining
7840         subdir.
7841         * debug/Makefile: Likewise.
7842         * dirent/Makefile: Likewise.
7843         * dlfcn/Makefile: Likewise.
7844         * gmon/Makefile: Likewise.
7845         * gnulib/Makefile: Likewise.
7846         * grp/Makefile: Likewise.
7847         * gshadow/Makefile: Likewise.
7848         * hesiod/Makefile: Likewise.
7849         * hurd/Makefile: Likewise.
7850         (all): Remove target.
7851         * iconvdata/Makefile: Include Makeconfig immediately after
7852         defining subdir.
7853         * inet/Makefile: Likewise.
7854         * intl/Makefile: Likewise.
7855         * io/Makefile: Likewise.
7856         * libio/Makefile: Likewise.
7857         (all): Remove target.
7858         * locale/Makefile: Include Makeconfig immediately after defining
7859         subdir.
7860         * login/Makefile: Likewise.
7861         * mach/Makefile: Likewise.
7862         (all): Remove target.
7863         * malloc/Makefile: Include Makeconfig immediately after defining
7864         subdir.
7865         (all): Remove target.
7866         * manual/Makefile: Include Makeconfig immediately after defining
7867         subdir.
7868         * math/Makefile: Likewise.
7869         * misc/Makefile: Likewise.
7870         * nis/Makefile: Likewise.
7871         * nss/Makefile: Likewise.
7872         * po/Makefile: Likewise.
7873         (all): Remove target.
7874         * posix/Makefile: Include Makeconfig immediately after defining
7875         subdir.
7876         * pwd/Makefile: Likewise.
7877         * resolv/Makefile: Likewise.
7878         * resource/Makefile: Likewise.
7879         * rt/Makefile: Likewise.
7880         * setjmp/Makefile: Likewise.
7881         * shadow/Makefile: Likewise.
7882         * signal/Makefile: Likewise.
7883         * socket/Makefile: Likewise.
7884         * soft-fp/Makefile: Likewise.
7885         * stdio-common/Makefile: Likewise.
7886         * stdlib/Makefile: Likewise.
7887         * streams/Makefile: Likewise.
7888         * string/Makefile: Likewise.
7889         * sunrpc/Makefile: Likewise.
7890         (all): Remove target.
7891         * sysvipc/Makefile: Include Makeconfig immediately after defining
7892         subdir.
7893         * termios/Makefile: Likewise.
7894         * time/Makefile: Likewise.
7895         * timezone/Makefile: Likewise.
7896         (all): Remove target.
7897         * wcsmbs/Makefile: Include Makeconfig immediately after defining
7898         subdir.
7899         * wctype/Makefile: Likewise.
7900
7901 2014-02-26  Steve Ellcey  <sellcey@mips.com>
7902
7903         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7904         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7905         (libc_feholdexcept_setround_mips): Ditto.
7906         (libc_feholdsetround): New.
7907         (libc_feholdsetroundf): New.
7908         (libc_feholdsetroundl): New.
7909         (libc_feupdateenv_test_mips): New.
7910         (libc_feupdateenv_test): New.
7911         (libc_feupdateenv_testf): New.
7912         (libc_feupdateenv_testl): New.
7913         (libc_feresetround): New.
7914         (libc_feresetroundf): New.
7915         (libc_feresetroundl): New.
7916         (libc_fetestexcept_mips): New.
7917         (libc_fetestexcept): New.
7918         (libc_fetestexceptf): New.
7919         (libc_fetestexceptl): New.
7920         (HAVE_RM_CTX): New.
7921         (libc_feholdexcept_setround_mips_ctx): New.
7922         (libc_feholdexcept_setround_ctx): New.
7923         (libc_feholdexcept_setroundf_ctx): New.
7924         (libc_feholdexcept_setroundl_ctx): New.
7925         (libc_fesetenv_mips_ctx): New.
7926         (libc_fesetenv_ctx): New.
7927         (libc_fesetenv_ctxf): New.
7928         (libc_fesetenv_ctxl): New.
7929         (libc_feupdateenv_mips_ctx): New.
7930         (libc_feupdateenv_ctx): New.
7931         (libc_feupdateenvf_ctx): New.
7932         (libc_feupdateenvl_ctx): New.
7933         (libc_feholdsetround_mips_ctx): New.
7934         (libc_feholdsetround_ctx): New.
7935         (libc_feholdsetroundf_ctx): New.
7936         (libc_feholdsetroundl_ctx): New.
7937         (libc_feresetround_mips_ctx): New.
7938         (libc_feresetround_ctx): New.
7939         (libc_feresetroundf_ctx): New.
7940         (libc_feresetroundl_ctx): New.
7941
7942 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
7943
7944         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7945
7946         * manual/ipc.texi: New file.
7947         * manual/Makefile (chapters): Add ipc.
7948         * manual/job.texi: Add "Inter-Process Communication" to next.
7949         * manual/process.texi: Add "Inter-Process Communication" to prev.
7950
7951 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7952
7953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7954
7955 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
7956
7957         * malloc/malloc.c (__libc_calloc): Simplify implementation.
7958
7959         * manual/arith.texi: Fix spaces after sentences.
7960         * manual/charset.texi: Likewise.
7961         * manual/errno.texi: Likewise.
7962         * manual/install.texi: Likewise.
7963         * manual/llio.texi: Likewise.
7964         * manual/locale.texi: Likewise.
7965         * manual/maint.texi: Likewise.
7966         * manual/math.texi: Likewise.
7967         * manual/memory.texi: Likewise.
7968         * manual/message.texi: Likewise.
7969         * manual/probes.texi: Likewise.
7970         * manual/resource.texi: Likewise.
7971         * manual/signal.texi: Likewise.
7972         * manual/socket.texi: Likewise.
7973         * manual/stdio.texi: Likewise.
7974         * manual/string.texi: Likewise.
7975         * manual/time.texi: Likewise.
7976         * manual/users.texi: Likewise.
7977
7978 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
7979
7980         [BZ #16632]
7981         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7982         _DEFAULT_SOURCE is defined.
7983
7984 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
7985             Carlos O'Donell  <carlos@redhat.com>
7986
7987         [BZ #16613]
7988         * elf/dl-tls.c (_dl_count_modids): New function.
7989         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7990         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7991         audit library and increment generation counter.
7992         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7993         * elf/tst-audit9.c: New file.
7994         * elf/tst-auditmod9a.c: New file.
7995         * elf/tst-auditmod9b.c: New file.
7996         * elf/Makefile: Add rules to build and run tst-audit9.
7997
7998 2014-02-25  Florian Weimer  <fweimer@redhat.com>
7999
8000         [BZ #15347]
8001         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8002
8003 2014-02-25  Will Newton  <will.newton@linaro.org>
8004
8005         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8006         (__longjmp): Restore sp and lr before restoring callee
8007         saved registers.  Add longjmp and longjmp_target
8008         SystemTap probe point.
8009         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8010         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8011         Define to zero to match jmpbuf layout.
8012         * sysdeps/arm/setjmp.S: Include stap-probe.h.
8013         (__sigsetjmp): Save sp and lr before saving callee
8014         saved registers.  Add setjmp SystemTap probe point.
8015
8016 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8017
8018         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8019
8020 2014-02-24  Andreas Schwab  <schwab@suse.de>
8021
8022         [BZ #15804]
8023         * elf/pldd.c (wait_for_ptrace_stop): New function.
8024         (main): Call it after attaching.
8025
8026 2014-02-22  Roland McGrath  <roland@hack.frob.com>
8027
8028         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8029         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8030         Versions files is now verboten.
8031         * hurd/Versions (libc: GLIBC_2.0):
8032         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8033         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8034         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8035         * mach/Versions: Likewise.
8036
8037         * csu/Versions: Remove unused %include.
8038         * resolv/Versions: Likewise.
8039
8040 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
8041
8042         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8043         ($(objpfx)check-local-headers.out): Likewise.
8044         ($(objpfx)begin-end-check.out): Likewise.
8045         * Makerules (check-abi-%.out): Likewise.
8046         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8047         ($(objpfx)test2.cat): Likewise.
8048         ($(objpfx)de/libc.cat): Likewise.
8049         ($(objpfx)test-gencat.out): Likewise.
8050         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8051         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8052         ($(objpfx)noload-mem): Likewise.
8053         ($(objpfx)tst-pathopt.out): Likewise.
8054         ($(objpfx)tst-rtld-load-self.out): Likewise.
8055         ($(objpfx)tst-array1-cmp.out): Likewise.
8056         ($(objpfx)tst-array1-static-cmp.out): Likewise.
8057         ($(objpfx)tst-array2-cmp.out): Likewise.
8058         ($(objpfx)tst-array3-cmp.out): Likewise.
8059         ($(objpfx)tst-array4-cmp.out): Likewise.
8060         ($(objpfx)tst-array5-cmp.out): Likewise.
8061         ($(objpfx)tst-array5-static-cmp.out): Likewise.
8062         ($(objpfx)check-textrel.out): Likewise.
8063         ($(objpfx)check-execstack.out): Likewise.
8064         ($(objpfx)check-localplt.out): Likewise.
8065         ($(objpfx)order2-cmp.out): Likewise.
8066         ($(objpfx)tst-leaks1-mem): Likewise.
8067         ($(objpfx)tst-leaks1-static-mem): Likewise.
8068         ($(objpfx)tst-initorder-cmp.out): Likewise.
8069         ($(objpfx)tst-initorder2-cmp.out): Likewise.
8070         ($(objpfx)tst-unused-dep.out): Likewise.
8071         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8072         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8073         * iconv/Makefile (test-iconvconfig): Likewise.
8074         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8075         ($(objpfx)iconv-test.out): Likewise.
8076         ($(objpfx)tst-tables.out): Likewise.
8077         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8078         ($(objpfx)tst-gettext.out): Likewise.
8079         ($(objpfx)tst-translit.out): Likewise.
8080         ($(objpfx)tst-gettext2.out): Likewise.
8081         ($(objpfx)tst-gettext4.out): Likewise.
8082         ($(objpfx)tst-gettext6.out): Likewise.
8083         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8084         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8085         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8086         ($(objpfx)tst-fopenloc-mem.out): Likewise.
8087         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8088         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8089         * posix/Makefile ($(objpfx)globtest.out): Likewise.
8090         ($(objpfx)wordexp-tst.out): Likewise.
8091         ($(objpfx)annexc.out): Likewise.
8092         ($(objpfx)tst-fnmatch-mem): Likewise.
8093         ($(objpfx)bug-regex2-mem): Likewise.
8094         ($(objpfx)bug-regex14-mem): Likewise.
8095         ($(objpfx)bug-regex21-mem): Likewise.
8096         ($(objpfx)bug-regex31-mem): Likewise.
8097         ($(objpfx)tst-vfork3-mem): Likewise.
8098         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8099         ($(objpfx)tst-pcre-mem): Likewise.
8100         ($(objpfx)tst-boost-mem): Likewise.
8101         ($(objpfx)tst-getconf.out): Likewise.
8102         ($(objpfx)bug-ga2-mem): Likewise.
8103         ($(objpfx)bug-glob2-mem): Likewise.
8104         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8105         ($(objpfx)mtrace-tst-leaks2): Likewise.
8106         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8107         ($(objpfx)tst-printf.out): Likewise.
8108         ($(objpfx)tst-setvbuf1.out): Likewise.
8109         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8110         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8111         ($(objpfx)tst-fmtmsg.out): Likewise.
8112         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8113         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8114
8115         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8116         * bits/sigaction.h [__USE_MISC]: Likewise.
8117         * bits/waitstatus.h: Update #endif comments.
8118         * ctype/ctype.h: Likewise.
8119         * dirent/dirent.h: Likewise.
8120         [__USE_MISC]: Remove redundant conditionals.
8121         * grp/grp.h: Update #endif comments.
8122         [__USE_GNU]: Remove redundant conditionals.
8123         [__USE_MISC]: Likewise.
8124         * inet/netinet/in.h [__USE_GNU]: Likewise.
8125         * io/sys/stat.h [__USE_MISC]: Likewise.
8126         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8127         * libio/bits/stdio.h: Update #endif comments.
8128         [__USE_MISC]: Remove redundant conditionals.
8129         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8130         * libio/stdio.h: Update #endif comments.
8131         [__USE_MISC]: Remove redundant conditionals.
8132         * math/bits/math-finite.h [__USE_MISC]: Likewise.
8133         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8134         * math/math.h: Update #else and #endif comments.
8135         [__USE_MISC]: Remove redundant conditionals.
8136         * misc/sys/uio.h: Update #endif comments.
8137         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8138         * posix/glob.h [__USE_MISC]: Likewise.
8139         * posix/sys/types.h: Update #endif comments.
8140         [__USE_MISC]: Remove redundant conditionals.
8141         * posix/sys/wait.h: Update #endif comments.
8142         [__USE_MISC]: Remove redundant conditionals.
8143         * posix/unistd.h: Update #endif comments.
8144         [__USE_MISC]: Remove redundant conditionals.
8145         * pwd/pwd.h [__USE_GNU]: Likewise.
8146         [__USE_MISC]: Likewise.
8147         * resolv/netdb.h [__USE_GNU]: Likewise.
8148         * signal/signal.h: Update #endif comments.
8149         [__USE_MISC]: Remove redundant conditionals.
8150         * stdlib/stdlib.h: Update #else and #endif comments.
8151         [__USE_MISC]: Remove redundant conditionals.
8152         [__USE_GNU]: Likewise.
8153         * string/bits/string2.h [__USE_MISC]: Likewise.
8154         * string/string.h: Update #endif comments.
8155         [__USE_MISC]: Remove redundant conditionals.
8156         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8157         Likewise.
8158         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8159         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8160         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8161         Likewise.
8162         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8163         Likewise.
8164         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8165         comments.
8166         [__USE_MISC]: Remove redundant conditionals.
8167         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8168         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8169         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8170         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8171         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8172         Likewise.
8173         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8174         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8175         Likewise.
8176         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8177         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8178         Likewise.
8179         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8180         Likewise.
8181         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8182         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8183         Likewise.
8184         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8185         Likewise.
8186         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8187         * sysdeps/x86/bits/string.h: Update #endif comments.
8188         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8189         conditionals.
8190         * time/sys/time.h: Update #endif comments.
8191         * time/time.h: Likewise.
8192         [__USE_MISC]: Remove redundant conditionals.
8193
8194 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
8195
8196         [BZ #16600]
8197         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8198
8199 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
8200
8201         * Versions.def (librt): Add GLIBC_2.17.
8202
8203 2014-02-21  Adam Conrad  <adconrad@0c3.net>
8204
8205         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8206         synonym for _SYS_AUXV_H to allow direct inclusion.
8207         * sysdeps/sparc/bits/hwcap.h: Likewise.
8208         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8209         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8210         * sysdeps/sparc/sysdep.h: Likewise.
8211
8212 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8213
8214         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8215
8216 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8217
8218         * benchtests/bench-strrchr.c: Print length instead of position.
8219
8220 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
8221
8222         [BZ #16611]
8223         * sysdeps/unix/sysv/linux/kernel-features.h
8224         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8225         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8226         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8227         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8228         Likewise.
8229         [__i386__ || __powerpc__ || __sh__ || __sparc__]
8230         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8231         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8232         (__ASSUME_SENDMMSG): Define instead of using previous
8233         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8234         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8235         (__ASSUME_SENDMMSG_SYSCALL): Define.
8236         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8237         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8238         Likewise.
8239         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8240         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8241         Likewise.
8242         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8243         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8244         Likewise.
8245         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8246         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8247         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8248         [__ASSUME_SENDMMSG]: Change conditionals to
8249         [__ASSUME_SENDMMSG_SOCKETCALL].
8250         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8251         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8252         Define.
8253         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8254         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8255         Likewise.
8256         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8257         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8258         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8259         [!__ASSUME_SENDMMSG]: Change conditional to
8260         [!__ASSUME_SENDMMSG_SOCKETCALL].
8261         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8262         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8263         Define.
8264
8265         [BZ #16610]
8266         * sysdeps/unix/sysv/linux/kernel-features.h
8267         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8268         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8269         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8270         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8271         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8272         [__i386__ || __sparc__]
8273         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8274         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8275         (__ASSUME_RECVMMSG): Define instead of using previous
8276         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8277         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8278         (__ASSUME_RECVMMSG_SYSCALL): Define.
8279         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8280         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8281         Likewise.
8282         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8283         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8284         Likewise.
8285         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8286         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8287         Likewise.
8288         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8289         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8290         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8291         [__ASSUME_RECVMMSG]: Change condition to
8292         [__ASSUME_RECVMMSG_SOCKETCALL].
8293         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8294         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8295         Define.
8296         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8297         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8298         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8299         Likewise.
8300         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8301         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8302         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8303         [!__ASSUME_RECVMMSG]: Change condition to
8304         [!__ASSUME_RECVMMSG_SOCKETCALL].
8305         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8306         (__ASSUME_RECVMMSG_SYSCALL): Define.
8307
8308         [BZ #16609]
8309         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8310         __powerpc__ || __s390__ || __sh__ || __sparc__]
8311         (__ASSUME_SOCKETCALL): Define.
8312         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8313         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8314         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8315         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8316         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8317         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8318         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8319         (__ASSUME_ACCEPT4): Define instead of using previous
8320         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8321         __powerpc__ || __sparc__ || __s390__)] condition.
8322         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8323         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8324         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8325         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8326         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8327         [!__ASSUME_ACCEPT4]: Change condition to
8328         [!__ASSUME_ACCEPT4_SOCKETCALL].
8329         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8330         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8331         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8332         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8333         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8334         __ASSUME_ACCEPT4_SYSCALL.
8335         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8336         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8337         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8338         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8339         __ASSUME_ACCEPT4_SYSCALL.
8340         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8341         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8342         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8343         [__ASSUME_ACCEPT4]: Change condition to
8344         [__ASSUME_ACCEPT4_SOCKETCALL].
8345         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8346         (__ASSUME_SOCKETCALL): Define.
8347         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8348         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8349         (__ASSUME_SOCKETCALL): Define.
8350         (__ASSUME_ACCEPT4): Remove.
8351         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8352         Define.
8353         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8354         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8355         Likewise.
8356         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8357         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8358
8359         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8360         macro.
8361         (HWCAP_ARM_LPAE): Likewise.
8362         (HWCAP_ARM_EVTSTRM): Likewise.
8363         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8364         Add vpfd32, lpae and evtstrm.
8365         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8366         Increase to 22.
8367
8368 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8369
8370         * math/auto-libm-test-in: Add tests of clog10.
8371         * math/auto-libm-test-out: Regenerated.
8372         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8373         * sysdeps/i386/fpu/libm-test-ulps: Update.
8374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8375
8376 2014-02-18  Andreas Schwab  <schwab@suse.de>
8377
8378         [BZ #16574]
8379         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8380         Store non-zero if the second buffer was newly allocated.
8381         (send_dg): Likewise.
8382         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8383         to send_vc and send_dg.
8384         (res_nsend): Pass NULL for ansp2_malloced.
8385         * resolv/res_query.c (__libc_res_nquery): Add parameter
8386         answerp2_malloced and pass it down to __libc_res_nsend.
8387         (res_nquery): Pass additional NULL to __libc_res_nquery.
8388         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8389         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8390         second answer buffer if answerp2_malloced was set.
8391         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8392         (__libc_res_nquerydomain): Add parameter
8393         answerp2_malloced and pass it down to __libc_res_nquery.
8394         (res_nquerydomain): Pass additional NULL to
8395         __libc_res_nquerydomain.
8396         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8397         additional NULL to __libc_res_nsend and __libc_res_nquery.
8398         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8399         additional NULL to __libc_res_nsearch.
8400         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8401         parameter of __libc_res_nsearch to check for separately allocated
8402         second buffer.
8403         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8404         __libc_res_nquery.
8405         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8406         additional NULL to __libc_res_nquery.
8407         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8408         __libc_res_nsearch.
8409         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8410         * include/resolv.h: Update prototypes of __libc_res_nquery,
8411         __libc_res_nsearch, __libc_res_nsend.
8412
8413 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
8414
8415         * math/auto-libm-test-in: Add tests of fma.
8416         * math/auto-libm-test-out: Regenerated.
8417         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8418         (fma_towardzero_test_data): Likewise.
8419         (fma_downward_test_data): Likewise.
8420         (fma_upward_test_data): Likewise.
8421         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8422         mpc_mode.
8423         (rounding_modes): Add values for new field.
8424         (func_calc_method): Add value mpfr_fff_f.
8425         (func_calc_desc): Add mpfr_fff_f union field.
8426         (test_function): Add field exact_args.
8427         (FUNC): Add macro argument EXACT_ARGS.
8428         (FUNC_mpfr_f_f): Update call to FUNC.
8429         (FUNC_mpfr_f_f): Likewise.
8430         (FUNC_mpfr_ff_f): Likewise.
8431         (FUNC_mpfr_if_f): Likewise.
8432         (FUNC_mpc_c_f): Likewise.
8433         (FUNC_mpc_c_c): Likewise.
8434         (test_functions): Add fma.  Update calls to FUNC.
8435         (handle_input_arg): Add argument exact_args.
8436         (add_test): Update call to handle_input_arg.
8437         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
8438         (output_for_one_input_case): Update call to calc_generic_results.
8439         Recalculate exact zero results in each rounding mode.
8440
8441         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8442         non-negative before setting low bit.
8443         * math/auto-libm-test-in: Mark one asin test possibly having
8444         spurious underflow.
8445         * math/auto-libm-test-out: Regenerated.
8446         * sysdeps/i386/fpu/libm-test-ulps: Update.
8447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8448
8449 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
8450
8451         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8452         * sysdeps/unix/sysv/linux/microblaze: Move directory from
8453         ports/sysdeps/unix/sysv/linux/microblaze.
8454         * README: Add missing listing for microblaze*-*-linux-gnu.
8455
8456 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
8457
8458         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8459         * sysdeps/unix/sysv/linux/ia64: Move directory from
8460         ports/sysdeps/unix/sysv/linux/ia64.
8461         * README: Update listing for ia64-*-linux-gnu.
8462
8463 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
8464             Joseph Myers  <joseph@codesourcery.com>
8465
8466         * Makeconfig (test-name): New variable.
8467         (evaluate-test): Likewise.
8468         * Makerules (do-test-clean): Remove .test-result files.
8469         (common-mostlyclean): Likewise.
8470         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8471         * scripts/evaluate-test.sh: New file.
8472
8473 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
8474
8475         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8476         separate $(objpfx)tst-fopenloc-cmp.out and
8477         $(objpfx)tst-fopenloc-mem.out targets.
8478         (tests): Update dependencies.
8479         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8480         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8481         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8482         (tst-rxspencer-no-utf8-ARGS): New variable.
8483         (tst-rxspencer-no-utf8-ENV): Likewise.
8484         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8485         instead of $(objpfx)tst-rxspencer-mem.
8486         ($(objpfx)tst-rxspencer-mem): Change target to
8487         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
8488         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8489         * posix/tst-rxspencer-no-utf8.c: New file.
8490
8491         * elf/Makefile ($(objpfx)order.out): Remove rule.
8492         [$(run-built-tests) = yes] (tests): Depend on
8493         $(objpfx)order-cmp.out.
8494         ($(objpfx)order-cmp.out): New rule.
8495         [$(run-built-tests) = yes] (tests): Depend on
8496         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8497         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8498         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8499         $(objpfx)tst-array5-static-cmp.out.
8500         ($(objpfx)tst-array1.out): Remove rule.
8501         ($(objpfx)tst-array1-cmp.out): New rule.
8502         ($(objpfx)tst-array1-static.out): Remove rule.
8503         ($(objpfx)tst-array1-static-cmp.out): New rule.
8504         ($(objpfx)tst-array2.out): Remove rule.
8505         ($(objpfx)tst-array2-cmp.out): New rule.
8506         ($(objpfx)tst-array3.out): Remove rule.
8507         ($(objpfx)tst-array3-cmp.out): New rule.
8508         ($(objpfx)tst-array4.out): Remove rule.
8509         ($(objpfx)tst-array4-cmp.out): New rule.
8510         ($(objpfx)tst-array5.out): Remove rule.
8511         ($(objpfx)tst-array5-cmp.out): New rule.
8512         ($(objpfx)tst-array5-static.out): Remove rule.
8513         ($(objpfx)tst-array5-static-cmp.out): New rule.
8514         [$(run-built-tests) = yes] (tests): Depend on
8515         $(objpfx)order2-cmp.out.
8516         ($(objpfx)order2.out): Remove rule.
8517         ($(objpfx)order2-cmp.out): New rule.
8518         ($(objpfx)tst-initorder.out): Remove rule.
8519         [$(run-built-tests) = yes] (tests): Depend on
8520         $(objpfx)tst-initorder-cmp.out.
8521         ($(objpfx)tst-initorder-cmp.out): New rule.
8522         ($(objpfx)tst-initorder2.out): Remove rule.
8523         [$(run-built-tests) = yes] (tests): Depend on
8524         $(objpfx)tst-initorder2-cmp.out.
8525         ($(objpfx)tst-initorder2-cmp.out): New rule.
8526         [$(run-built-tests) = yes] (tests): Depend on
8527         $(objpfx)tst-unused-dep-cmp.out.
8528         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8529         ($(objpfx)tst-unused-dep-cmp.out): New rule.
8530         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8531         on $(objpfx)tst-setvbuf1-cmp.out.
8532         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8533         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8534         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8535         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8536         ($(objpfx)tst-svc.out): Remove rule.
8537         ($(objpfx)tst-svc-cmp.out): New rule.
8538
8539 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
8540
8541         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8542         * ctype/ctype.h [__USE_MISC]: Likewise.
8543         * dirent/dirent.h [__USE_MISC]: Likewise.
8544         * grp/grp.h [__USE_MISC]: Likewise.
8545         * io/fcntl.h [__USE_MISC]: Likewise.
8546         * io/sys/stat.h [__USE_MISC]: Likewise.
8547         * libio/stdio.h [__USE_MISC]: Likewise.
8548         * posix/unistd.h [__USE_MISC]: Likewise.
8549         * pwd/pwd.h [__USE_MISC]: Likewise.
8550         * stdlib.h [__USE_MISC]: Likewise.
8551         * string/bits/string2.h [__USE_MISC]: Likewise.
8552         * string/string.h [__USE_MISC]: Likewise.
8553         * time/time.h [__USE_MISC]: Likewise.
8554
8555 2014-02-13  Andreas Schwab  <schwab@suse.de>
8556
8557         [BZ #16574]
8558         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8559         second answer buffer if it was separately allocated.
8560
8561 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
8562
8563         * sysdeps/mips/math-tests.h: Include <features.h>.
8564         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8565         (ROUNDING_TESTS_long_double): Do not define.
8566         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8567         (EXCEPTION_TESTS_long_double): Likewise.
8568         * sysdeps/mips/mips64/libm-test-ulps: Update.
8569
8570         * include/features.h (__USE_BSD): Remove macro definitions.
8571         (__USE_SVID): Likewise.
8572         (_BSD_SOURCE): Likewise.
8573         (_SVID_SOURCE): Likewise.
8574         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8575         from definition of _DEFAULT_SOURCE.
8576         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8577         [_DEFAULT_SOURCE].
8578         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8579         * bits/mman.h [__USE_BSD]: Likewise.
8580         * bits/termios.h [__USE_BSD]: Likewise.
8581         * bits/waitstatus.h [__USE_BSD]: Likewise.
8582         * ctype/ctype.h [__USE_SVID]: Likewise.
8583         * dirent/dirent.h [__USE_BSD]: Likewise.
8584         * grp/grp.h [__USE_SVID]: Likewise.
8585         [__USE_BSD]: Likewise.
8586         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8587         * io/fcntl.h [__USE_BSD]: Likewise.
8588         * io/ftw.h [__USE_BSD]: Likewise.
8589         * io/sys/stat.h [__USE_BSD]: Likewise.
8590         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8591         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8592         * libio/stdio.h [__USE_SVID]: Likewise.
8593         [__USE_BSD]: Likewise.
8594         * math/math.h [__USE_SVID]: Likewise.
8595         [__USE_BSD]: Likewise.
8596         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8597         * misc/bits/syslog.h [__USE_BSD]: Likewise.
8598         * misc/search.h [__USE_SVID]: Likewise.
8599         * misc/sys/mman.h [__USE_BSD]: Likewise.
8600         * misc/sys/syslog.h [__USE_BSD]: Likewise.
8601         * misc/sys/uio.h [__USE_BSD]: Likewise.
8602         * posix/bits/unistd.h [__USE_BSD]: Likewise.
8603         * posix/glob.h [__USE_BSD]: Likewise.
8604         * posix/regex.h [__USE_BSD]: Likewise.
8605         * posix/sys/types.h [__USE_BSD]: Likewise.
8606         [__USE_SVID]: Likewise.
8607         * posix/sys/utsname.h [__USE_SVID]: Likewise.
8608         * posix/sys/wait.h [__USE_BSD]: Likewise.
8609         [__USE_SVID]: Likewise.
8610         * posix/unistd.h [__USE_BSD]: Likewise.
8611         [__USE_SVID]: Likewise.
8612         * pwd/pwd.h [__USE_SVID]: Likewise.
8613         * resolv/netdb.h [__USE_BSD]: Likewise.
8614         * setjmp/setjmp.h [__USE_BSD]: Likewise.
8615         * signal/signal.h [__USE_BSD]: Likewise.
8616         [__USE_SVID]: Likewise.
8617         * socket/sys/socket.h [__USE_BSD]: Likewise.
8618         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8619         * stdlib/stdlib.h [__USE_BSD]: Likewise.
8620         [__USE_SVID]: Likewise.
8621         * string/bits/string2.h [__USE_BSD]: Likewise.
8622         [__USE_SVID]: Likewise.
8623         * string/bits/string3.h [__USE_BSD]: Likewise.
8624         * string/endian.h [__USE_BSD]: Likewise.
8625         * string/string.h [__USE_SVID]: Likewise.
8626         [__USE_BSD]: Likewise.
8627         * string/strings.h [__USE_BSD]: Likewise.
8628         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8629         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8630         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8631         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8632         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8633         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8634         Likewise.
8635         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8636         Likewise.
8637         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8638         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8639         Likewise.
8640         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8641         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8642         Likewise.
8643         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8644         Likewise.
8645         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8646         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8647         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8648         Likewise.
8649         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8650         Likewise.
8651         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8652         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8653         * termios/termios.h [__USE_BSD]: Likewise.
8654         * time/sys/time.h [__USE_BSD]: Likewise.
8655         * time/time.h [__USE_BSD]: Likewise.
8656         [__USE_SVID]: Likewise.
8657
8658         * Makefile (subdir_targets): Remove subdir_lint.out.
8659
8660         * stdio-common/Makefile (do-tst-unbputc): Remove target.
8661         (do-tst-printf): Likewise.
8662         (tests): Depend directly on $(objpfx)tst-unbputc.out and
8663         $(objpfx)tst-printf.out.
8664
8665         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8666
8667         * Makerules (check-abi-%): Change target to
8668         $(objpfx)check-abi-%.out.
8669         (check-abi target): Update dependencies.
8670         (check-abi-pattern variable): Redirect output of diff to $@.
8671         (check-abi variable): Likewise.
8672         * elf/Makefile (check-abi): Update dependencies.
8673
8674         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8675         unused.
8676         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8677         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8678         subnormal range.
8679         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8680         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8681         value has largest subnormal exponent.
8682         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8683         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8684         * sysdeps/aarch64/soft-fp/sfp-machine.h
8685         (_FP_TININESS_AFTER_ROUNDING): New macro.
8686         * sysdeps/alpha/soft-fp/sfp-machine.h
8687         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8688         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8689         Likewise.
8690         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8691         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8692         * sysdeps/mips/soft-fp/sfp-machine.h
8693         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8694         * sysdeps/powerpc/soft-fp/sfp-machine.h
8695         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8696         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8697         Likewise.
8698         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8699         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8700         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8701         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8702         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8703         Likewise.
8704
8705 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
8706
8707         [BZ #16545]
8708         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8709         model 1.
8710
8711 2014-02-12  Richard Henderson  <rth@redhat.com>
8712
8713         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8714         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8715         * sysdeps/unix/sysv/linux/alpha: Move directory from
8716         ports/sysdeps/unix/sysv/linux/alpha.
8717         * README: Update listing for alpha-*-linux-gnu.
8718
8719 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
8720
8721         * include/features.h: Update comment documenting feature test
8722         macros.
8723         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
8724         _DEFAULT_SOURCE.
8725         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8726         (_SVID_SOURCE): Likewise.
8727         (_DEFAULT_SOURCE): Update description of default features.
8728         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8729         with _GNU_SOURCE.
8730         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8731         (S_ISVTX): Likewise.
8732         * manual/math.texi (Mathematical Constants): Likewise.
8733         * manual/signal.texi (Interrupted Primitives): Likewise.
8734         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8735         * math/test-matherr.c (_SVID_SOURCE): Do not define.
8736         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8737         Don't refer to _SVID_SOURCE in warning text.
8738
8739         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8740
8741         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8742         already defined.
8743         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8744         * sysdeps/mips/dl-lookup.c: Remove.
8745         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8746
8747 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8748
8749         [BZ #16447]
8750         * math/auto-libm-test-in: Add testcase for expl.
8751         * math/auto-libm-test-out: Regenerate.
8752         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8753         calculation of unsafe.
8754         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8755
8756 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8757
8758         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8759         * sysdeps/unix/sysv/linux/aarch64: Move directory from
8760         ports/sysdeps/unix/sysv/linux/aarch64.
8761         * README: Update listing for aarch64*-*-linux-gnu.
8762
8763 2014-02-11  Will Newton  <will.newton@linaro.org>
8764
8765         * manual/probes.texi (Mathematical Function Probes): Use
8766         "triggered" instead of "hit".
8767
8768         * manual/probes.texi (Internal Probes): Add documentation
8769         of setjmp, longjmp and longjmp_target probes.
8770
8771         * include/stap-probe.h: Add comment about probe argument
8772         format.
8773
8774         * malloc/mtrace.c (attribute_hidden): Remove unused macro
8775         definition.  (tr_where, tr_freehook, tr_mallochook,
8776         tr_reallochook, tr_memalignhook): Use ANSI protoype.
8777
8778 2014-02-11  David S. Miller  <davem@davemloft.net>
8779
8780         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8781         processing int_tests.
8782
8783 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
8784
8785         * sysdeps/mips: Move directory from ports/sysdeps/mips.
8786         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8787         * sysdeps/unix/sysv/linux/mips: Move directory from
8788         ports/sysdeps/unix/sysv/linux/mips.
8789         * README: Update listing for mips-*-linux-gnu and
8790         mips64-*-linux-gnu.
8791
8792 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
8793
8794         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8795         * sysdeps/unix/sysv/linux/m68k: Move directory from
8796         ports/sysdeps/unix/sysv/linux/m68k.
8797         * README: Update listing for m68k-*-linux-gnu.
8798
8799 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
8800
8801         * sysdeps/tile: Move directory from ports/sysdeps/tile.
8802         * sysdeps/unix/sysv/linux/generic: Move directory from
8803         ports/sysdeps/unix/sysv/linux/generic.
8804         * sysdeps/unix/sysv/linux/tile: Move directory from
8805         ports/sysdeps/unix/sysv/linux/tile.
8806         * README: Update listing for tile*-*-linux-gnu.
8807
8808 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
8809
8810         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8811         __builtin_expect.
8812         * benchtests/bench-memmem.c (simple_memmem): Likewise.
8813         * catgets/open_catalog.c (__open_catalog): Likewise.
8814         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8815         * debug/confstr_chk.c: Likewise.
8816         * debug/fread_chk.c (__fread_chk): Likewise.
8817         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8818         * debug/getgroups_chk.c: Likewise.
8819         * debug/mbsnrtowcs_chk.c: Likewise.
8820         * debug/mbsrtowcs_chk.c: Likewise.
8821         * debug/mbstowcs_chk.c: Likewise.
8822         * debug/memcpy_chk.c: Likewise.
8823         * debug/memmove_chk.c: Likewise.
8824         * debug/mempcpy_chk.c: Likewise.
8825         * debug/memset_chk.c: Likewise.
8826         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8827         * debug/strcat_chk.c (__strcat_chk): Likewise.
8828         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8829         * debug/strncat_chk.c (__strncat_chk): Likewise.
8830         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8831         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8832         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8833         * debug/wcpncpy_chk.c: Likewise.
8834         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8835         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8836         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8837         * debug/wcsncpy_chk.c: Likewise.
8838         * debug/wcsnrtombs_chk.c: Likewise.
8839         * debug/wcsrtombs_chk.c: Likewise.
8840         * debug/wcstombs_chk.c: Likewise.
8841         * debug/wmemcpy_chk.c: Likewise.
8842         * debug/wmemmove_chk.c: Likewise.
8843         * debug/wmempcpy_chk.c: Likewise.
8844         * debug/wmemset_chk.c: Likewise.
8845         * dirent/scandirat.c (SCANDIRAT): Likewise.
8846         * dlfcn/dladdr1.c (dladdr1): Likewise.
8847         * dlfcn/dladdr.c (dladdr): Likewise.
8848         * dlfcn/dlclose.c (dlclose_doit): Likewise.
8849         * dlfcn/dlerror.c (__dlerror): Likewise.
8850         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8851         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8852         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8853         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8854         * dlfcn/dlsym.c (dlsym_doit): Likewise.
8855         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8856         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8857         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8858         Likewise.
8859         * elf/dl-conflict.c: Likewise.
8860         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8861         * elf/dl-dst.h: Likewise.
8862         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8863         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8864         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8865         * elf/dl-init.c (call_init, _dl_init): Likewise.
8866         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8867         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8868         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8869         Likewise.
8870         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8871         Likewise.
8872         * elf/dl-minimal.c (__libc_memalign): Likewise.
8873         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8874         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8875         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8876         * elf/dl-sym.c (do_sym): Likewise.
8877         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8878         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8879         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8880         * elf/dl-writev.h (_dl_writev): Likewise.
8881         * elf/ldconfig.c (search_dir): Likewise.
8882         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8883         (dl_main): Likewise.
8884         * elf/setup-vdso.h (setup_vdso): Likewise.
8885         * grp/compat-initgroups.c (compat_call): Likewise.
8886         * grp/fgetgrent.c (fgetgrent): Likewise.
8887         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8888         * grp/putgrent.c (putgrent): Likewise.
8889         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8890         Likewise.
8891         * hurd/hurdinit.c: Likewise.
8892         * iconvdata/8bit-gap.c (struct): Likewise.
8893         * iconvdata/ansi_x3.110.c : Likewise.
8894         * iconvdata/big5.c : Likewise.
8895         * iconvdata/big5hkscs.c : Likewise.
8896         * iconvdata/cp1255.c: Likewise.
8897         * iconvdata/cp1258.c : Likewise.
8898         * iconvdata/cp932.c : Likewise.
8899         * iconvdata/euc-cn.c: Likewise.
8900         * iconvdata/euc-jisx0213.c : Likewise.
8901         * iconvdata/euc-jp.c: Likewise.
8902         * iconvdata/euc-jp-ms.c : Likewise.
8903         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8904         * iconvdata/gb18030.c : Likewise.
8905         * iconvdata/gbbig5.c (const): Likewise.
8906         * iconvdata/gbgbk.c: Likewise.
8907         * iconvdata/gbk.c : Likewise.
8908         * iconvdata/ibm1364.c : Likewise.
8909         * iconvdata/ibm930.c : Likewise.
8910         * iconvdata/ibm932.c: Likewise.
8911         * iconvdata/ibm933.c : Likewise.
8912         * iconvdata/ibm935.c : Likewise.
8913         * iconvdata/ibm937.c : Likewise.
8914         * iconvdata/ibm939.c : Likewise.
8915         * iconvdata/ibm943.c: Likewise.
8916         * iconvdata/iso_11548-1.c: Likewise.
8917         * iconvdata/iso-2022-cn.c : Likewise.
8918         * iconvdata/iso-2022-cn-ext.c : Likewise.
8919         * iconvdata/iso-2022-jp-3.c: Likewise.
8920         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8921         * iconvdata/iso-2022-kr.c : Likewise.
8922         * iconvdata/iso646.c (gconv_end): Likewise.
8923         * iconvdata/iso_6937-2.c : Likewise.
8924         * iconvdata/iso_6937.c : Likewise.
8925         * iconvdata/iso8859-1.c: Likewise.
8926         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8927         * iconvdata/shift_jisx0213.c : Likewise.
8928         * iconvdata/sjis.c : Likewise.
8929         * iconvdata/t.61.c : Likewise.
8930         * iconvdata/tcvn5712-1.c : Likewise.
8931         * iconvdata/tscii.c: Likewise.
8932         * iconvdata/uhc.c : Likewise.
8933         * iconvdata/unicode.c (gconv_end): Likewise.
8934         * iconvdata/utf-16.c (gconv_end): Likewise.
8935         * iconvdata/utf-32.c (gconv_end): Likewise.
8936         * iconvdata/utf-7.c (base64): Likewise.
8937         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8938         * iconv/gconv_close.c (__gconv_close): Likewise.
8939         * iconv/gconv_open.c (__gconv_open): Likewise.
8940         * iconv/gconv_simple.c (internal_ucs4_loop_single)
8941         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8942         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8943         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8944         (ucs4le_internal_loop_single): Likewise.
8945         * iconv/iconv.c (iconv): Likewise.
8946         * iconv/iconv_close.c: Likewise.
8947         * iconv/loop.c (SINGLE): Likewise.
8948         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8949         * include/atomic.h: Likewise.
8950         * inet/inet6_option.c (option_alloc): Likewise.
8951         * intl/bindtextdom.c (set_binding_values): Likewise.
8952         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8953         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8954         * intl/localealias.c (read_alias_file): Likewise.
8955         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8956         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8957         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8958         * libio/fmemopen.c (fmemopen): Likewise.
8959         * libio/iofgets.c (_IO_fgets): Likewise.
8960         * libio/iofgets_u.c (fgets_unlocked): Likewise.
8961         * libio/iofgetws.c (fgetws): Likewise.
8962         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8963         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8964         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8965         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8966         * locale/findlocale.c (_nl_find_locale): Likewise.
8967         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8968         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8969         Likewise.
8970         * locale/setlocale.c (setlocale): Likewise.
8971         * login/programs/pt_chown.c (main): Likewise.
8972         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8973         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8974         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8975         (mmap, mmap64, mremap, munmap): Likewise.
8976         * math/e_exp2l.c: Likewise.
8977         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8978         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8979         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8980         * math/s_catan.c (__catan): Likewise.
8981         * math/s_catanf.c (__catanf): Likewise.
8982         * math/s_catanh.c (__catanh): Likewise.
8983         * math/s_catanhf.c (__catanhf): Likewise.
8984         * math/s_catanhl.c (__catanhl): Likewise.
8985         * math/s_catanl.c (__catanl): Likewise.
8986         * math/s_ccosh.c (__ccosh): Likewise.
8987         * math/s_ccoshf.c (__ccoshf): Likewise.
8988         * math/s_ccoshl.c (__ccoshl): Likewise.
8989         * math/s_cexp.c (__cexp): Likewise.
8990         * math/s_cexpf.c (__cexpf): Likewise.
8991         * math/s_cexpl.c (__cexpl): Likewise.
8992         * math/s_clog10.c (__clog10): Likewise.
8993         * math/s_clog10f.c (__clog10f): Likewise.
8994         * math/s_clog10l.c (__clog10l): Likewise.
8995         * math/s_clog.c (__clog): Likewise.
8996         * math/s_clogf.c (__clogf): Likewise.
8997         * math/s_clogl.c (__clogl): Likewise.
8998         * math/s_csin.c (__csin): Likewise.
8999         * math/s_csinf.c (__csinf): Likewise.
9000         * math/s_csinh.c (__csinh): Likewise.
9001         * math/s_csinhf.c (__csinhf): Likewise.
9002         * math/s_csinhl.c (__csinhl): Likewise.
9003         * math/s_csinl.c (__csinl): Likewise.
9004         * math/s_csqrt.c (__csqrt): Likewise.
9005         * math/s_csqrtf.c (__csqrtf): Likewise.
9006         * math/s_csqrtl.c (__csqrtl): Likewise.
9007         * math/s_ctan.c (__ctan): Likewise.
9008         * math/s_ctanf.c (__ctanf): Likewise.
9009         * math/s_ctanh.c (__ctanh): Likewise.
9010         * math/s_ctanhf.c (__ctanhf): Likewise.
9011         * math/s_ctanhl.c (__ctanhl): Likewise.
9012         * math/s_ctanl.c (__ctanl): Likewise.
9013         * math/w_pow.c: Likewise.
9014         * math/w_powf.c: Likewise.
9015         * math/w_powl.c: Likewise.
9016         * math/w_scalb.c (sysv_scalb): Likewise.
9017         * math/w_scalbf.c (sysv_scalbf): Likewise.
9018         * math/w_scalbl.c (sysv_scalbl): Likewise.
9019         * misc/error.c (error_tail): Likewise.
9020         * misc/pselect.c (__pselect): Likewise.
9021         * nis/nis_callback.c (__nis_create_callback): Likewise.
9022         * nis/nis_call.c (__nisfind_server): Likewise.
9023         * nis/nis_creategroup.c (nis_creategroup): Likewise.
9024         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9025         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9026         * nis/nis_getservlist.c (nis_getservlist): Likewise.
9027         * nis/nis_lookup.c (nis_lookup): Likewise.
9028         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9029         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9030         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9031         * nis/nis_xdr.c (xdr_endpoint): Likewise.
9032         * nis/nss_compat/compat-grp.c (getgrent_next_file)
9033         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9034         * nis/nss_compat/compat-initgroups.c (add_group)
9035         (internal_getgrent_r): Likewise.
9036         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9037         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9038         * nis/nss_compat/compat-spwd.c (getspent_next_file)
9039         (internal_getspnam_r): Likewise.
9040         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9041         (_nss_nis_getaliasbyname_r): Likewise.
9042         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9043         (_nss_nis_getntohost_r): Likewise.
9044         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9045         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9046         (_nss_nis_getgrgid_r): Likewise.
9047         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9048         (internal_nis_gethostent_r, internal_gethostbyname2_r)
9049         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9050         (_nss_nis_gethostbyname4_r): Likewise.
9051         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9052         (initgroups_netid): Likewise.
9053         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9054         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9055         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9056         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9057         (_nss_nis_getprotobynumber_r): Likewise.
9058         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9059         (_nss_nis_getsecretkey): Likewise.
9060         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9061         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9062         (_nss_nis_getpwuid_r): Likewise.
9063         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9064         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9065         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9066         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9067         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9068         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9069         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9070         Likewise.
9071         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9072         (_nss_nisplus_getntohost_r): Likewise.
9073         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9074         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9075         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9076         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9077         Likewise.
9078         * nis/nss_nisplus/nisplus-initgroups.c
9079         (_nss_nisplus_initgroups_dyn): Likewise.
9080         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9081         (_nss_nisplus_getnetbyaddr_r): Likewise.
9082         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9083         (_nss_nisplus_getprotobynumber_r): Likewise.
9084         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9085         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9086         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9087         Likewise.
9088         * nis/nss_nisplus/nisplus-service.c
9089         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9090         (_nss_nisplus_getservbyport_r): Likewise.
9091         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9092         (_nss_nisplus_getspnam_r): Likewise.
9093         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9094         Likewise.
9095         * nscd/aicache.c (addhstaiX): Likewise.
9096         * nscd/cache.c (cache_search, prune_cache): Likewise.
9097         * nscd/connections.c (register_traced_file, send_ro_fd)
9098         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9099         (main_loop_epoll): Likewise.
9100         * nscd/grpcache.c (addgrbyX): Likewise.
9101         * nscd/hstcache.c (addhstbyX): Likewise.
9102         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9103         * nscd/mem.c (gc, mempool_alloc): Likewise.
9104         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9105         (addinnetgrX): Likewise.
9106         * nscd/nscd-client.h (__nscd_acquire_maplock)
9107         (__nscd_drop_map_ref): Likewise.
9108         * nscd/nscd_getai.c (__nscd_getai): Likewise.
9109         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9110         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9111         Likewise.
9112         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9113         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9114         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9115         (__nscd_get_map_ref): Likewise.
9116         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9117         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9118         Likewise.
9119         * nscd/pwdcache.c (addpwbyX): Likewise.
9120         * nscd/selinux.c (preserve_capabilities): Likewise.
9121         * nscd/servicescache.c (addservbyX): Likewise.
9122         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9123         * posix/fnmatch.c (fnmatch): Likewise.
9124         * posix/getopt.c (_getopt_internal_r): Likewise.
9125         * posix/glob.c (glob, glob_in_dir): Likewise.
9126         * posix/wordexp.c (exec_comm_child): Likewise.
9127         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9128         (getanswer_r, gaih_getanswer_slice): Likewise.
9129         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9130         * resolv/res_init.c: Likewise.
9131         * resolv/res_mkquery.c (res_nmkquery): Likewise.
9132         * resolv/res_query.c (__libc_res_nquery): Likewise.
9133         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9134         Likewise.
9135         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9136         * stdio-common/perror.c (perror): Likewise.
9137         * stdio-common/printf_fp.c (___printf_fp): Likewise.
9138         * stdio-common/tmpnam.c (tmpnam): Likewise.
9139         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9140         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9141         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9142         Likewise.
9143         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9144         * stdlib/putenv.c (putenv): Likewise.
9145         * stdlib/setenv.c (__add_to_environ): Likewise.
9146         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9147         * stdlib/strtol_l.c (INTERNAL): Likewise.
9148         * string/memmem.c (memmem): Likewise.
9149         * string/strerror.c (strerror): Likewise.
9150         * string/strnlen.c (__strnlen): Likewise.
9151         * string/test-memmem.c (simple_memmem): Likewise.
9152         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9153         * sunrpc/pm_getport.c (__get_socket): Likewise.
9154         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9155         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9156         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9157         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9158         Likewise.
9159         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9160         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9161         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9162         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9163         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9164         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9165         Likewise.
9166         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9167         Likewise.
9168         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9169         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9170         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9171         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9172         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9173         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9174         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9175         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9176         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9177         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9178         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9179         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9180         Likewise.
9181         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9182         Likewise.
9183         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9184         Likewise.
9185         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9186         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9187         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9188         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9189         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9190         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9191         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9192         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9193         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9194         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9195         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9196         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9197         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9198         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9199         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9200         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9201         Likewise.
9202         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9203         Likewise.
9204         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9205         Likewise.
9206         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9207         Likewise.
9208         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9209         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9210         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9211         Likewise.
9212         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9213         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9214         * sysdeps/posix/opendir.c (__opendirat): Likewise.
9215         * sysdeps/posix/sleep.c: Likewise.
9216         * sysdeps/posix/tempname.c: Likewise.
9217         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9218         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9219         Likewise.
9220         * sysdeps/powerpc/powerpc32/dl-machine.h
9221         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9222         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9223         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9224         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9225         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9226         Likewise.
9227         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9228         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9229         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9230         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9231         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9232         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9233         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9234         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9235         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9236         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9237         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9238         (elf_machine_lazy_rel): Likewise.
9239         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9240         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9241         (elf_machine_lazy_rel): Likewise.
9242         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9243         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9244         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9245         * sysdeps/unix/grantpt.c (grantpt): Likewise.
9246         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9247         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9248         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9249         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9250         Likewise.
9251         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9252         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9253         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9254         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9255         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9256         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9257         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9258         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9259         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9260         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9261         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9262         Likewise.
9263         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9264         (__posix_fallocate64_l64): Likewise.
9265         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9266         (posix_fallocate): Likewise.
9267         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9268         Likewise.
9269         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9270         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9271         (getifaddrs_internal): Likewise.
9272         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9273         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9274         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9275         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9276         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9277         (__posix_fallocate64_l64): Likewise.
9278         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9279         Likewise.
9280         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9281         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9282         (__get_clockfreq): Likewise.
9283         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9284         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9285         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9286         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9287         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9288         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9289         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9290         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9291         Likewise.
9292         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9293         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9294         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9295         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9296         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9297         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9298         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9299         Likewise.
9300         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9301         (posix_fallocate): Likewise.
9302         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9303         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9304         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9305         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9306         (elf_machine_rela, elf_machine_rela_relative)
9307         (elf_machine_lazy_rel): Likewise.
9308         * time/asctime.c (asctime_internal): Likewise.
9309         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9310         * time/tzset.c (__tzset_parse_tz): Likewise.
9311         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9312         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9313         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9314         * wcsmbs/wcsmbsload.h: Likewise.
9315
9316         [BZ #15894]
9317         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9318
9319         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9320         (arena_get2): Remove THREAD_STATS conditionals.
9321         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9322         (__malloc_stats, int): Likewise.
9323
9324 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9325
9326         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9327         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9328
9329         * manual/setjmp.texi: Fix typos/grammar errors.
9330
9331         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9332         Only return early when n is <= 0.  Delete unused return statement.
9333
9334         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9335         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9336         * debug/tst-longjmp_chk3.c: New file.
9337
9338         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9339         (test_main): Replace code with set_fortify_handler call.
9340         * debug/test-strcpy_chk.c: Likewise.
9341         * debug/tst-chk1.c: Likewise.
9342         * debug/tst-longjmp_chk.c: Likewise.
9343         * test-skeleton.c: Include fcntl.h & paths.h
9344         (set_fortify_handler): Define.
9345
9346         * debug/tst-longjmp_chk.c: Add header comment and include
9347         ../test-skeleton.c.
9348         (do_test): Mark static.
9349         (TEST_FUNCTION): Define.
9350
9351         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9352         (IP_PMTUDISC_INTERFACE): Likewise.
9353         (IP_MULTICAST_IF): Likewise.
9354         (IP_MULTICAST_TTL): Likewise.
9355         (IP_MULTICAST_LOOP): Likewise.
9356         (IP_ADD_MEMBERSHIP): Likewise.
9357         (IP_DROP_MEMBERSHIP): Likewise.
9358         (IP_UNBLOCK_SOURCE): Likewise.
9359         (IP_BLOCK_SOURCE): Likewise.
9360         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9361         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9362         (IP_MSFILTER): Likewise.
9363         (MCAST_JOIN_GROUP): Likewise.
9364         (MCAST_BLOCK_SOURCE): Likewise.
9365         (MCAST_UNBLOCK_SOURCE): Likewise.
9366         (MCAST_LEAVE_GROUP): Likewise.
9367         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9368         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9369         (MCAST_MSFILTER): Likewise.
9370         (IP_MULTICAST_ALL): Likewise.
9371         (IP_UNICAST_IF): Likewise.
9372
9373         * timezone/Makefile: Delete $(have-ksh) check.
9374         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9375         * timezone/tzselect.ksh: Add +x mode bits.
9376
9377         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9378         (ANON_INODE_FS_MAGIC): Likewise.
9379         (BDEVFS_MAGIC): Likewise.
9380         (BINFMTFS_MAGIC): Likewise.
9381         (BTRFS_TEST_MAGIC): Likewise.
9382         (CRAMFS_MAGIC_WEND): Likewise.
9383         (DEBUGFS_MAGIC): Likewise.
9384         (ECRYPTFS_SUPER_MAGIC): Likewise.
9385         (EXT3_SUPER_MAGIC): Likewise.
9386         (EXT4_SUPER_MAGIC): Likewise.
9387         (FUTEXFS_SUPER_MAGIC): Likewise.
9388         (HOSTFS_SUPER_MAGIC): Likewise.
9389         (HUGETLBFS_MAGIC): Likewise.
9390         (MINIX3_SUPER_MAGIC): Likewise.
9391         (MTD_INODE_FS_MAGIC): Likewise.
9392         (NILFS_SUPER_MAGIC): Likewise.
9393         (OPENPROM_SUPER_MAGIC): Likewise.
9394         (PIPEFS_MAGIC): Likewise.
9395         (PSTOREFS_MAGIC): Likewise.
9396         (QNX6_SUPER_MAGIC): Likewise.
9397         (RAMFS_MAGIC): Likewise.
9398         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9399         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9400         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9401         (SECURITYFS_MAGIC): Likewise.
9402         (SELINUX_MAGIC): Likewise.
9403         (SMACK_MAGIC): Likewise.
9404         (SOCKFS_MAGIC): Likewise.
9405         (SQUASHFS_MAGIC): Likewise.
9406         (STACK_END_MAGIC): Likewise.
9407         (TMPFS_MAGIC): Likewise.
9408         (USBDEVICE_SUPER_MAGIC): Likewise.
9409         (V9FS_MAGIC): Likewise.
9410         (XENFS_SUPER_MAGIC): Likewise.
9411         (CRAMFS_MAGIC): Fix typo in comment.
9412         (EXT2_SUPER_MAGIC): Update comment.
9413         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9414
9415 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
9416
9417         * sysdeps/arm: Move directory from ports/sysdeps/arm.
9418         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9419         * sysdeps/unix/sysv/linux/arm: Move directory from
9420         ports/sysdeps/unix/sysv/linux/arm.
9421         * README: Update listing for arm-*-linux-gnueabi.
9422
9423         * README: Remove mention of am33.
9424
9425 2014-02-07  Roland McGrath  <roland@hack.frob.com>
9426
9427         * bits/sigset.h (__sigemptyset): Use a statement expression rather
9428         than the comma operator, to avoid "rhs of comma has no effect"
9429         compiler warnings.
9430         (__sigfillset, __sigandset, __sigorset): Likewise.
9431         * include/signal.h (__sigemptyset): Likewise.
9432         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9433
9434 2014-02-07  Allan McRae  <allan@archlinux.org>
9435
9436         * version.h (RELEASE): Set to "development".
9437         (VERSION): Set to "2.19.90"
9438         * NEWS: Add 2.20 section.
9439
9440 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
9441
9442         [BZ #16529]
9443         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9444
9445 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9446
9447         * manual/contrib.texi: Update entry for Carlos O'Donell,
9448         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9449
9450 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
9451
9452         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9453
9454         * sysdeps/unix/sysv/linux/kernel-features.h
9455         [__LINUX_KERNEL_VERSION >= 0x020621]
9456         (__ASSUME_PROC_PID_TASK_COMM): Define.
9457
9458 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9459
9460         [BZ #16398]
9461         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9462         conversion when destination buffer does not have enough space.
9463         * libio/tst-ftell-partial-wide.c: New test case.
9464         * libio/Makefile (tests): Add tst-ftell-partial-wide.
9465
9466         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9467         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
9468         Leonard and Allan McRae.
9469
9470 2014-02-04  David S. Miller  <davem@davemloft.net>
9471
9472         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9473         32-bit.
9474
9475 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9476
9477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9478         New file
9479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9480         New file
9481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9482         New file.
9483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9484         New file.
9485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9486         New file.
9487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9488         New file.
9489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9490         New file.
9491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9492         New file.
9493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9494         New file.
9495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9496         New file.
9497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9498         New file.
9499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9500         New file.
9501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9502         New file.
9503
9504 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9505
9506         * nptl/shlib-versions: Change powerpc*le start to 2.17.
9507         * shlib-versions: Likewise.
9508
9509 2014-02-04  Roland McGrath  <roland@hack.frob.com>
9510             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9511
9512         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9513         (abilist-pattern): New variable, set to %-le.abilist.
9514
9515         * Makerules (abilist-pattern): New variable.
9516         (vpath): Use $(abilist-pattern) in place of %.abilist.
9517         (check-abi-% pattern rule): Likewise.
9518         (check-abi, update-abi): Likewise.
9519
9520 2014-02-04  Eric Wong  <normalperson@yhbt.net>
9521
9522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9523
9524 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
9525
9526         * manual/startup.texi: Add next, previous, and top entries for
9527         the `Program Arguments' and `Environment Variables' nodes.
9528
9529 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
9530
9531         * manual/macros.texi: Add comments before MTASC-safety macros.
9532
9533         * manual/users.texi: Document MTASC-safety properties.
9534
9535         * manual/threads.texi (pthread_key_create, pthread_key_delete)
9536         (pthread_getspecific, pthread_setspecific): Format with
9537         @deftypefun, and add @safety note.
9538         * manual/signal.texi: Move comments that analyze the above
9539         functions to their home place.
9540
9541 2014-02-03  Allan McRae  <allan@archlinux.org>
9542
9543         * po/sl.po: Update Slovenian translation from translation project.
9544
9545 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
9546
9547         * manual/time.texi (timegm): Add missing blank after @c.
9548         Reported by Joseph Myers <joseph@codesourcery.com>.
9549
9550 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
9551
9552         * manual/check-safety.sh: New.
9553         * manual/Makefile ($(objpfx)stamp-summary): Run it.
9554
9555         * manual/terminal.texi: Document MTASC-safety properties.
9556
9557         * manual/filesys.texi: Document MTASC-safety properties.
9558
9559         * manual/errno.texi: Document MTASC-safety properties.
9560
9561         * manual/intro.texi: Document safety identifiers and
9562         conditionals.
9563
9564         * manual/string.texi (wcstok): Fix prototype.
9565         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9566
9567         * manual/time.texi: Document MTASC-safety properties.
9568
9569         * manual/string.texi: Document MTASC-safety properties.
9570
9571         * manual/threads.texi: Document MTASC-safety properties.
9572
9573         * manual/stdio.texi: Document MTASC-safety properties.
9574
9575         * manual/syslog.texi: Document MTASC-safety properties.
9576
9577         * manual/sysinfo.texi: Document MTASC-safety properties.
9578
9579         * manual/startup.texi: Document MTASC-safety properties.
9580
9581         * manual/socket.texi: Document MTASC-safety properties.
9582
9583         * manual/signal.texi: Document MTASC-safety properties.
9584
9585 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
9586
9587         * manual/setjmp.texi: Document MTASC-safety properties.
9588
9589         * manual/search.texi: Document MTASC-safety properties.
9590
9591         * manual/resource.texi: Document MTASC-safety properties.
9592
9593         * manual/process.texi: Document MTASC-safety properties.
9594
9595         * manual/platform.texi: Document MTASC-safety properties.
9596
9597         * manual/pipe.texi: Document MTASC-safety properties.
9598
9599         * manual/pattern.texi: Document MTASC-safety properties.
9600
9601         * manual/message.texi: Document MTASC-safety properties.
9602
9603         [BZ #12751]
9604         * manual/memory.texi: Document MTASC-safety properties.
9605
9606         * manual/math.texi: Document MTASC-safety properties.
9607
9608         * manual/locale.texi: Document MTASC-safety properties.
9609
9610         * manual/llio.texi: Document MTASC-safety properties.
9611
9612         * manual/libdl.texi: New.
9613
9614         * manual/lang.texi: Document MTASC-safety properties.
9615
9616         * manual/job.texi: Document MTASC-safety properties.
9617
9618         * manual/getopt.texi: Document MTASC-safety properties.
9619
9620         * manual/ctype.texi: Document MTASC-safety properties.
9621
9622 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
9623
9624         [BZ #16046]
9625         * csu/libc-tls.c (static_map): Remove variable.
9626         (__libc_setup_tls): Use main executable's link map for TLS data.
9627         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9628         casing for LM_ID_BASE and GL(dl_nns).
9629         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9630         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
9631         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9632         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9633         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9634         member.
9635         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9636         l_phnum members.
9637
9638 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
9639
9640         * manual/debug.texi: Document MTASC-safety properties.
9641
9642 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
9643
9644         [BZ #16510]
9645         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9646         of __x86_64__ when disabling x87 inline functions.
9647
9648 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
9649
9650         * manual/charset.texi: Document MTASC-safety properties.
9651
9652         * manual/crypt.texi: Document MTASC-safety properties.
9653
9654         * manual/conf.texi: Document MTASC-safety properties.
9655
9656         * manual/arith.texi: Document MTASC-safety properties.
9657
9658         * manual/argp.texi: Document MTASC-safety properties.
9659
9660         * manual/macros.texi: Introduce macros to document multi
9661         thread, asynchronous signal and asynchronous cancellation
9662         safety properties.
9663         * manual/intro.texi: Introduce the properties themselves.
9664
9665 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9666
9667         * sysdeps/sh/sh4/Makefile: New file.
9668
9669 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
9670
9671         * math/gen-libm-test.pl ($srcdir): New variable.
9672         ($auto_input): Use it.
9673
9674 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9675
9676         [BZ #16506]
9677         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9678         access beyond array bounds when parsing netgroups file.
9679
9680         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9681         the old buffer before realloc.
9682
9683 2014-01-27  Allan McRae  <allan@archlinux.org>
9684
9685         * po/fr.po: Update French translation from translation project.
9686
9687 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9688
9689         * sysdeps/sh/libm-test-ulps: Regenerate.
9690
9691 2014-01-24  David S. Miller  <davem@davemloft.net>
9692
9693         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9694
9695 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9696
9697         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9698         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9699
9700 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9701
9702         [BZ #16474]
9703         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9704         string pointers after reallocation.
9705
9706 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9707
9708         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9709         __SH4A__ instead of __SH_FPU_ANY__.
9710
9711 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9712
9713         * sysdeps/sh/fpu_control.h: New file.
9714         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9715         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9716         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9717         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9718         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9719         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9720         * sysdeps/sh/sys/ucontext.h: Remove.
9721         * sysdeps/sh/sys: Remove directory.
9722
9723 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9724
9725         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9726         s390/sys/ucontext.h.
9727         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9728         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9729
9730 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
9731
9732         [BZ #15605]
9733         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9734
9735 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9736
9737         [BZ#16431]
9738         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9739         Adjust the vDSO correctly for internal calls.
9740         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9741
9742 2014-01-20  Allan McRae  <allan@archlinux.org>
9743
9744         * po/ca.po: Update Catalan translation from translation project.
9745
9746 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
9747
9748         * sysdeps/s390/sotruss-lib.c: New file.
9749
9750 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9751
9752         [BZ#16430]
9753         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9754         (__GI___gettimeofday): Alias for a different internal symbol to avoid
9755         local calls issues by not having a PLT stub required for IFUNC calls.
9756         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9757
9758 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
9759
9760         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9761         * math/test-fpucw-static.c: Likewise.
9762
9763 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9764
9765         [BZ #16453]
9766         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9767
9768 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9769
9770         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9771         implementation for powerpc.
9772
9773 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
9774
9775         [BZ #14782]
9776         * sysdeps/posix/system.c (__libc_system): Do not enable
9777         asynchronous cancellation.
9778
9779 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9780
9781         [BZ #16427]
9782         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9783         handling only for numbers special also in the IEEE case.
9784
9785 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9786
9787         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9788
9789 2014-01-11  Allan McRae  <allan@archlinux.org>
9790
9791         * po/bg.po: Update Bulgarian translation from translation project.
9792
9793         * po/de.po: Update German translation from translation project.
9794
9795 2014-01-10  Roland McGrath  <roland@hack.frob.com>
9796
9797         * sysdeps/generic/gcc-compat.h: New file.
9798
9799 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9800
9801         * benchtests/asin-inputs: Correct slow inputs.
9802         * benchtests/acos-inputs: Likewise.
9803
9804 2014-01-10  Allan McRae  <allan@archlinux.org>
9805
9806         * po:sv.po: Update Swedish translation from translation project.
9807
9808         * po/vi.po: Update Vietnamese translation from translation project.
9809
9810         * po/eo.po: Update Esperanto translation from translation project.
9811
9812         * po/cs.po: Update Czech translation from translation project.
9813
9814         * po/nl.po: Update Dutch translation from translation project.
9815
9816         * po/pl.po: Update Polish translation from translation project.
9817
9818         * po/ru.po: Update Russian translation from translation project.
9819
9820         * po/uk.po: Update Ukrainian translation from translation project.
9821
9822 2014-01-08  Brooks Moses  <bmoses@google.com>
9823
9824         * elf/dl-load.c: Fix comment typo.
9825
9826 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
9827
9828         * po/header.pot: Rename to...
9829         * po/pot.header: ... this.
9830         * po/Makefile: Use pot.header.
9831
9832 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
9833             Maxim Kuvyrkov  <maxim@kugelworks.com>
9834
9835         [BZ #16394]
9836         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9837         SRC and DEST against LEN.
9838
9839 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9840
9841         [BZ #16414]
9842         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9843         implementation.
9844         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9845
9846 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9847
9848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9849
9850 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
9851
9852         [BZ #16408]
9853         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9854         for large positive arguments.
9855
9856 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
9857
9858         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9859
9860         * math/auto-libm-test-in: Mark various tests with
9861         xfail-rounding:ldbl-128ibm.
9862         * math/auto-libm-test-out: Regenerated.
9863
9864         [BZ #16407]
9865         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9866         Increase overflow threshold.
9867
9868 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
9869
9870         [BZ #14286]
9871         * stdio-common/vfprintf.c: Check for integer overflow.
9872
9873 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9874
9875         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9876         the first argument and return value of __tls_get_addr_internal.
9877
9878 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9879
9880         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9881         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9882
9883 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9884
9885         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9886         * sysdeps/s390/rtld-global-offsets.sym: New file.
9887         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9888         GLIBC_2.19 symbol.
9889         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9890         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9891         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9892         ... this.
9893         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9894         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9895         ... this.
9896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9897         Regenerate.
9898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9899         Regenerate.
9900         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9901         halfs of GPRs for high_gprs contexts.
9902         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9903         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
9904         field.
9905         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9906         uc_flags field.
9907         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9908         64 bit versions:
9909         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9910         for high GPRs (uc_high_gprs) and for future extensions
9911         (__reserved).
9912         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9913         for future extensions (__reserved).
9914         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9915         64 bit versions:
9916         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9917         SC_HIGHGPRS offset definition.
9918         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9919         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9920
9921         * Versions.def: Add GLIBC_2.19 for libpthread.
9922         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9923         siglongjmp for libpthread with GLIBC_2.19 symver.
9924         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9925         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9926         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9927         * sysdeps/s390/__longjmp.c: New file.
9928         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9929         * sysdeps/s390/longjmp.c: New file.
9930         * sysdeps/s390/setjmp.S: New file.
9931         * sysdeps/s390/sigjmp.S: New file.
9932         * sysdeps/s390/v1-longjmp.c: New file.
9933         * sysdeps/s390/v1-setjmp.h: New file.
9934         * sysdeps/s390/v1-sigjmp.c: New file.
9935         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9936         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9937         GLIBC_2.19 version.
9938         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9939         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9940         versioned symbols for ____longjmp_chk.
9941         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9942         Likewise.
9943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9944         Regenerate.
9945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9946         Regenerate.
9947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9948         Regenerate.
9949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9950         Regenerate.
9951         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9952         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9953         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9954         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9955         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9956         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9957         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9958         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9959         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9960         * sysdeps/s390/rtld-__longjmp.c: New file.
9961         * sysdeps/s390/rtld-setjmp.S: New file.
9962
9963 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
9964
9965         [BZ #16400]
9966         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9967         Return -__logl (x) for small positive arguments without evaluating
9968         a polynomial.
9969
9970 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
9971
9972         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9973         Rename to ...
9974         (__ptrace_peeksiginfo_args): ... this.
9975         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9976         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9977         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9978
9979 2014-01-06  Allan McRae  <allan@archlinux.org>
9980
9981         * inet/netinet/in.h: Fix typo in comment.
9982
9983 2014-01-05  Andreas Jaeger  <aj@suse.de>
9984
9985         * sysdeps/i386/fpu/libm-test-ulps: Update.
9986
9987 2014-01-05  Allan McRae  <allan@archlinux.org>
9988
9989         * po/libc.pot: Regenerated.
9990
9991         * malloc/memusagestat.c: Fix gettext call formatting.
9992
9993 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
9994
9995         * nscd/nscd.c: Improve usage() output.
9996
9997 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
9998
9999         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10000         * sysdeps/unix/sysv/linux/configure: Regenerated.
10001         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10002         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10003
10004 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10005
10006         [BZ #16390]
10007         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10008         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10009
10010 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10011
10012         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10013         extra tokens at end of #undef directive.
10014         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10015         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10016         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10017
10018 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10019
10020         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10021
10022         * math/auto-libm-test-in: Mark various tests with
10023         xfail-rounding:ldbl-128ibm.
10024         * math/auto-libm-test-out: Regenerated.
10025
10026 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
10027
10028         [BZ #16386]
10029         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10030         numbers with subnormal high part when calculating exponent.
10031
10032         [BZ #16385]
10033         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10034         fabs.
10035
10036         [BZ #16384]
10037         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10038         M_LN2l.
10039         (__ieee754_acoshl): Use __log1pl not __log1p.
10040
10041 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
10042
10043         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10044         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10045         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10046         (grow_heap, heap_trim, _int_new_arena, get_free_list)
10047         (reused_arena, arena_get2): Convert to GNU style.
10048         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10049         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10050         (memalign_check, __malloc_set_state): Likewise.
10051         * malloc/mallocbug.c (main): Likewise.
10052         * malloc/malloc.c (__malloc_assert, malloc_init_state)
10053         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10054         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10055         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10056         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10057         (__posix_memalign, malloc_info): Likewise.
10058         * malloc/malloc.h: Likewise.
10059         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10060         (mallochook, memalignhook, reallochook, mabort): Likewise.
10061         * malloc/mcheck.h: Likewise.
10062         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10063         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10064         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10065         * malloc/morecore.c (__default_morecore): Likewise.
10066         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10067         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10068         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10069         (print_and_abort): Likewise.
10070         * malloc/obstack.h: Likewise.
10071         * malloc/set-freeres.c (__libc_freeres): Likewise.
10072         * malloc/tst-mallocstate.c (main): Likewise.
10073         * malloc/tst-mtrace.c (main): Likewise.
10074         * malloc/tst-realloc.c (do_test): Likewise.
10075
10076 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10077
10078         [BZ #16366]
10079         * nscd/netgroupcache.c (do_notfound): New function.
10080         (addgetnetgrentX): Use it.
10081
10082         [BZ # 16365]
10083         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10084         NSS_STATUS_NOTFOUND.
10085
10086 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
10087
10088         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10090
10091 2014-01-01  Allan McRae  <allan@archlinux.org>
10092
10093         * scripts/update-copyrights: Update configure input file suffix.
10094
10095         * NEWS: Update copyright year.
10096         * catgets/gencat.c: Likewise.
10097         * csu/version.c: Likewise.
10098         * debug/catchsegv.sh: Likewise.
10099         * debug/pcprofiledump.c: Likewise.
10100         * debug/xtrace.sh: Likewise.
10101         * elf/ldconfig.c: Likewise.
10102         * elf/ldd.bash.in: Likewise.
10103         * elf/pldd.c: Likewise.
10104         * elf/sotruss.ksh: Likewise.
10105         * elf/sprof.c: Likewise.
10106         * iconv/iconv_prog.c: Likewise.
10107         * iconv/iconvconfig.c: Likewise.
10108         * locale/programs/locale.c: Likewise.
10109         * locale/programs/localedef.c: Likewise.
10110         * login/programs/pt_chown.c: Likewise.
10111         * malloc/memusage.sh: Likewise.
10112         * malloc/memusagestat.c: Likewise.
10113         * malloc/mtrace.pl: Likewise.
10114         * manual/libc.texinfo: Likewise.
10115         * nscd/nscd.c: Likewise.
10116         * nss/getent.c: Likewise.
10117         * nss/makedb.c: Likewise.
10118         * posix/getconf.c: Likewise.
10119         * scripts/test-installation.pl: Likewise.
10120
10121         * All files with FSF copyright notices: Update copyright dates
10122         using scripts/update-copyrights.
10123         * intl/plural.c: Regenerated.
10124         * locale/programs/charmap-kw.h: Likewise.
10125         * locale/programs/locfile-kw.h: Likewise.
10126
10127 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
10128
10129         * sysdeps/unix/sysv/linux/configure: Regenerated.
10130         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10131         the linux/fanotify.h header.
10132         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10133         HAVE_LINUX_FANOTIFY_H is defined.
10134
10135 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10136
10137         * benchtests/cos-inputs: New inputs.
10138         * benchtests/sin-inputs: Likewise.
10139
10140         * benchtests/atan-inputs: New inputs. Fix name of multiple
10141         precision fallback inputs.
10142
10143         * benchtests/atanh-inputs: New inputs.
10144         * benchtests/tanh-inputs: Likewise.
10145
10146         * benchtests/acosh-inputs: New inputs.
10147         * benchtests/asinh-inputs: Likewise.
10148
10149         * benchtests/cosh-inputs: New inputs.
10150         * benchtests/sinh-inputs: Likewise.
10151
10152         * benchtests/acos-inputs: Add more inputs.
10153         * benchtests/asin-inputs: Likewise.
10154
10155 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
10156
10157         [BZ #16375]
10158         * manual/arith.texi: Fix spelling.
10159         * manual/charset.texi: Likewise.
10160         * manual/errno.texi: Likewise.
10161         * manual/filesys.texi: Likewise.
10162         * manual/lang.texi: Likewise.
10163         * manual/llio.texi: Likewise.
10164         * manual/locale.texi: Likewise.
10165         * manual/message.texi: Likewise.
10166         * manual/resource.texi: Likewise.
10167         * manual/search.texi: Likewise.
10168         * manual/setjmp.texi: Likewise.
10169         * manual/stdio.texi: Likewise.
10170         * manual/string.texi: Likewise.
10171         * manual/sysinfo.texi: Likewise.
10172         * manual/time.texi: Likewise.
10173
10174 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
10175
10176         * po/sl.po: New file.
10177
10178 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
10179
10180         * .gitignore: Add core/.gdbinit/.gdb_history.
10181
10182 2013-12-27  Allan McRae  <allan@archlinux.org>
10183
10184         [BZ #16369]
10185         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10186         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10187
10188 2013-12-24  Brooks Moses  <bmoses@google.com>
10189
10190         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10191         all compilers that claim C++98 compliance, not just GCC.
10192         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10193         Likewise.
10194
10195 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10196
10197         * NEWS: Restore accidentally deleted bug-fix entries.
10198
10199 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10200             Ondřej Bílka  <neleai@seznam.cz>
10201
10202         [BZ #15073]
10203         * malloc/malloc.c (_int_free): Perform sanity check only if we
10204         have_lock.
10205
10206 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10207
10208         [BZ #12986]
10209         * manual/stdio.texi (String Input Conversions): Clarify that character
10210         classes are not supported.
10211
10212 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10213
10214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10215
10216 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
10217
10218         [BZ #16337]
10219         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10220         Calculate results for small negative arguments directly rather
10221         than using reflection formula with special underflow handling.
10222
10223         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10224         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10225         sysdeps/unix/bsd/bsd4.4/syscalls.list.
10226         (fchflags): Likewise.
10227         (revoke): Likewise.
10228         (setlogin): Likewise.
10229         (sigaltstack): Likewise.
10230         (wait4): Likewise.
10231         (sigblock): Remove.
10232         (sigsetmask): Likewise.
10233         (wait3): Likewise.
10234         (waitpid): Likewise.
10235         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10236         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10237         file.
10238         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10239         * sysdeps/unix/bsd/Makefile: ... here.
10240         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10241         * sysdeps/unix/bsd/Versions: ... here.
10242         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10243         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10244         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10245         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10246         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10247         * sysdeps/unix/bsd/sigblock.c: ... here.
10248         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10249         * sysdeps/unix/bsd/sigsetmask.c: ... here.
10250         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10251         * sysdeps/unix/bsd/sigvec.c: ... here.
10252         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10253         * sysdeps/unix/bsd/tcdrain.c: ... here.
10254         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10255         * sysdeps/unix/bsd/tcgetattr.c: ... here.
10256         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10257         * sysdeps/unix/bsd/tcsetattr.c: ... here.
10258         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10259         * sysdeps/unix/bsd/wait.c: ... here.
10260         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10261         * sysdeps/unix/bsd/wait3.c: ... here.
10262         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10263         * sysdeps/unix/bsd/waitpid.c: ... here.
10264
10265 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
10266
10267         [BZ #16356]
10268         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10269         round-to-nearest for [!USE_AS_EXPM1L].
10270         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10271         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
10272         more tests of exp and exp10.  Expect some exp10 tests to miss
10273         exceptions or fail in directed rounding modes.
10274         * math/auto-libm-test-out: Regenerated.
10275         * math/libm-test.inc (exp10_tonearest_test_data): New array.
10276         (exp10_test_tonearest): New function.
10277         (exp10_towardzero_test_data): New array.
10278         (exp10_test_towardzero): New function.
10279         (exp10_downward_test_data): New array.
10280         (exp10_test_downward): New function.
10281         (exp10_upward_test_data): New array.
10282         (exp10_test_upward): New function.
10283         (main): Call the new functions.
10284         * sysdeps/i386/fpu/libm-test-ulps: Update.
10285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10286
10287 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10288
10289         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10290         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10291         * math/auto-libm-test-out: Regenerated.
10292         * math/libm-test.inc (acosh_test_data): Add more tests.
10293         (atanh_test_data): Likewise.
10294         (ceil_test_data): Likewise.
10295         (copysign_test_data): Likewise.
10296         * sysdeps/i386/fpu/libm-test-ulps: Update.
10297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10298
10299         * timezone/checktab.awk: Update from tzcode 2013i.
10300         * timezone/private.h: Likewise.
10301         * timezone/scheck.c: Likewise.
10302         * timezone/tzfile.h: Likewise.
10303         * timezone/tzselect.ksh: Likewise.
10304         * timezone/zdump.c: Likewise.
10305         * timezone/zic.c: Likewise.
10306
10307         * math/auto-libm-test-in: Add tests of cpow.
10308         * math/auto-libm-test-out: Regenerated.
10309         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10310         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10311         mpc_cc_c.
10312         (func_calc_desc): Add mpc_cc_c union field.
10313         (test_functions): Add cpow.
10314         (special_fill_2pi): New function.
10315         (special_real_inputs): Add 2pi.
10316         (calc_generic_results): Handle mpc_cc_c.
10317         * sysdeps/i386/fpu/libm-test-ulps: Update.
10318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10319
10320         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10321         csqrt, ctan and ctanh.
10322         * math/auto-libm-test-out: Regenerated.
10323         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10324         (TEST_COND_x86): Likewise.
10325         (ccos_test_data): Use AUTO_TESTS_c_c.
10326         (ccosh_test_data): Likewise.
10327         (cexp_test_data): Likewise.
10328         (clog_test_data): Likewise.
10329         (csqrt_test_data): Likewise.
10330         (ctan_test_data): Likewise.
10331         (ctan_tonearest_test_data): Likewise.
10332         (ctan_towardzero_test_data): Likewise.
10333         (ctan_downward_test_data): Likewise.
10334         (ctan_upward_test_data): Likewise.
10335         (ctanh_test_data): Likewise.
10336         (ctanh_tonearest_test_data): Likewise.
10337         (ctanh_towardzero_test_data): Likewise.
10338         (ctanh_downward_test_data): Likewise.
10339         (ctanh_upward_test_data): Likewise.
10340         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10341         mpc_c_c.
10342         (func_calc_desc): Add mpc_c_c union field.
10343         (FUNC_mpc_c_c): New macro.
10344         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10345         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10346         ctanh.
10347         (special_fill_min_subnorm_p120): New function.
10348         (special_real_inputs): Add min_subnorm_p120.
10349         (calc_generic_results): Handle mpc_c_c.
10350         * sysdeps/i386/fpu/libm-test-ulps: Update.
10351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10352
10353 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10354
10355         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10356         (do_sin_slow): New functions.
10357         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10358         (cslow2, csloww1, csloww2): Use the new functions.
10359
10360         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10361         Use M to change sign of result instead of X.  Assume X is
10362         positive.
10363         (csloww1): Likewise.
10364         (__sin): Adjust.
10365         (__cos): Adjust.
10366
10367         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10368         arguments A and DA.
10369         (__sin): Adjust.
10370         (__cos): Likewise.
10371
10372         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10373         (__cos): Likewise.
10374         (sloww1): Don't adjust sign of DX.
10375         (csloww1): Likewise.
10376         (sloww2): Use X directly and don't adjust sign of DX.
10377         (csloww2): Likewise.
10378
10379 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10380
10381         * math/auto-libm-test-in: Add tests of cabs and carg.
10382         * math/auto-libm-test-out: Regenerated.
10383         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10384         (carg_test_data): Likewise.
10385         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10386         mpc_c_f.
10387         (func_calc_desc): Add mpc_c_f union field.
10388         (test_functions): Add cabs and carg.
10389         (calc_generic_results): Handle mpc_c_f.
10390
10391         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10392         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10393         as a macro and a compat symbol.
10394         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10395         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10396         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10397         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10398         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10399         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10400         not use .hidden.
10401         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10402         Likewise.
10403         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10404         Likewise.
10405         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10406         Likewise.
10407         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10408         Likewise.
10409         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10410         Likewise.
10411         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10412         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10413         from GLIBC_2.3.2.
10414
10415 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10416
10417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10418
10419 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10420
10421         * manual/texinfo.tex: Update to version 2013-11-26.10 with
10422         trailing whitespace removed.
10423         * scripts/config.guess: Update to version 2013-11-29.
10424         * scripts/config.sub: Update to version 2013-10-01.
10425
10426         * math/auto-libm-test-in: Add tests of sincos.
10427         * math/auto-libm-test-out: Regenerated.
10428         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10429         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10430         mpfr_f_11.
10431         (func_calc_desc): Add mpfr_f_11 union field.
10432         (test_functions): Add sincos.
10433         (calc_generic_results): Handle mpfr_f_11.
10434         * sysdeps/i386/fpu/libm-test-ulps: Update.
10435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10436
10437 2013-12-19  Andreas Schwab  <schwab@suse.de>
10438
10439         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10440         CALL_MCOUNT.
10441         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10442         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10443         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10444
10445 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10446
10447         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10448         * sysdeps/i386/fpu/libm-test-ulps: Update.
10449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10450
10451         [BZ #16293]
10452         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10453         round-to-nearest mode when using frndint.
10454         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10455         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10456         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10457         Likewise.
10458         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
10459         sinh test to fail.
10460         * math/auto-libm-test-out: Regenerated.
10461         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10462         (TEST_COND_x86): Likewise.
10463         (expm1_tonearest_test_data): New array.
10464         (expm1_test_tonearest): New function.
10465         (expm1_towardzero_test_data): New array.
10466         (expm1_test_towardzero): New function.
10467         (expm1_downward_test_data): New array.
10468         (expm1_test_downward): New function.
10469         (expm1_upward_test_data): New array.
10470         (expm1_test_upward): New function.
10471         (main): Run the new test functions.
10472         * sysdeps/i386/fpu/libm-test-ulps: Update.
10473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10474
10475         * include/features.h: Update comment documenting feature test
10476         macros.  Mention _DEFAULT_SOURCE in comment.
10477         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10478         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10479         _BSD_SOURCE and _SVID_SOURCE.
10480         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10481         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10482         !_SVID_SOURCE]: Likewise.
10483         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10484         (__USE_POSIX_IMPLICITLY): Define.
10485         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10486         (_POSIX_SOURCE): Undefine and redefine.
10487         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10488         (_POSIX_C_SOURCE): Likewise.
10489         * manual/creature.texi (_DEFAULT_SOURCE): Document.
10490         (Feature Test Macros): Update documentation of default features.
10491
10492 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10493
10494         * benchtests/Makefile: Add bench-strtok.
10495         * benchtests/bench-strtok.c: New file: strtok benchtest.
10496
10497 2013-12-19  Allan McRae  <allan@archlinux.org>
10498
10499         * manual/install.texi: Suppress menu for plain text output.
10500         * INSTALL: Regenerated.
10501
10502 2013-12-18  Brooks Moses  <bmoses@google.com>
10503
10504         [BZ #15846]
10505         * misc/getauxval.c: Include errno.h.
10506         (__getauxval): Set errno to ENOENT if the requested type is not
10507         found.
10508         * misc/sys/auxv.h (getauxval): Document that it may set errno;
10509         don't declare with __attribute_const__.
10510         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10511         * manual/startup.texi: Document that getauxval sets errno.
10512
10513 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10514
10515         * math/auto-libm-test-in: Add tests of jn and yn.
10516         * math/auto-libm-test-out: Regenerated.
10517         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10518         (yn_test_data): Likewise.
10519         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10520         mpfr_if_f.
10521         (func_calc_desc): Add mpfr_if_f union field.
10522         (FUNC_mpfr_if_f): New macro.
10523         (test_functions): Add jn and yn.
10524         (calc_generic_results): Assert type of second input for
10525         mpfr_ff_f.  Handle mpfr_if_f.
10526         (output_for_one_input_case): Disable all checking for arguments
10527         fitting floating-point types in case of an integer argument.
10528         * sysdeps/i386/fpu/libm-test-ulps: Update.
10529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10530
10531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10532         Don't expect fegetround reference in libm.so.
10533
10534 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10535
10536         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10537         $(config-cflags-nofma).
10538
10539 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10540
10541         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10542         * math/auto-libm-test-out: Regenerated.
10543
10544         [BZ #16338]
10545         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10546         to determine exponent and adjust argument to have exponent of -1.
10547         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10548         log2.
10549         * math/auto-libm-test-out: Regenerated.
10550         * sysdeps/i386/fpu/libm-test-ulps: Update.
10551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10552
10553 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
10554
10555         * manual/probes.texi: Remove cases when per-thread arenas are
10556         disabled.
10557
10558 2013-12-18  Andreas Schwab  <schwab@suse.de>
10559
10560         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10561         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10562         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10563         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10564         * sysdeps/i386/i686/multiarch/Makefile: Update.
10565         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10566
10567 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10568
10569         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10570         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10571
10572 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
10573
10574         [BZ #15968]
10575         Support TZ transition times < 00:00:00.
10576         This is needed for version-3 tz-format files; it supports time
10577         stamps past 2037 for America/Godthab (the only entry in the tz
10578         database for which this change is relevant).
10579         * manual/time.texi (TZ Variable): Document transition times
10580         from -167:59:59 through -00:00:01.
10581         * time/tzset.c (tz_rule): Time of day is now signed.
10582         (__tzset_parse_tz): Parse negative time of day.
10583
10584         Document TZ transition times >= 25:00:00.
10585         * manual/time.texi (TZ Variable): Document transition times from
10586         25:00:00 through 167:59:59.  These are already supported, and this
10587         support will help with version-3 tz-format files.
10588
10589         * manual/time.texi (TZ Variable): Modernize North America example
10590         to reflect current (i.e., 2007-and-later) daylight saving rules.
10591
10592         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10593
10594 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10595
10596         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10597         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10598         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10599         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10600         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10601         * sysdeps/unix/bsd/bsdstat.h: Likewise.
10602         * sysdeps/unix/bsd/clock.c: Likewise.
10603         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10604         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10605         * sysdeps/unix/bsd/init-posix.c: Likewise.
10606         * sysdeps/unix/bsd/poll.c: Likewise.
10607         * sysdeps/unix/bsd/ptsname.c: Likewise.
10608         * sysdeps/unix/bsd/seekdir.c: Likewise.
10609         * sysdeps/unix/bsd/setegid.c: Likewise.
10610         * sysdeps/unix/bsd/seteuid.c: Likewise.
10611         * sysdeps/unix/bsd/setgid.c: Likewise.
10612         * sysdeps/unix/bsd/setrgid.c: Likewise.
10613         * sysdeps/unix/bsd/setruid.c: Likewise.
10614         * sysdeps/unix/bsd/setsid.c: Likewise.
10615         * sysdeps/unix/bsd/setuid.c: Likewise.
10616         * sysdeps/unix/bsd/sigaction.c: Likewise.
10617         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10618         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10619         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10620         * sysdeps/unix/bsd/telldir.c: Likewise.
10621         * sysdeps/unix/bsd/times.c: Likewise.
10622         * sysdeps/unix/bsd/usleep.c: Likewise.
10623
10624         * misc/Makefile (install-lib): Remove libbsd-compat.a.
10625         ($(objpfx)libbsd-compat.a): Remove rule.
10626
10627         * include/features.h (__FAVOR_BSD): Do not define.
10628         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10629         features conflicting with POSIX.
10630         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10631         (_BSD_SOURCE): Remove description of not being a subset of other
10632         feature test macros.
10633         * manual/job.texi (getpgrp): Do not document BSD version.
10634         (getpgid): Do not document by reference to BSD getpgrp.
10635         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10636         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10637         * signal/signal.h [__FAVOR_BSD]: Likewise.
10638         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10639         instead of making contents conditional on [__FAVOR_BSD].
10640         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10641
10642 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10643
10644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10645
10646 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10647
10648         [BZ #16314]
10649         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10650         values below 2**-450, not 2**-500.
10651         * math/auto-libm-test-in: Don't allow spurious underflow from
10652         hypot.
10653         * math/auto-libm-test-out: Regenerated.
10654
10655         [BZ #16316]
10656         [BZ #16330]
10657         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10658         values of ha and hb and sort them after adjusting subnormal
10659         arguments.
10660         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10661         Likewise.
10662         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10663         values of ea and eb and sort them after adjusting subnormal
10664         arguments.
10665         * math/auto-libm-test-in: Do not expect some hypot tests of
10666         subnormals to fail.  Add more hypot tests.
10667         * math/auto-libm-test-out: Regenerated.
10668
10669 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10670
10671         [BZ #13304]
10672         * sysdeps/sh/s_fma.c: New file.
10673         * sysdeps/sh/s_fmaf.c: New file.
10674         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
10675         version.
10676         * sysdeps/sh/Implies: Add sh/soft-fp.
10677
10678 2013-12-16  Roland McGrath  <roland@hack.frob.com>
10679
10680         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
10681         level of indirection to members `objname', `errstring', `malloced'.
10682         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10683         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
10684         it as the __longjmp argument (just pass 1 instead).
10685         (_dl_catch_error): Initialize C with argument pointers and address of
10686         volatile local ERRCODE rather than copying values out of C at return.
10687
10688 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
10689
10690         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10691         * math/auto-libm-test-out: Regenerated.
10692         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10693         (hypot_test_data): Likewise.
10694         (pow_test_data): Likewise.
10695         (pow_tonearest_test_data): Likewise.
10696         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10697         mpfr_ff_f.
10698         (func_calc_desc): Add mpfr_ff_f union field.
10699         (FUNC_mpfr_ff_f): New macro.
10700         (test_functions): Add atan2, hypot and pow.
10701         (special_fill_min): New function.
10702         (special_fill_minus_min): Likewise.
10703         (special_fill_min_subnorm): Likewise.
10704         (special_fill_minus_min_subnorm): Likewise.
10705         (special_real_inputs): Add min, -min, min_subnorm and
10706         -min_subnorm.
10707         (calc_generic_results): Handle mpfr_ff_f.
10708         * sysdeps/i386/fpu/libm-test-ulps: Update.
10709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10710
10711 2013-12-16  Will Newton  <will.newton@linaro.org>
10712
10713         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10714         (Aligned Memory Blocks): Add documentation for aligned_alloc
10715         and suggest it as an alternative to posix_memalign.
10716         (Hooks for Malloc): Document __memalign_hook is also called
10717         for aligned_alloc.  (Summary of Malloc): Add summary for
10718         aligned alloc.  Document __memalign_hook is also called
10719         for aligned_alloc.
10720
10721 2013-12-16  Will Newton  <will.newton@linaro.org>
10722
10723         * manual/memory.texi (Malloc Examples): Clarify default
10724         alignment documentation.  Suggest posix_memalign rather
10725         than memalign or valloc.
10726         (Aligned Memory Blocks): Remove suggestion to use memalign
10727         or valloc.  Remove obsolete comment about BSD.
10728         Document memalign errno values and mark the function obsolete.
10729         Document posix_memalign returned error codes.  Mark valloc
10730         as obsolete.  (Hooks for Malloc): __memalign_hook is also
10731         called for posix_memalign and valloc.
10732         (Summary of Malloc): Add posix_memalign to function summary.
10733         __memalign_hook is also called for posix_memalign and valloc.
10734
10735 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10736
10737         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10738         TAYLOR_SIN.
10739         (__sin): Adjust.
10740         (__cos): Likewise.
10741         (sloww): Use mynumber union.  Expand ternary operator into
10742         if-else statements.
10743         (cslow): use mynumber union.
10744
10745 2013-12-16  Allan McRae  <allan@archlinux.org>
10746
10747         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10748         * configure: Regenerated.
10749
10750         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10751
10752         [BZ #14120]
10753         * configure.ac: Added --enable-maintainer-mode. Check for
10754         autoconf when enabled.
10755         * configure: Regenerated.
10756
10757         * nscd/nscd.service: New file.
10758         * nscd/nscd.tmpfiles: New file.
10759
10760 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
10761
10762         [BZ #12100]
10763         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10764         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10765         * sysdeps/x86_64/multiarch/strstr.c: ... here.
10766         (strstr): Add __strstr_sse2_unaligned ifunc.
10767         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10768         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10769         (strcasestr): Remove __strcasestr_sse42 ifunc.
10770         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10771         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10772         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10773
10774 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10775
10776         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10777         * sysdeps/sh/bits/fenv.h: ... here.
10778         * sysdeps/sh/sh4/fpu/bits: Remove directory.
10779
10780 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10781
10782         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10783
10784         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10785         hypotf multiarch implementations.
10786         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10787         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10788         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10789         multiarch hypot for PPC64.
10790         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10791         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10792         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10793         multiarch hypotf for PPC64.
10794
10795         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10796         modff multiarch implementations.
10797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10800         multiarch modf for PPC64.
10801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10804         multiarch modff for PPC64.
10805
10806         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10807         and logl multiarch implementations.
10808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10811         multiarch logb for PPC64.
10812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10815         multiarch logb for PPC64.
10816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10819         multiarch logb for PPC64.
10820
10821         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10822         isinff multiarch implementation.
10823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10824         file.
10825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10827         multiarch isinf for PPC64.
10828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10829         file.
10830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10831         multiarch isinff for PPC64.
10832
10833         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10834         finitef multiarch implementation.
10835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10836         file.
10837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10839         multiarch finite for PPC64.
10840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10841         file.
10842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10843         multiarch finitef for PPC64.
10844
10845         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10846         lrint multiarch implementation.
10847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10848         file.
10849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10851         multiarch llrint for PPC64.
10852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10853         multiarch lrint for PPC64.
10854
10855         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10856         copysignf multiarch implementation.
10857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10858         file.
10859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10860         file.
10861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10862         multiarch copysign for PPC64.
10863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10864         multiarch copysignf for PPC64.
10865
10866         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10867         multiarch implementation.
10868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10869         file.
10870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10871         file.
10872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10873         file.
10874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10875         file.
10876         multiarch llround for PPC64.
10877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10878         multiarch trunc for PPC64.
10879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10880         multiarch truncf for PPC64.
10881
10882         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10883         multiarch implementation.
10884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10885         file.
10886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10887         file.
10888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10889         file.
10890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10891         file.
10892         multiarch llround for PPC64.
10893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10894         multiarch round for PPC64.
10895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10896         multiarch roundf for PPC64.
10897
10898         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10899         multiarch implementation.
10900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10901         file.
10902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10903         file.
10904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10905         file.
10906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10907         file.
10908         multiarch llround for PPC64.
10909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10910         multiarch floor for PPC64.
10911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10912         multiarch floorf for PPC64.
10913
10914         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10915         multiarch implementation.
10916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10917         file.
10918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10919         file.
10920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10921         file.
10922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10923         file.
10924         multiarch llround for PPC64.
10925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10926         multiarch ceil for PPC64.
10927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10928         multiarch ceilf for PPC64.
10929
10930         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10931         multiarch implementation.
10932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10933         file.
10934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10935         file.
10936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10937         file.
10938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10939         multiarch llround for PPC64.
10940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10941         multiarch lround for PPC64.
10942
10943         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10944         multiarch implementation.
10945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10948         file.
10949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10952         multiarch isnan for PPC64.
10953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10954         multiarch isnanf for PPC64.
10955
10956         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10957         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10958         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10959         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10960         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10962
10963         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10964         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10965         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10966         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10967
10968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10969         multiarch implementations.
10970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10971         (__libc_ifunc_impl_list): Likewise.
10972         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10973         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10974         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10975         multiarch stpcpy for PPC64.
10976
10977         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10978         multiarch implementations.
10979         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10980         (__libc_ifunc_impl_list): Likewise.
10981         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10982         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10983         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10984         multiarch strcpy for PPC64.
10985
10986         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10987         redefine function name.
10988         (_wordcopy_fwd_dest_aligned): Likewise.
10989         (_wordcopy_bwd_aligned): Likewise.
10990         (_wordcopy_bwd_dest_aligned): Likewise.
10991         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10992         multiarch implementations.
10993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10994         (__libc_ifunc_impl_list): Likewise.
10995         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10996         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10997         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10998         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10999         multiarch wcscpy for PPC64.
11000
11001         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11002         multiarch implementations.
11003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11004         (__libc_ifunc_impl_list): Likewise.
11005         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11006         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11007         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11008         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11009         multiarch wcscpy for PPC64.
11010
11011         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11012         multiarch implementations.
11013         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11014         (__libc_ifunc_impl_list): Likewise.
11015         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11016         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11017         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11018         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11019         multiarch wcsrchr for PPC64.
11020
11021         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11022         multiarch implementations.
11023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11024         (__libc_ifunc_impl_list): Likewise.
11025         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11026         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11027         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11028         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11029         multiarch wcschr for PPC64.
11030
11031         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11032         multiarch implementations.
11033         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11034         (__libc_ifunc_impl_list): Likewise.
11035         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11036         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11037         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11038         multiarch strchrnul for PPC64.
11039
11040         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11041         implementations.
11042         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11043         (__libc_ifunc_impl_list): Likewise.
11044         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11045         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11046         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11047         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11048         strchr for PPC64.
11049
11050         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11051         implementations.
11052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11053         (__libc_ifunc_impl_list): Likewise.
11054         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11055         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11056         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11057         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11058         strncmp for PPC64.
11059
11060         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11061         multiarch implementations.
11062         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11063         (__libc_ifunc_impl_list): Likewise.
11064         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11065         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11066         strncasecmp for PPC64.
11067         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11068         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11069         multiarch strncasecmp_l for PPC64.
11070
11071         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11072         multiarch implementations.
11073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11074         (__libc_ifunc_impl_list): Likewise.
11075         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11076         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11077         multiarch strcasecmp for PPC64.
11078         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11079         file.
11080         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11081         multiarch strcasecmp_l for PPC64.
11082
11083         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11084         implementations.
11085         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11086         (__libc_ifunc_impl_list): Likewise.
11087         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11088         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11089         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11090         strnlen for PPC64.
11091
11092         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11093         implementations.
11094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11095         (__libc_ifunc_impl_list): Likewise.
11096         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11097         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11098         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11099         strlen for PPC64.
11100
11101         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11102         implementations.
11103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11104         (__libc_ifunc_impl_list): Likewise.
11105         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11106         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11107         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11108         rawmemrchr for PPC64.
11109
11110         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11111         implementation.
11112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11113         (__libc_ifunc_impl_list): Likewise.
11114         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11115         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11116         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11117         memrchr for PPC64.
11118
11119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11120         implementation.
11121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11122         (__libc_ifunc_impl_list): Likewise.
11123         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11124         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11125         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11126         memchr for PPC64.
11127
11128         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11129         implementation.
11130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11131         (__libc_ifunc_impl_list): Likewise.
11132         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11133         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11134         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11135         mempcpy for PPC64.
11136
11137         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11138         avoid cretion of __bzero symbol.
11139         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11140         Likewise.
11141         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11142         Likewise.
11143         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11144         Likewise.
11145         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11146         multiarch implementations.
11147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11148         (__libc_ifunc_impl_list): Likewise.
11149         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11150         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11151         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11152         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11153         bzero for PPC32.
11154         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11155         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11156         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11157         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11158         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11159         memset for PPC64.
11160         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11161
11162         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11164         implementations.
11165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11166         (__libc_ifunc_impl_list): Likewise.
11167         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11168         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11169         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11170         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11171         memcmp for PPC64.
11172
11173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11174         multiarch for POWER/PPC64.
11175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11176         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11177         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11178         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11179         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11180         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11181         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11182         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11183         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11184         memcpy for PPC64.
11185
11186         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11187         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11188         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11189         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11190         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11191         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11192         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11193         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11194         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11195         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11196         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11197         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11198         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11199         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11200         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11208
11209 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11210
11211         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11212
11213 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11214
11215         * benchtests/Makefile (bench): Add exp2 and log2.
11216         (LDLIBS-bench-exp2): Add -lm.
11217         (LDLIBS-bench-log2): Likewise.
11218         * benchtests/exp2-inputs: New inputs file.
11219         * benchtests/log2-inputs: New inputs file.
11220         * benchtests/log-inputs: Add new inputs.
11221         * benchtests/tan-inputs: Likewise.
11222
11223 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11224
11225         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11226         definition...
11227         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11228         (csloww2): ... from here.
11229
11230         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11231         instead of structures.
11232         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11233         (POLYNOMIAL): Likewise.
11234         (TAYLOR_SLOW): Likewise.
11235         (__sin): Likewise.
11236         (__cos): Likewise.
11237         (slow1): Likewise.
11238         (slow2): Likewise.
11239         (sloww): Likewise.
11240         (sloww1); Likewise.
11241         (sloww2): Likewise.
11242         (bsloww1): Likewise.
11243         (bsloww2): Likewise.
11244         (cslow2): Likewise.
11245         (csloww): Likewise.
11246         (csloww1): Likewise.
11247         (csloww2): Likewise.
11248
11249 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
11250
11251         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11252         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11253         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11254         * malloc/hooks.c (realloc_check): Likewise.
11255
11256         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11257         * malloc/arena.c: Remove PER_THREAD conditional.
11258         [!PER_THREAD]: Remove code.
11259         (ptmalloc_unlock_all2): Likewise.
11260         (ptmalloc_init): Likewise.
11261         (_int_new_arena): Likewise.
11262         (arena_get2): Likewise.
11263         * malloc/hooks.c (__malloc_get_state): Likewise.
11264         (__malloc_set_state): Likewise.
11265         * malloc/malloc.c: Likewise.
11266         (struct malloc_state): Likewise.
11267         (struct malloc_par): Likewise.
11268         (__libc_realloc): Likewise.
11269         (__libc_mallopt): Likewise.
11270
11271 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11272
11273         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11274
11275 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
11276
11277         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11278         macro to a function.  Check for zero perturb_byte.
11279         (_int_malloc, _int_free): Remove zero perturb_byte checks.
11280
11281         * malloc/malloc.c: (force_reg): Remove.
11282         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11283         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11284         force_reg by atomic_forced_read.
11285         * malloc/arena.c (ptmalloc_init): Likewise.
11286         * malloc/hooks.c (top_check): Likewise.
11287
11288 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11289
11290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11291
11292 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11293
11294         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11295
11296 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11297
11298         * math/auto-libm-test-in: Add tests of lgamma.
11299         * math/auto-libm-test-out: Regenerated.
11300         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11301         (M_LOG_2_SQRT_PIl): Likewise.
11302         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11303         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11304         mpfr_f_f1.
11305         (func_calc_desc): Add mpfr_f_f1 union field.
11306         (ARGS1): New macro.
11307         (ARGS2): Likewise.
11308         (ARGS3): Likewise.
11309         (ARGS4): Likewise.
11310         (RET1): Likewise.
11311         (RET2): Likewise.
11312         (CALC): Likewise.
11313         (FUNC): Likewise.
11314         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11315         (test_functions): Add lgamma.
11316         (calc_generic_results): Handle mpfr_f_f1.
11317         * sysdeps/i386/fpu/libm-test-ulps: Update.
11318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11319
11320 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11321
11322         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11323         __mpn_add_n for PowerPC64/POWER7.
11324         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11325         __mpn_sub_n for PowerPC64/POWER7.
11326
11327         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11328         __mpn_addmul_1 for PowerPC64.
11329         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11330         __mpn_submul_1 for PowerPC64.
11331         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11332         for PowerPC64.
11333         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11334         for PowerPC64.
11335
11336 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11337
11338         [BZ #15089]
11339         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11340
11341 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11342
11343         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11344
11345         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11346         add multiarch folders.
11347         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11348         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11349         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11350         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11351         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11352         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11353         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11354         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11355         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11356         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11357         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11364
11365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11366         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11368         New file.
11369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11370         New file.
11371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11372         multiarch __ieee754_hypot for PowerPC32.
11373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11374         New file.
11375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11376         New file.
11377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11378         multiarch __ieee754_hypotf for PowerPC32.
11379
11380         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11381         long_double_symbol only if __logbl is defined.
11382         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11383         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11384         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11385         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11386         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11387         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11388         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11389         path for implementation.
11390         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11391         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11393         logb, and logbl multiarch implementations for PowerPC32.
11394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11395         file.
11396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11397         file.
11398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11399         multiarch logb for PowerPC32.
11400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11401         file.
11402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11403         file.
11404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11405         multiarch logbf for PowerPC32.
11406         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11408         file.
11409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11410         multiarch logbl implementation for PowerPC32.
11411
11412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11413         and modff multiarch implementations.
11414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11415         New file.
11416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11417         New file.
11418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11419         multiarch modf for PowerPC32.
11420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11421         New file.
11422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11423         New file.
11424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11425         multiarch modff for PowerPC32.
11426
11427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11428         and lrintf multiarch implementations.
11429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11430         New file.
11431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11432         New file.
11433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11434         multiarch lrint for PowerPC32.
11435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11436         file: multiarch lrintf for PowerPC32.
11437
11438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11439         and lroundf multiarch implementations.
11440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11441         New file.
11442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11443         New file.
11444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11445         New file.
11446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11447         multiarch lround for PowerPC32.
11448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11449         file: multiarch lroundf for PowerPC32.
11450
11451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11452         copysign and copysignf multiarch implementations.
11453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11454         New file.
11455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11456         New file.
11457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11458         file: multiarch copysign for PowerPC32.
11459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11460         file: multiarch copysignf for PowerPC32.
11461
11462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11463         and truncf multiarch implementations.
11464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11465         New file.
11466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11467         file.
11468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11469         multiarch trunc for PowerPC32.
11470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11471         New file.
11472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11473         New file.
11474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11475         multiarch truncf for PowerPC32.
11476
11477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11478         and roundf multiarch implementations.
11479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11480         New file.
11481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11482         file.
11483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11484         multiarch round for PowerPC32.
11485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11486         New file.
11487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11488         New file.
11489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11490         multiarch roundf for PowerPC32.
11491
11492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11493         and floorf multiarch implementations.
11494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11495         New file.
11496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11497         file.
11498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11499         multiarch floor for PowerPC32.
11500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11501         New file.
11502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11503         New file.
11504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11505         multiarch floorf for PowerPC32.
11506
11507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11508         and ceilf multiarch implementations.
11509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11510         New file.
11511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11512         file.
11513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11514         multiarch ceil for PowerPC32.
11515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11516         New file.
11517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11518         file.
11519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11520         multiarch ceilf for PowerPC32.
11521
11522         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11523         is defined.
11524         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11525         FINITEF is defined.
11526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11527         and finitef multiarch implementations.
11528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11529         New file.
11530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11531         file.
11532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11533         multiarch finite for PowerPC32.
11534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11535         New file.
11536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11537         file: multiarch finitef for PowerPC32.
11538
11539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11540         and isinff multiarch implementations.
11541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11542         file.
11543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11544         file.
11545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11546         multiarch isinf for PowerPC32.
11547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11548         New file.
11549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11550         multiarch isinff for PowerPC32.
11551
11552         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11553         alias when __isnan is defined.
11554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11555         and isnanf multiarch implementations.
11556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11557         file.
11558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11559         file.
11560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11561         file.
11562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11563         file.
11564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11565         multiarch isnan for PowerPC32.
11566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11567         New file.
11568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11569         New file.
11570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11571         multiarch isnanf for PowerPC32.
11572
11573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11574         and sqrtf multiarch implementations.
11575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11576         file.
11577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11578         file.
11579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11580         multiarch sqrt for PowerPC32.
11581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11582         file.
11583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11584         file.
11585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11586         multiarch sqrtf for PowerPC32.
11587
11588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11589         and llroundf multiarch implementations.
11590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11591         New file.
11592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11593         New file.
11594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11595         New file.
11596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11597         file: multiarch llround for PowerPC32.
11598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11599         file: multiarch llroundf for PowerPC32.
11600
11601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11602         multiarch PowerPC32 fpu implementations.
11603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11604         New file.
11605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11606         New file.
11607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11608         multiarch llrint for PowerPC32.
11609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11610         New file.
11611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11612         New file.
11613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11614         file.
11615
11616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11617
11618         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11619         file.
11620         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11621         file.
11622         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11623         file.
11624         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11625         multiarch wordcopy for PPC32.
11626         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11627         wordcopy objects.
11628         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11629         (__libc_ifunc_impl_list): Likewise.
11630         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11631         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11632         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11633         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11634         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11635         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11636
11637         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11638         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11639         file.
11640         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11641         file.
11642         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11643         file.
11644         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11645         multiarch wcscpy for PPC32.
11646         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11647         multiarch objects.
11648         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11649         (__libc_ifunc_impl_list): Likewise.
11650         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11651         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11652         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11653         sysdeps/powerpc/power6/wcscpy.c.
11654
11655         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11656         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11657         file.
11658         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11659         file.
11660         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11661         file.
11662         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11663         multiarch wcsrchr for PPC32.
11664         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11665         multiarch objects.
11666         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11667         (__libc_ifunc_impl_list): Likewise.
11668         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11669         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11670         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11671         sysdeps/powerpc/power6/wcsrchr.c.
11672
11673         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11674         file.
11675         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11676         file.
11677         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11678         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11679         multiarch wcschr for PPc32.
11680         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11681         multiarch objects.
11682         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11683         (__libc_ifunc_impl_list): Likewise.
11684         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11685         * sysdeps/powerpc/power6/wcschr.c: ... to here.
11686         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11687         sysdeps/powerpc/power6/wcschr.c.
11688
11689         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11690         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11691         file.
11692         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11693         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11694         file: multiarch strchr for PPC32.
11695         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11696         multiarch objects.
11697         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11698         (__libc_ifunc_impl_list): Likewise.
11699
11700         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11701         name.
11702         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11703         file.
11704         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11705         file.
11706         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11707         multiarch strchrnul for PPC32.
11708         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11709         multiarch objects.
11710         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11711         (__libc_ifunc_impl_list): Likewise.
11712
11713         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11714         file.
11715         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11716         multiarch strncasecmp for PPC32.
11717         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11718         file.
11719         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11720         multiarch strncasecmp_l for PPC32.
11721         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11722         strncasecmp multiarch objects.
11723         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11724         (__libc_ifunc_impl_list): Likewise.
11725
11726         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11727         file.
11728         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11729         multiarch strncasecmp for PPC32.
11730         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11731         New file.
11732         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11733         multiarch strcasecmp_l for PPC32.
11734         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11735         multiarch objects.
11736         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11737         (__libc_ifunc_impl_list): Likewise.
11738
11739         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11740         file.
11741         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11742         file.
11743         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11744         multiarch strncmp for PPC32.
11745         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11746         multiarch objects.
11747         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11748         (__libc_ifunc_impl_list): Likewise.
11749
11750         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11751         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11752         file.
11753         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11754         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11755         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11756         multiarch objects.
11757         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11758         (__libc_ifunc_impl_list): Likewise.
11759
11760         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11761         file.
11762         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11763         file.
11764         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11765         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11766         multiarch objects.
11767         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11768         (__libc_ifunc_impl_list): Likewise.
11769
11770         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11771         file.
11772         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11773         file.
11774         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11775         multiarch rawmemchr for PPC32.
11776         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11777         multiarch objects.
11778         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11779         (__libc_ifunc_impl_list): Likewise.
11780
11781         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11782         file.
11783         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11784         file.
11785         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11786         file: memrchr multiarch for PPC32.
11787         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11788         multiarch objects.
11789         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11790         (__libc_ifunc_impl_list): Likewise.
11791
11792         * string/memchr.c (__memchr): Using macro to redefine symbol name.
11793         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11794         file.
11795         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11796         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11797         multiarch memchr for PPC32.
11798         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11799         multiarch objects.
11800         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11801         (__libc_ifunc_impl_list): Likewise.
11802
11803         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11804         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11805         file.
11806         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11807         file.
11808         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11809         file: multiarch mempcpy for PPC32.
11810         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11811         multiarch objects.
11812         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11813         (__libc_ifunc_impl_list): Likewise.
11814
11815         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11816         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11817         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11818         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11819         multiarch bzero for PPC32.
11820         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11821         file.
11822         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11823         file.
11824         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11825         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11826         file: multiarch memset for PPC32.
11827         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11828         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11829         memset multiarch objects.
11830         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11831         (__libc_ifunc_impl_list): Likewise.
11832
11833         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11834         file.
11835         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11836         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11837         memcmp for PPC32.
11838         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11839         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11840         multiarch objects.
11841         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11842         (__libc_ifunc_impl_list): Likewise.
11843
11844         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11845         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11846         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11847         file.
11848         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11849         file.
11850         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11851         file.
11852         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11853         multiarch memcpy for PPC32.
11854         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11855         multiarch objects.
11856         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11857         (__libc_ifunc_impl_list): Likewise.
11858
11859         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11860         support multiarch for POWER/PPC32.
11861         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11862         Likewise.
11863         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11865         Implies file to make multiarch folder appers before the fpu and
11866         default folder for power4 configuration.
11867
11868 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11869
11870         * scripts/bench.pl: Append volatile keyword to type.
11871
11872 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11873
11874         * sysdeps/sh/sotruss-lib.c: New file.
11875         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11876
11877 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11878
11879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11880
11881 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
11882
11883         [BZ #6810]
11884         * math/w_tgamma.c: Include <errno.h>.
11885         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
11886         * math/w_tgammaf.c: Include <errno.h>.
11887         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
11888         * math/w_tgammal.c: Include <errno.h>.
11889         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
11890         * math/auto-libm-test-in: Do not allow missing errno on tgamma
11891         underflow.  Add more tgamma tests.
11892         * math/auto-libm-test-out: Regenerated.
11893         * sysdeps/i386/fpu/libm-test-ulps: Update.
11894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11895
11896         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11897         sin, sinh, tan, tanh, tgamma, y0 and y1.
11898         * math/auto-libm-test-out: Regenerated.
11899         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11900         (TEST_COND_x86): Likewise.
11901         (M_E2l): Remove macro.
11902         (M_E3l): Likewise.
11903         (M_2_SQRT_PIl): Likewise.
11904         (M_SQRT_PIl): Likewise.
11905         (M_1_DIV_El): Likewise.
11906         (log_test_data): Use AUTO_TESTS_f_f.
11907         (log10_test_data): Likewise.
11908         (log1p_test_data): Likewise.
11909         (log2_test_data): Likewise.
11910         (sin_test_data): Likewise.
11911         (sin_tonearest_test_data): Likewise.
11912         (sin_towardzero_test_data): Likewise.
11913         (sin_downward_test_data): Likewise.
11914         (sin_upward_test_data): Likewise.
11915         (sinh_test_data): Likewise.
11916         (sinh_tonearest_test_data): Likewise.
11917         (sinh_towardzero_test_data): Likewise.
11918         (sinh_downward_test_data): Likewise.
11919         (sinh_upward_test_data): Likewise.
11920         (tan_test_data): Likewise.
11921         (tan_tonearest_test_data): Likewise.
11922         (tan_towardzero_test_data): Likewise.
11923         (tan_downward_test_data): Likewise.
11924         (tan_upward_test_data): Likewise.
11925         (tanh_test_data): Likewise.
11926         (tgamma_test_data): Likewise.
11927         (y0_test_data): Likewise.
11928         (y1_test_data): Likewise.
11929         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11930         (special_real_inputs): Add pi/4.
11931         * sysdeps/i386/fpu/libm-test-ulps: Update.
11932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11933
11934 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11935
11936         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11937         "longjmp_target" static probes.
11938         (__longjmp): Rename to __longjmp_symbol.
11939         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11940         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11941         on which longjmp to generate.
11942         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11943         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11944         probe.
11945         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11946         (__sigjmp_save): Rename to __sigjmp_save_symbol.
11947         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11948         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11949         and __sigjmp_save_symbol based on which sigsetjmp to generated.
11950         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11952         __longjmp_symbol based on which __longjmp to generate.
11953         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11954         probe.
11955         (setjmp): Rename to setjmp_symbol.
11956         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11957         (_setjmp): Rename to _setjmp_symbol.
11958         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11959         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11960         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11961         which setjmp to generate.
11962         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11963         "longjmp_target" static probes.
11964
11965 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11966
11967         * benchtests/README: Add note about output arguments.
11968         * benchtests/bench-sincos.c: Remove file.
11969         * benchtests/sincos-inputs: New file.
11970         * scripts/bench.pl: Identify output arguments and define
11971         static variables for them.
11972
11973         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11974
11975         [BZ #15941]
11976         * Makefile (INSTALL): Add install-plain.texi as the primary
11977         dependency.
11978         * manual/install-plain.texi: New file.
11979         * manual/install.texi: Include node directive only for
11980         non-plaintext output.
11981
11982 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
11983
11984         * stdlib/longlong.h: Update from GCC.
11985
11986         [BZ #6807]
11987         [BZ #15901]
11988         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11989         * math/w_j0f.c (y0f): Likewise.
11990         * math/w_j0l.c (__y0l): Likewise.
11991         * math/w_j1.c (y1): Likewise.
11992         * math/w_j1f.c (y1f): Likewise.
11993         * math/w_j1l.c (__y1l): Likewise
11994         * math/w_jn.c (yn): Likewise.
11995         * math/w_jnf.c (ynf): Likewise.
11996         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11997         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
11998         value for Bessel function domain errors outside _SVID_ mode.
11999         Adjust sign of return value for yn (negative integer, 0).
12000         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12001         by zero in return for negative x and set sign appropriately for
12002         negative n.
12003         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12004         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12005         * math/libm-test.inc (y0_test_data): Add more tests and adjust
12006         expectations in error cases.
12007         (y1_test_data): Likewise.
12008         (yn_test_data): Likewise.
12009         * sysdeps/i386/fpu/libm-test-ulps: Update.
12010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12011
12012 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12013
12014         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12015         "64" to "64-v1".  Add "64-v2".
12016         (abi-64-options): Rename to ...
12017         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
12018         (abi-64-condition): Rename to ...
12019         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
12020         (abi-64-ld-soname): Rename to ...
12021         (abi-64-v1-ld-soname): ... this.
12022         (abi-64-v2-options): Define.
12023         (abi-64-v2-condition): Likewise.
12024         (abi-64-v2-ld-soname): Likewise.
12025         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12026         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12030
12031 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12032             Alan Modra  <amodra@gmail.com>
12033
12034         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12035         New versions for use with the ELFv2 ABI.
12036         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12037         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12038         declaration.
12039         (struct La_ppc64v2_retval): Likewise.
12040         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12041         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12042         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12043         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12044         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12045         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12046         Do not save or restore CR.
12047         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12048         (_dl_profile_resolve): Do no save or restore CR.  Support extended
12049         return values for ELFv2 ABI.  Fix location of FPR return registers.
12050         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12051         updated values for _CALL_ELF == 2.
12052         (La_regs, La_retval, int_retval): Likewise.
12053
12054 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12055
12056         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12057         (FRAME_MIN_SIZE_PARM): Likewise.
12058         (FRAME_BACKCHAIN): Likewise.
12059         (FRAME_CR_SAVE): Likewise.
12060         (FRAME_LR_SAVE): Likewise.
12061         (FRAME_TOC_SAVE): Likewise.
12062         (FRAME_PARM_SAVE): Likewise.
12063         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12064         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12065         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12066         (call_mcount_parm_offset): New macro.
12067         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12068         (PROF): Use symbolic stack frame offsets.
12069         (TAIL_CALL_SYSCALL_ERROR): Likewise.
12070         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12071         Redefine in terms of FRAME_MIN_SIZE.
12072         (_dl_runtime_resolve): Use symbolic stack frame offsets.
12073         (_dl_profile_resolve): Likewise.  Update comment.
12074         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12075         symbols stack frame offsets.
12076         (__sigsetjmp): Likewise.
12077         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12078         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12079         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12080         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12081
12082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12083         (FRAME_BACKCHAIN): Remove.
12084         (FRAME_CR_SAVE): Likewise.
12085         (FRAME_LR_SAVE): Likewise.
12086         (FRAME_COMPILER_DW): Likewise.
12087         (FRAME_LINKER_DW): Likewise.
12088         (FRAME_TOC_SAVE): Likewise.
12089         (FRAME_PARM_SAVE): Likewise.
12090         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12091         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12092         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12094         (CHECK_SP): Use symbolic stack frame offsets.
12095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12096         zone" instead of caller's parameter save area for temp storage.
12097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12098         Likewise.  Also, use symbolic stack frame offsets.
12099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12100         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12101         our own stack frame instead of the caller's.
12102         (__socket): Use symbolic stack frame offsets.
12103
12104 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12105             Alan Modra  <amodra@gmail.com>
12106
12107         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12108         Define.
12109         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12110         (PPC64_LOCAL_ENTRY_OFFSET): Define.
12111         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12112         New function.
12113         (elf_machine_fixup_plt): Call it.
12114         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
12115         reloc arguments.
12116         (elf_machine_rela): Update call to elf_machine_plt_conflict.
12117         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12118         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12119         r2 before calling target.
12120
12121 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12122             Alan Modra  <amodra@gmail.com>
12123
12124         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12125         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12126         versions of macros to support ELFv2 ABI.
12127         (LOCALENTRY): New macro.
12128         (ENTRY, EALIGN): Use it.
12129         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12130         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12131         fall through into ENTRY entry point.
12132         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12133         Only define if _CALL_ELF != 2.
12134
12135         (elf_machine_matches_host): Verify ABI version matches.
12136         (RTLD_START): Use LOCALENTRY.
12137         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12138         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12139         (PLT_ENTRY_WORDS): New macro.
12140         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12141         (elf_machine_runtime_setup): Support ELFv2 ABI.
12142         (elf_machine_fixup_plt): Likewise.
12143         (elf_machine_plt_conflict): Likewise.
12144         (resolve_ifunc): Likewise.
12145         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12146         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12147         Likewise.
12148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12149         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12151         (makecontext): Support ELFv2 ABI.
12152         * elf/elf.h (EF_PPC64_ABI): Define.
12153
12154 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12155
12156         * sysdeps/powerpc/powerpc64/sysdep.h
12157         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12158         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12159         (ENTRY) [ASSEMBLER]: ... but instead here ...
12160         (EALIGN) [ASSEMBLER]: ... and here.
12161         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12162         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12163         (ENTRY_2) [!ASSEMBLER]: Use it.
12164         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12165         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
12166         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12167         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12168         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12170         Use PPC64_LOAD_FUNCPTR.
12171
12172         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12173
12174 2013-12-04  Alan Modra  <amodra@gmail.com>
12175
12176         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12177         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12178         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12179         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12180
12181         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12182         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12183         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12184         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12185         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12186         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12187
12188 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12189
12190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12191         (__makecontext): Fix incorrect CFI when backtracing out of
12192         context created via makecontext.
12193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12194         (__setcontext): Fix incorrect CFI during switch to new context.
12195         (__novec_setcontext): Likewise.
12196
12197 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12198
12199         [BZ #4772]
12200         * time/strptime_l.c (__strptime_internal): Allow modifiers
12201         in strptime.
12202         * time/tst-strptime.c (day_tests): Add testcase.
12203
12204 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12205
12206         * scripts/bench.pl: Skip over blank lines.
12207
12208 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12209
12210         [BZ #926]
12211         * manual/time.texi (Calendar Time): Clarify what timezone functions
12212         use.
12213
12214 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12215
12216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12217
12218 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12219
12220         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12221         implementation.
12222         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12223         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12224         * debug/memset_chk.c (__memset_chk): Likewise.
12225         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12226         * debug/strncpy_chk.c: Likewise.
12227
12228 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12229
12230         [BZ #15268]
12231         [BZ #15425]
12232         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12233         (__ieee754_exp): For possibly underflowing results, check size of
12234         result and force underflow exception if required.
12235         * math/auto-libm-test-in: Add more tests of exp.
12236         * math/auto-libm-test-out: Regenerated.
12237         * sysdeps/i386/fpu/libm-test-ulps: Update.
12238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12239
12240         [BZ #16283]
12241         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12242         * math/w_exp2f.c (__exp2f): Likewise.
12243         * math/w_exp2l.c (__exp2l): Likewise.
12244         * math/auto-libm-test-in: Do not allow missing errno on exp2
12245         underflow.
12246         * math/auto-libm-test-out: Regenerated.
12247
12248 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
12249
12250         [BZ #16274]
12251         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12252         handle filename validation.
12253         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12254         (do_open): Delete.
12255
12256 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12257
12258         [BZ #6786]
12259         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12260         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12261         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12262         <float.h>.
12263         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12264         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12265         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12266         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12267         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12268         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12269         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12270         * math/auto-libm-test-in: Don't allow missing errno from erfc.
12271         Add more erfc tests.
12272         * math/auto-libm-test-out: Regenerated.
12273         * sysdeps/i386/fpu/libm-test-ulps: Update.
12274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12275
12276         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12277         exp2, expm1, j0 and j1.
12278         * math/auto-libm-test-out: Regenerated.
12279         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12280         (erfc_test_data): Likewise.
12281         (exp_test_data): Likewise.
12282         (exp_tonearest_test_data): Likewise.
12283         (exp_towardzero_test_data): Likewise.
12284         (exp_downward_test_data): Likewise.
12285         (exp_upward_test_data): Likewise.
12286         (exp10_test_data): Likewise.
12287         (exp2_test_data): Likewise.
12288         (expm1_test_data): Likewise.
12289         (j0_test_data): Likewise.
12290         (j1_test_data): Likewise.
12291         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12292         (input_flag_type): Add flag_xfail_rounding.
12293         (input_flags): Add xfail-rounding.
12294         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12295         (output_for_one_input_case): Handle flag_xfail_rounding.
12296         * sysdeps/i386/fpu/libm-test-ulps: Update.
12297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12298
12299 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12300
12301         [BZ #16289]
12302         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12303         division by 0.
12304
12305 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12306
12307         [BZ #16195]
12308         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12309         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12310         (STAP_PROBE0): New macro.
12311         (STAP_PROBE1): Likewise.
12312         (STAP_PROBE2): Likewise.
12313         (STAP_PROBE3): Likewise.
12314         (STAP_PROBE4): Likewise.
12315
12316 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12317
12318         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12319
12320 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12321
12322         * benchtests/Makefile (bench): Add sqrt.
12323         (LDLIBS-bench-sqrt): New.
12324         * benchtests/sqrt-input: New.
12325
12326 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12327
12328         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12329         (GAIH_EAI): Likewise.
12330         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12331         (gaih_inet): Likewise.
12332         (getaddrinfo): Don't use GAIH_EAI.
12333
12334         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12335         (struct gaih): Remove definition.
12336
12337 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12338
12339         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12340         Use HERRNOP directly.
12341
12342 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12343
12344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12345
12346 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12347
12348         * math/gen-auto-libm-tests.c (test_functions): Add more
12349         single-argument functions.
12350         (special_fill_pi_2): New function.
12351         (special_fill_minus_pi_2): Likewise.
12352         (special_fill_pi_6): Likewise.
12353         (special_fill_minus_pi_6): Likewise.
12354         (special_fill_pi_3): Likewise.
12355         (special_fill_2pi_3): Likewise.
12356         (special_fill_e): Likewise.
12357         (special_fill_1_e): Likewise.
12358         (special_fill_e_minus_1): Likewise.
12359         (special_real_inputs): Add more special inputs.
12360         (output_for_one_input_case): Do not require ERANGE on underflow to
12361         zero if round-to-nearest result does not underflow to zero, unless
12362         exact results required.
12363         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12364         atan, atanh, cbrt, cos and cosh.
12365         * math/auto-libm-test-out: Regenerated.
12366         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12367         (acos_tonearest_test_data): Likewise.
12368         (acos_towardzero_test_data): Likewise.
12369         (acos_downward_test_data): Likewise.
12370         (acos_upward_test_data): Likewise.
12371         (acosh_test_data): Likewise.
12372         (asin_test_data): Likewise.
12373         (asin_tonearest_test_data): Likewise.
12374         (asin_towardzero_test_data): Likewise.
12375         (asin_upward_test_data): Likewise.
12376         (asinh_test_data): Likewise.
12377         (atan_test_data): Likewise.
12378         (atanh_test_data): Likewise.
12379         (cbrt_test_data): Likewise.
12380         (cos_test_data): Likewise.
12381         (cos_tonearest_test_data): Likewise.
12382         (cos_towardzero_test_data): Likewise.
12383         (cos_downward_test_data): Likewise.
12384         (cos_upward_test_data): Likewise.
12385         (cosh_test_data): Likewise.
12386         (cosh_tonearest_test_data): Likewise.
12387         (cosh_towardzero_test_data): Likewise.
12388         (cosh_downward_test_data): Likewise.
12389         (cosh_upward_test_data): Likewise.
12390         * sysdeps/i386/fpu/libm-test-ulps: Update.
12391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12392
12393 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12394
12395         [BZ #6787]
12396         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12397         * math/w_exp10f.c (__exp10f): Likewise.
12398         * math/w_exp10l.c (__exp10l): Likewise.
12399         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12400         errno settings in existing tests.
12401
12402         [BZ #14032]
12403         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12404         precision control set to double precision.
12405         * sysdeps/i386/fpu/w_sqrt.c: New file.
12406         * math/auto-libm-test-in: Add more tests.
12407         * math/auto-libm-test-out: Update.
12408
12409         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12410         (sqrt_test_tonearest): New function.
12411         (sqrt_towardzero_test_data): New variable.
12412         (sqrt_test_towardzero): New function.
12413         (sqrt_downward_test_data): New variable.
12414         (sqrt_test_downward): New function.
12415         (sqrt_upward_test_data): New variable.
12416         (sqrt_test_upward): New function.
12417         (main): Call the new functions.
12418
12419         * math/gen-auto-libm-tests.c: New file.
12420         * math/auto-libm-test-in: Likewise.
12421         * math/auto-libm-test-out: New generated file.
12422         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12423         variables.
12424         (%beautify): Add generated representations of zero.
12425         (top level): Set $auto_input and call parse_auto_input.
12426         (beautify): Remove trailing "f" from hex float constants.
12427         (parse_args): Handle XFAIL_TEST.
12428         (convert_condition): New function.
12429         (or_value): Likewise.
12430         (or_cond_value): Likewise.
12431         (generate_testfile): Handle AUTO_TESTS_* lines.
12432         (parse_auto_input): New function.
12433         * math/libm-test.inc (XFAIL_TEST): New macro.
12434         (ERRNO_UNCHANGED): Update value.
12435         (ERRNO_EDOM): Likewise.
12436         (ERRNO_ERANGE): Likewise.
12437         (IGNORE_RESULT): Likewise.
12438         (TEST_COND_flt_32): New macro.
12439         (TEST_COND_dbl_64): Likewise.
12440         (TEST_COND_ldbl_96_intel): Likewise.
12441         (TEST_COND_ldbl_96_m68k): Likewise.
12442         (TEST_COND_ldbl_128): Likewise.
12443         (TEST_COND_ldbl_128ibm): Likewise.
12444         (TEST_COND_long32): Likewise.
12445         (TEST_COND_long64): Likewise.
12446         (TEST_COND_before_rounding): Likewise.
12447         (TEST_COND_after_rounding): Likewise.
12448         (enable_test): Handle XFAIL_TEST flag.
12449         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12450         with finite results.
12451         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12452         auto-libm-test-out.
12453
12454 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12455             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12456
12457         [BZ #16214]
12458         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12459         __tls_get_addr_internal instead of __tls_get_offset in order to
12460         avoid GOT pointer dependency.  Make rtld export
12461         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12462         __tls_get_addr since we are a __tls_get_offset platform.
12463         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12464         GOT pointer being set up before.
12465         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12466
12467 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
12468
12469         * manual/math.texi (Errors in Math Functions): Document accuracy
12470         goals.
12471
12472         [BZ #15004]
12473         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12474         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12475         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12476         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12477         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12478         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12479         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12480         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12481         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12482         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12483         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12484         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12485         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12486         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12487         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12488         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12489
12490         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12491         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12492         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12493         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12494         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12495         Likewise.
12496         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12497         Likewise.
12498         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12499         Likewise.
12500         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12501         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12502         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12503         atomic-feupdateenv and flt-rounds.
12504         * sysdeps/powerpc/nofpu/Versions (libc): Add
12505         __atomic_feholdexcept, __atomic_feclearexcept,
12506         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12507         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12508         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12509         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12510         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12511         here.
12512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12513         Update.
12514
12515         * manual/arith.texi (FP Exceptions): Document that exceptions may
12516         not be raised when matherr is used.
12517         (Math Error Reporting): Document overflow in directed rounding
12518         modes.  Document that errno may not be set when finite values are
12519         returned on overflow.  Document intent to set errno on underflow
12520         only for underflow to zero.
12521
12522         [BZ #16271]
12523         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12524         round-to-nearest then adjust result for other rounding modes.
12525         * include/fenv.h (fegetround): Use libm_hidden_proto.
12526         * math/fegetround.c (fegetround): Use libm_hidden_def.
12527         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12528         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12529         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12530         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12531         Likewise.
12532         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12533         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12534         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12535         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12536
12537 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12538
12539         [BZ #16077]
12540         * nss/Versions (libnss_files): Add
12541         _nss_files_gethostbyname3_r.
12542         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12543         New function.
12544         (HOST_DB_LOOKUP): Remove macro.
12545         (_nss_files_gethostbyname_r): Implement function without the
12546         HOST_DB_LOOKUP macro.
12547         (_nss_files_gethostbyname2_r): Likewise.
12548
12549 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
12550
12551         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12552
12553 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
12554
12555         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12556         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12557         warning.
12558
12559 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12560
12561         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12562         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12563         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12564         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12565         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12566         __fe_nomask_env_priv and attribute_hidden.
12567         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12568         (libc_feupdateenv_test_ppc): Likewise.
12569         (libc_feresetround_ppc): Likewise.
12570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12571         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12572         compat_symbol macro.
12573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12574         (__fe_nomask_env): Likewise.
12575         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12576
12577 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12578
12579         * string/Makefile: Remove ifunc tests.
12580         * string/test-string.h: Define TEST_IFUNC.
12581         * string/test-bcopy-ifunc.c: Remove.
12582         * string/test-bzero-ifunc.c: Likewise.
12583         * string/test-memccpy-ifunc.c: Likewise.
12584         * string/test-memchr-ifunc.c: Likewise.
12585         * string/test-memcmp-ifunc.c: Likewise.
12586         * string/test-memcpy-ifunc.c: Likewise.
12587         * string/test-memmem-ifunc.c: Likewise.
12588         * string/test-memmove-ifunc.c: Likewise.
12589         * string/test-mempcpy-ifunc.c: Likewise.
12590         * string/test-memrchr-ifunc.c: Likewise.
12591         * string/test-memset-ifunc.c: Likewise.
12592         * string/test-rawmemchr-ifunc.c: Likewise.
12593         * string/test-stpcpy-ifunc.c: Likewise.
12594         * string/test-stpncpy-ifunc.c: Likewise.
12595         * string/test-strcasecmp-ifunc.c: Likewise.
12596         * string/test-strcasestr-ifunc.c: Likewise.
12597         * string/test-strcat-ifunc.c: Likewise.
12598         * string/test-strchr-ifunc.c: Likewise.
12599         * string/test-strchrnul-ifunc.c: Likewise.
12600         * string/test-strcmp-ifunc.c: Likewise.
12601         * string/test-strcpy-ifunc.c: Likewise.
12602         * string/test-strcspn-ifunc.c: Likewise.
12603         * string/test-strlen-ifunc.c: Likewise.
12604         * string/test-strncasecmp-ifunc.c: Likewise.
12605         * string/test-strncat-ifunc.c: Likewise.
12606         * string/test-strncmp-ifunc.c: Likewise.
12607         * string/test-strncpy-ifunc.c: Likewise.
12608         * string/test-strnlen-ifunc.c: Likewise.
12609         * string/test-strpbrk-ifunc.c: Likewise.
12610         * string/test-strrchr-ifunc.c: Likewise.
12611         * string/test-strspn-ifunc.c: Likewise.
12612         * string/test-strstr-ifunc.c: Likewise.
12613
12614 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12615
12616         * benchtests/Makefile: Remove ifunc tests.
12617         * benchtests/bench-string.h: Define TEST_IFUNC.
12618         * benchtests/bench-bcopy-ifunc.c: Remove.
12619         * benchtests/bench-bzero-ifunc.c: Likewise.
12620         * benchtests/bench-memccpy-ifunc.c: Likewise.
12621         * benchtests/bench-memchr-ifunc.c: Likewise.
12622         * benchtests/bench-memcmp-ifunc.c: Likewise.
12623         * benchtests/bench-memcpy-ifunc.c: Likewise.
12624         * benchtests/bench-memmem-ifunc.c: Likewise.
12625         * benchtests/bench-memmove-ifunc.c: Likewise.
12626         * benchtests/bench-mempcpy-ifunc.c: Likewise.
12627         * benchtests/bench-memrchr-ifunc.c: Likewise.
12628         * benchtests/bench-memset-ifunc.c: Likewise.
12629         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12630         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12631         * benchtests/bench-stpcpy-ifunc.c: Likewise.
12632         * benchtests/bench-stpncpy-ifunc.c: Likewise.
12633         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12634         * benchtests/bench-strcasestr-ifunc.c: Likewise.
12635         * benchtests/bench-strcat-ifunc.c: Likewise.
12636         * benchtests/bench-strchr-ifunc.c: Likewise.
12637         * benchtests/bench-strchrnul-ifunc.c: Likewise.
12638         * benchtests/bench-strcmp-ifunc.c: Likewise.
12639         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12640         * benchtests/bench-strcpy-ifunc.c: Likewise.
12641         * benchtests/bench-strcspn-ifunc.c: Likewise.
12642         * benchtests/bench-strlen-ifunc.c: Likewise.
12643         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12644         * benchtests/bench-strncat-ifunc.c: Likewise.
12645         * benchtests/bench-strncmp-ifunc.c: Likewise.
12646         * benchtests/bench-strncpy-ifunc.c: Likewise.
12647         * benchtests/bench-strnlen-ifunc.c: Likewise.
12648         * benchtests/bench-strpbrk-ifunc.c: Likewise.
12649         * benchtests/bench-strrchr-ifunc.c: Likewise.
12650         * benchtests/bench-strsep-ifunc.c: Likewise.
12651         * benchtests/bench-strspn-ifunc.c: Likewise.
12652         * benchtests/bench-strstr-ifunc.c: Likewise.
12653
12654 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12655
12656         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12657
12658 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12659
12660         * resolv/netdb.h: Use __glibc_reserved instead __unused.
12661         * rt/aio.h: Likewise.
12662         * sysdeps/gnu/bits/utmp.h: Likewise.
12663         * sysdeps/gnu/bits/utmpx.h: Likewise.
12664         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12665         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12666         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12667         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12668         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12669         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12670         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12671         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12672         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12673         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12674         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12675         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12676         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12678         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12679         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12680         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12681         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12682         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12683         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12684         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12685         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12686         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12687         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12688         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12689         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12690         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12691         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12692         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12693         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12694         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12695         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12696         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12697         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12698         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12699         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12700         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12701         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12702         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12703         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12704         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12705         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12706
12707 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
12708
12709         [BZ #16245]
12710         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12711         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12712
12713 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
12714
12715         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12716         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12717         Likewise.
12718
12719 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12720
12721         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12722         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12723         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12724         (__fesetround): Remove define.
12725         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12726         rounding and exceptions handling.
12727         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12728         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12729         (__fe_nomask_env): Likewise.
12730         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12731         __fegetround instead of fegetround.
12732         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12733         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12734
12735 2013-11-21  Roland McGrath  <roland@hack.frob.com>
12736
12737         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12738         it's there.
12739
12740         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12741
12742 2013-11-21  Meador Inge  <meadori@codesourcery.com>
12743
12744         [BZ #11157]
12745         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12746         (encrypt_r): Likewise.
12747         * malloc/obstack.h (obstack_free): Likewise.
12748         * posix/unistd.h (encrypt): Likewise.
12749
12750 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
12751
12752         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12753         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12754         DL_CALL_DT_FINI() that call the functions directly.
12755         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12756         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12757         * elf/dl-fini.c: Likewise.
12758
12759 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
12760
12761         * malloc/hooks.c (memalign_check): Add alignment rounding.
12762         * malloc/malloc.c (_mid_memalign): New function.
12763         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12764         Implement by calling _mid_memalign.
12765         * manual/probes.texi (Memory Allocation Probes): Remove
12766         memory_valloc_retry and memory_pvalloc_retry.
12767
12768 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12769
12770         * locale/programs/locarchive.c (open_archive): Add const
12771         qualifier to ARCHIVEFNAME and copy default fname to
12772         DEFAULT_FNAME.
12773
12774         [BZ #15601]
12775         * libio/tst-widetext.input: Rename Oriya to Odia.
12776         * locale/iso-639.def: Likewise.
12777
12778         * manual/probes.texi (Mathematical Function Probes): Add
12779         documentation for sin, cos, asin and acos probes.
12780         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12781         (__sin32): Add slowasin probe.
12782         (__cos32): Add slowacos probe.
12783         (__mpsin): Add slowsin probe.
12784         (__mpcos): Add slowcos probe.
12785
12786 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
12787
12788         [BZ #15483]
12789         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12790         thread-local __sim_exceptions_thread and global
12791         __sim_exceptions_global.
12792         (__sim_disabled_exceptions): Change to thread-local
12793         __sim_disabled_exceptions_thread and global
12794         __sim_disabled_exceptions_global.
12795         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12796         and global __sim_round_mode_global.
12797         (__simulate_exceptions): Use thread-local floating-point state and
12798         set global state from it as needed.
12799         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12800         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12801         __sim_round_mode_thread.
12802         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12803         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12804         and global __sim_exceptions_global.
12805         (__sim_disabled_exceptions): Change to thread-local
12806         __sim_disabled_exceptions_thread and global
12807         __sim_disabled_exceptions_global.
12808         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12809         and global __sim_round_mode_global.
12810         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12811         (SIM_SET_GLOBAL): Likewise.
12812         * sysdeps/powerpc/soft-fp/sfp-machine.h
12813         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12814         __sim_round_mode_thread.
12815         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12816         __sim_disabled_exceptions_thread.
12817         (__sim_exceptions): Change to __sim_exceptions_thread.
12818         (__sim_disabled_exceptions): Change to
12819         __sim_disabled_exceptions_thread.
12820         (__sim_round_mode): Change to __sim_round_mode_thread.
12821         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12822         thread-local floating-point state and set global state from it as
12823         needed.
12824         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12825         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12826         (__sim_disabled_exceptions): Remove extern declaration.
12827         (feenableexcept): Use thread-local floating-point state and set
12828         global state from it as needed.
12829         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12830         extern declaration.
12831         (__sim_disabled_exceptions): Likewise.
12832         (__sim_round_mode): Likewise.
12833         (__fegetenv): Use thread-local floating-point state.
12834         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12835         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12836         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12837         floating-point state and set global state from it as needed.
12838         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12839         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12840         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12841         Likewise.
12842         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12843         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12844         Likewise.
12845         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12846         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12847         Use __sim_round_mode_thread.
12848         * math/test-fenv-tls.c: New file.
12849         * math/Makefile (tests): Add test-fenv-tls.
12850         ($(objpfx)test-fenv-tls): Depend on
12851         $(common-objpfx)nptl/libpthread.so.
12852
12853 2013-11-19  Andreas Schwab  <schwab@suse.de>
12854
12855         * locale/programs/locale.c (show_info): Decode wordarray elements.
12856         * locale/categories.def (LC_MONETARY): Add element for
12857         _NL_MONETARY_CRNCYSTR.
12858         * locale/C-monetary.c (conversion_rate): New variable.
12859         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12860         element.
12861
12862 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
12863
12864         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12865         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12866
12867 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12868
12869         * elf/Makefile (tst-auxv): New test.
12870         * elf/tst-auxv.c: New
12871         * elf/rtld.c (dl_main): Adjust AT_EXECFN
12872
12873 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
12874
12875         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12876         (hidden_proto): Caller changed.
12877         (hidden_tls_proto): New macro.
12878         (libc_hidden_tls_proto): Likewise.
12879         (rtld_hidden_tls_proto): Likewise.
12880         (libm_hidden_tls_proto): Likewise.
12881         (libresolv_hidden_tls_proto): Likewise.
12882         (librt_hidden_tls_proto): Likewise.
12883         (libdl_hidden_tls_proto): Likewise.
12884         (libnss_files_hidden_tls_proto): Likewise.
12885         (libnsl_hidden_tls_proto): Likewise.
12886         (libnss_nisplus_hidden_tls_proto): Likewise.
12887         (libutil_hidden_tls_proto): Likewise.
12888
12889 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
12890
12891         [BZ #10253]
12892         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12893         (decompose_rpath): Defer expansion to fillin_rpath.
12894         (_dl_init_paths): Pass linkmap to fillin_rpath.
12895
12896 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12897
12898         * benchtests/Makefile: Add strsep.
12899         * benchtests/bench-strsep.c: New file: strsep benchtest.
12900         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12901
12902 2013-11-18  Andreas Schwab  <schwab@suse.de>
12903
12904         * locale/programs/locale.c (show_info) [case byte]: Check for
12905         '\377' instead of '\177'.
12906         * locale/C-monetary.c (not_available): Always use "\377".
12907         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12908         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
12909         detect unavailable sign_posn locale elements.
12910         * locale/localeconv.c (__localeconv): For grouping and
12911         mon_grouping handle "\177" and "\377" like no grouping.
12912         (INT_ELEM): New macro.  Use it to set all numeric members.
12913         * locale/programs/ld-monetary.c (monetary_read)
12914         <tok_mon_grouping>: Normalize single -1 to the empty string.
12915         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12916         Likewise.
12917
12918 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12919
12920         [BZ #16055]
12921         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12922         when we match (nil).
12923         * stdio-common/tst-sscanf.c (struct test): Add testcase.
12924
12925 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
12926
12927         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12928         (NO_TEST_INLINE): Update value.
12929         (ERRNO_UNCHANGED): Likewise.
12930         (ERRNO_EDOM): Likewise.
12931         (ERRNO_ERANGE): Likewise.
12932         (IGNORE_RESULT): Likewise.
12933         (check_float_internal): Check signs of NaN results if
12934         TEST_NAN_SIGN used.
12935         (check_complex): Pass TEST_NAN_SIGN flag through to second
12936         check_float_internal call.
12937         (copysign_test_data): Add tests with quiet NaNs as second
12938         argument.  Use TEST_NAN_SIGN.
12939         (fabs_test_data): Add test of negative quiet NaN argument.  Use
12940         TEST_NAN_SIGN.
12941         (signbit_test_data): Add tests of quiet NaN argument.
12942         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12943
12944         * math/gen-libm-test.pl (show_exceptions): Take extra argument
12945         $ignore_result.
12946         (parse_args): Handle function results specified as IGNORE.
12947         * math/libm-test.inc (IGNORE_RESULT): New macro.
12948         (check_float_internal): Do not check numerical result if flag
12949         IGNORE_RESULT set.
12950         (check_complex): Pass through IGNORE_RESULT to second
12951         check_float_internal call.
12952         (check_int): Do not check numerical result if flag IGNORE_RESULT
12953         set.
12954         (check_long): Likewise.
12955         (check_bool): Likewise.
12956         (check_longlong): Likewise.
12957         (lrint_test_data): Add tests of infinite and NaN arguments.
12958         (lrint_tonearest_test_data): Likewise.
12959         (lrint_towardzero_test_data): Likewise.
12960         (lrint_downward_test_data): Likewise.
12961         (lrint_upward_test_data): Likewise.
12962         (llrint_test_data): Likewise.
12963         (llrint_tonearest_test_data): Likewise.
12964         (llrint_towardzero_test_data): Likewise.
12965         (llrint_downward_test_data): Likewise.
12966         (llrint_upward_test_data): Likewise.
12967         (lround_test_data): Likewise.
12968         (llround_test_data): Likewise.
12969
12970         * math/libm-test.inc (NO_TEST_INLINE): New macro.
12971         (ERRNO_UNCHANGED): Update value.
12972         (ERRNO_EDOM): Likewise.
12973         (ERRNO_ERANGE): Likewise.
12974         (NO_TEST_INLINE_FLOAT): New macro.
12975         (NO_TEST_INLINE_DOUBLE): Likewise.
12976         (enable_test): New function.
12977         (RUN_TEST_f_f): Check enable_test before running test.
12978         (RUN_TEST_2_f): Likewise.
12979         (RUN_TEST_fff_f): Likewise.
12980         (RUN_TEST_c_f): Likewise.
12981         (RUN_TEST_f_f1): Likewise.
12982         (RUN_TEST_fF_f1): Likewise.
12983         (RUN_TEST_fI_f1): Likewise.
12984         (RUN_TEST_ffI_f1): Likewise.
12985         (RUN_TEST_c_c): Likewise.
12986         (RUN_TEST_cc_c): Likewise.
12987         (RUN_TEST_f_i): Likewise.
12988         (RUN_TEST_f_i_tg): Likewise.
12989         (RUN_TEST_ff_i_tg): Likewise.
12990         (RUN_TEST_f_b): Likewise.
12991         (RUN_TEST_f_b_tg): Likewise.
12992         (RUN_TEST_f_l): Likewise.
12993         (RUN_TEST_f_L): Likewise.
12994         (RUN_TEST_fFF_11): Likewise.
12995         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12996         conditionals.
12997         (cosh_test_data): Likewise.
12998         (exp_test_data): Likewise.
12999         (expm1_test_data): Likewise.
13000         (hypot_test_data): Likewise.
13001         (pow_test_data): Likewise.
13002         (sinh_test_data): Likewise.
13003         (tanh_test_data): Likewise.
13004         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13005         flags argument.
13006
13007         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13008         tests with quiet NaN input and output.
13009         (acosh_test_data): Likewise.
13010         (asin_test_data): Likewise.
13011         (asinh_test_data): Likewise.
13012         (atan_test_data): Likewise.
13013         (atanh_test_data): Likewise.
13014         (atan2_test_data): Likewise.
13015         (cbrt_test_data): Likewise.
13016         (cos_test_data): Likewise.
13017         (cosh_test_data): Likewise.
13018         (erf_test_data): Likewise.
13019         (erfc_test_data): Likewise.
13020         (exp_test_data): Likewise.
13021         (exp10_test_data): Likewise.
13022         (exp2_test_data): Likewise.
13023         (expm1_test_data): Likewise.
13024         (hypot_test_data): Likewise.
13025         (j0_test_data): Likewise.
13026         (j1_test_data): Likewise.
13027         (jn_test_data): Likewise.
13028         (lgamma_test_data): Likewise.
13029         (log_test_data): Likewise.
13030         (log10_test_data): Likewise.
13031         (log1p_test_data): Likewise.
13032         (log2_test_data): Likewise.
13033         (pow_test_data): Likewise.
13034         (scalb_test_data): Likewise.
13035         (sin_test_data): Likewise.
13036         (sincos_test_data): Likewise.
13037         (sinh_test_data): Likewise.
13038         (tan_test_data): Likewise.
13039         (tanh_test_data): Likewise.
13040         (tgamma_test_data): Likewise.
13041         (y0_test_data): Likewise.
13042         (y1_test_data): Likewise.
13043         (yn_test_data): Likewise.
13044
13045         [BZ #16167]
13046         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13047         argument being NaN and avoid computations with second argument in
13048         that case.
13049         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13050         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13051         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13052
13053 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
13054
13055         * locale/iso-639.def: Add Chitwani Tharu (the).
13056
13057 2013-11-14  Andreas Schwab  <schwab@suse.de>
13058
13059         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13060         word instead of empty string.
13061
13062 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13063
13064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13065         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13067         (__fe_nomask_env): Likewise.
13068
13069 2013-11-13  Steve Ellcey  <sellcey@mips.com>
13070
13071         * benchtests/bench-timing.h: Include time.h.
13072
13073 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
13074
13075         [BZ #15997]
13076         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13077         to 3.4.0 for x32.
13078         * sysdeps/unix/sysv/linux/configure: Regenerated.
13079
13080 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
13081
13082         [BZ #16151]
13083         * stdlib/strtod_l.c (round_and_return): Do not consider
13084         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13085         exponent one less than half the least subnormal exponent.
13086         * stdlib/test-strtod-round-data: Add more tests.
13087         * stdlib/tst-strtod-round.c (tests): Regenerated.
13088
13089 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13090
13091         [BZ #14143]
13092         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13093         (__fe_mask_env): Likewise.
13094         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13095         libm_hidden_proto and add function prototype.
13096         (__fe_mask_env): Add function prototype.
13097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13098         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13100         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13102         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13103
13104 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13105
13106         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13107         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13108
13109 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13110
13111         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13112         of htab_find_slot().
13113
13114 2013-11-11  David S. Miller  <davem@davemloft.net>
13115
13116         [BZ #16150]
13117         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13118         symbol in the non-vis3 case in static builds.
13119         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13120         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13121         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13122         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13123
13124 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13125
13126         [BZ #387]
13127         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13128         it is empty.
13129
13130 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13131
13132         * benchtests/Makefile: Add bench-strtod.
13133         * benchtests/bench-strtod.c: New file: strtod benchtest
13134
13135 2013-11-11  Andreas Schwab  <schwab@suse.de>
13136
13137         [BZ #16153]
13138         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13139         terminating NUL in key length.
13140
13141 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13142
13143         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13144         Add artificial ODP entry for vDSO symbol for PPC64.
13145         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13146         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13147
13148 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13149
13150         [BZ #15374]
13151         * nss/getent.c (services_keys): Recognize services starting with digit.
13152
13153 2013-11-06  David S. Miller  <davem@davemloft.net>
13154
13155         [BZ #15985]
13156         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13157         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13158
13159 2013-11-06  Will Newton  <will.newton@linaro.org>
13160
13161         * manual/memory.texi (Malloc Examples): Remove register
13162         keyword from examples.
13163
13164 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
13165
13166         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13167
13168 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
13169
13170         [BZ #6981]
13171         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13172         depending on [__GCC_IEC_559 > 0].
13173         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13174         depending on [__GCC_IEC_559_COMPLEX > 0].
13175
13176 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
13177
13178         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13179         to iso-639.def.
13180
13181 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
13182
13183         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13184
13185 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
13186
13187         [BZ #16112]
13188         * malloc/malloc (malloc_info): Do not handle first bin as
13189         special case.
13190
13191 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
13192
13193         * locale/iso-639.def: Add Central Nahuatl (nhn).
13194
13195 2013-11-01  Bruno Haible  <bruno@clisp.org>
13196
13197         [BZ #7003]
13198         * manual/math.texi (BSD Random): Specify range upper bound as
13199         in POSIX.
13200
13201 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
13202
13203         * locale/iso-639.def: Add Meadow Mari (mhr).
13204
13205 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
13206
13207         [BZ #14752], [BZ #15763]
13208         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13209         Validate name.
13210         * rt/tst_shm.c: Add test for escaping directory.
13211
13212 2013-10-31  Andreas Schwab  <schwab@suse.de>
13213
13214         [BZ #15917]
13215         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13216         followed by 'x' as part of digit sequence.
13217         * stdio-common/tst-sscanf.c (double_tests2): New tests.
13218
13219 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13220
13221         [BZ #16037]
13222         * configure.ac: allow GNU Make 4.0 and greater.
13223         * configure: Regenerated.
13224
13225 2013-10-30  Will Newton  <will.newton@linaro.org>
13226
13227         [BZ #16038]
13228         * malloc/hooks.c (memalign_check): Limit alignment to the
13229         maximum representable power of two.
13230         * malloc/malloc.c (__libc_memalign): Likewise.
13231         * malloc/tst-memalign.c (do_test): Add test for very
13232         large alignment values.
13233         * malloc/tst-posix_memalign.c (do_test): Likewise.
13234
13235 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13236
13237         [BZ #11087]
13238         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13239         (munmap_chunk): Likewise.
13240         (mremap_chunk): Likewise.
13241
13242 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13243
13244         [BZ #15799]
13245         * stdlib/div.c (div): Remove obsolete code.
13246         * stdlib/ldiv.c (ldiv): Likewise.
13247         * stdlib/lldiv.c (lldiv): Likewise.
13248
13249 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13250
13251         [BZ #16071]
13252         * nss/nss_files/files-XXX.c (get_contents_ret): New
13253         enumerator.
13254         (get_contents): New function.
13255         (internal_getent): Use it.  Expand size of LINEBUFLEN.
13256
13257 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
13258
13259         * configure.in: Moved to ...
13260         * configure.ac: ... here. Change reference to configure.in
13261         to configure.ac.
13262         * sysdeps/arm/preconfigure.ac: ... here.
13263         configure.in to configure.ac.
13264         * sysdeps/gnu/configure.in: Moved to ...
13265         * sysdeps/gnu/configure.ac: ... here.
13266         * sysdeps/i386/configure.in: Moved to ...
13267         * sysdeps/i386/configure.ac: ... here.
13268         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13269         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13270         * sysdeps/mach/configure.in: Moved to ...
13271         * sysdeps/mach/configure.ac: ... here.
13272         * sysdeps/mach/hurd/configure.in: Moved to ...
13273         * sysdeps/mach/hurd/configure.ac: ... here.
13274         * sysdeps/powerpc/configure.in: Moved to ...
13275         * sysdeps/powerpc/configure.ac: ... here.
13276         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13277         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13278         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13279         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13280         * sysdeps/s390/s390-32/configure.in: Moved to ...
13281         * sysdeps/s390/s390-32/configure.ac: ... here.
13282         * sysdeps/s390/s390-64/configure.in: Moved to ...
13283         * sysdeps/s390/s390-64/configure.ac: ... here.
13284         * sysdeps/sh/configure.in: Moved to ...
13285         * sysdeps/sh/configure.ac: ... here.
13286         * sysdeps/sparc/configure.in: Moved to ...
13287         * sysdeps/sparc/configure.ac: ... here.
13288         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13289         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13290         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13291         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13292         * sysdeps/x86_64/configure.in: Moved to ...
13293         * sysdeps/x86_64/configure.ac: ... here.
13294         * sysdeps/x86_64/preconfigure.in: Moved to ...
13295         * sysdeps/x86_64/preconfigure.ac: ... here.
13296         * aclocal.m4: Change reference to configure.in to configure.ac.
13297         * config.h.in: Likewise.
13298         * manual/install.texi: Likewise.
13299         * manual/maint.texi: Likewise.
13300         * Makefile: Likewise.
13301         * malloc/Makefile: Likewise.
13302         * nscd/Makefile: Likewise.
13303         * Makeconfig: Change reference to configure.in and
13304         preconfigure.in to configure.ac and preconfigure.ac
13305         respectively.
13306         * INSTALL: Regenerated.
13307         * configure: Likewise.
13308         * sysdeps/gnu/configure: Likewise.
13309         * sysdeps/i386/configure: Likewise.
13310         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13311         * sysdeps/mach/configure: Likewise.
13312         * sysdeps/mach/hurd/configure: Likewise.
13313         * sysdeps/powerpc/configure: Likewise.
13314         * sysdeps/powerpc/powerpc32/configure: Likewise.
13315         * sysdeps/powerpc/powerpc64/configure: Likewise.
13316         * sysdeps/s390/s390-32/configure: Likewise.
13317         * sysdeps/s390/s390-64/configure: Likewise.
13318         * sysdeps/sh/configure: Likewise.
13319         * sysdeps/sparc/configure: Likewise.
13320         * sysdeps/unix/sysv/linux/configure: Likewise.
13321         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13322         * sysdeps/x86_64/configure: Likewise.
13323         * sysdeps/x86_64/preconfigure: Likewise.
13324
13325 2013-10-29  Andreas Schwab  <schwab@suse.de>
13326
13327         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13328
13329 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13330
13331         * benchtests/pow-inputs: Add new inputs.
13332
13333         * benchtests/exp-inputs: Add new inputs.
13334
13335         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13336         conditional check for return value.
13337         (__cos32): Likewise.
13338
13339 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13340
13341         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13342         to provide a boost for large inputs with word alignment.
13343         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13344         implementation based on optimized PPC64 strcpy.
13345         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13346         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13347         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13348         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13349
13350 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13351
13352         [BZ #2801]
13353         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13354
13355 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13356
13357         [BZ #14876]
13358         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13359         * time/tst-strptime.c (day_tests): Add testcase.
13360
13361 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13362
13363         [BZ #14029]
13364         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13365
13366 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13367
13368         [BZ #16074]
13369         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13370         MAP_FAILED on error.
13371
13372 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13373
13374         [BZ #16072]
13375         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13376         heap for large requests.
13377
13378 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13379
13380         [BZ #9954]
13381         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13382         result if the result has no associated interface.
13383         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13384         interface for all 127.X.Y.Z addresses.
13385
13386 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13387
13388         * locale/iso-639.def: Add Ligurian (lij)
13389
13390 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13391
13392         [BZ #15825]
13393         * sunrpc/rpc_main.c: Document rpcgen -5.
13394
13395 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13396
13397         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13398
13399 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13400
13401         [BZ #10278]
13402         * posix/glob.c: Match only directories when trailing slash is present.
13403         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13404         (main): Add testcase.
13405
13406 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13407
13408         [BZ #15670]
13409         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13410
13411 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13412
13413         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13414         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13415         AUTH_DES and cindex for FIPS 140-2.
13416         (DES Encryption): Add cindex FIPS 46-3.
13417
13418         * locale/locarchive.h (struct locarhandle): Add fname.
13419         * locale/programs/localedef.c (main): Pass ARGV[remaining]
13420         if an optional argument was specified to --list-archive,
13421         otherwise NULL.
13422         * locale/programs/locarchive.c (show_archive_content): Take new
13423         argument fname and pass it via ah.fname to open_archive.
13424         * locale/programs/localedef.h: Update decl.
13425         (open_archive): If AH->fname is non-null, open that file
13426         rather than the default file name, and don't ignore ENOENT.
13427         (create_archive): Set AH.fname to NULL.
13428         (delete_locales_from_archive): Likewise.
13429         (add_locales_to_archive): Likewise.
13430         * locale/programs/locfile.c (write_all_categories): Likewise.
13431
13432 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
13433             Aldy Hernandez  <aldyh@redhat.com>
13434
13435         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13436         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13437         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13438         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13439         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13440         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13441         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13442         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13443         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13444         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13445         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13446         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13447         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13448         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13449         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13450         Likewise.
13451         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13452         Likewise.
13453         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13454         Likewise.
13455         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13456         Likewise.
13457         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13458         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13459         Likewise.
13460         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13461         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13462         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13463         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13464         Likewise.
13465         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13466         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13467         * sysdeps/powerpc/preconfigure: Likewise.
13468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13469         Likewise.
13470         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13471         Replace contents of file by #include of <fenv_libc.h>.
13472         * sysdeps/powerpc/soft-fp/sfp-machine.h
13473         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13474         and <sys/prctl.h>.
13475         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13476         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13477         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13478         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13479         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13480         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13481         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13482         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13483         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13484         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13485         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13486         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13488         Allow copysignl PLT reference to be missing.
13489
13490 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
13491             Joseph Myers  <joseph@codesourcery.com
13492
13493         [BZ #15948]
13494         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13495         single character.
13496         (add_to_tablewc): Assert sequence of wide characters is nonempty.
13497
13498 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13499
13500         * elf/tst-tls-dlinfo.c: Don't include tls.h.
13501         * elf/tst-tls1.c: Likewise.
13502         * elf/tst-tls10.h: Likewise.
13503         * elf/tst-tls14.c: Likewise.
13504         * elf/tst-tls2.c: Likewise.
13505         * elf/tst-tls3.c: Likewise.
13506         * elf/tst-tls4.c: Likewise.
13507         * elf/tst-tls5.c: Likewise.
13508         * elf/tst-tls6.c: Likewise.
13509         * elf/tst-tls7.c: Likewise.
13510         * elf/tst-tls8.c: Likewise.
13511         * elf/tst-tls9.c: Likewise.
13512         * elf/tst-tlsmod1.c: Likewise.
13513         * elf/tst-tlsmod13.c: Likewise.
13514         * elf/tst-tlsmod13a.c: Likewise.
13515         * elf/tst-tlsmod14a.c: Likewise.
13516         * elf/tst-tlsmod16a.c: Likewise.
13517         * elf/tst-tlsmod16b.c: Likewise.
13518         * elf/tst-tlsmod2.c: Likewise.
13519         * elf/tst-tlsmod3.c: Likewise.
13520         * elf/tst-tlsmod4.c: Likewise.
13521         * elf/tst-tlsmod5.c: Likewise.
13522         * elf/tst-tlsmod6.c: Likewise.
13523
13524 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
13525
13526         [BZ #12486]
13527         * malloc/malloc.c: remove checks for statistics.
13528
13529 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13530
13531         [BZ #15277]
13532         * inet/inet_net.c (inet_network): Detect additional invalid strings.
13533         * inet/tst-network.c: Add testcase.
13534
13535 2013-10-17  Andreas Schwab  <schwab@suse.de>
13536
13537         [BZ #15218]
13538         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13539         to determine canonical name.
13540
13541 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13542
13543         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13544         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13545         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13546         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13547         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13548         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13549         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13550         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13551         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13552         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13553         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13554         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13555         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13556         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13557         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13558         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13559         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13560         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13561         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13562         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13563         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13564         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13565         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13566         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13567         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13568         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13569         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13570         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13571         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13572         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13573         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13574         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13575         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13576         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13577         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13578         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13579         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13580         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13581         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13582         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13583         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13584         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13585         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13586         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13587         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13588         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13589         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13590         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13591         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13592         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13593         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13594         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13595         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13596         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13597         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13598         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13599         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13600         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13601
13602 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
13603
13604         [BZ #16041]
13605         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13606         make result into a quiet NaN.
13607
13608 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
13609
13610         * soft-fp/adddf3.c: Fix horizontal whitespace.
13611         * soft-fp/addsf3.c: Likewise.
13612         * soft-fp/addtf3.c: Likewise.
13613         * soft-fp/divdf3.c: Likewise.
13614         * soft-fp/divsf3.c: Likewise.
13615         * soft-fp/divtf3.c: Likewise.
13616         * soft-fp/double.h: Likewise.
13617         * soft-fp/eqdf2.c: Likewise.
13618         * soft-fp/eqsf2.c: Likewise.
13619         * soft-fp/eqtf2.c: Likewise.
13620         * soft-fp/extenddftf2.c: Likewise.
13621         * soft-fp/extended.h: Likewise.
13622         * soft-fp/extendsfdf2.c: Likewise.
13623         * soft-fp/extendsftf2.c: Likewise.
13624         * soft-fp/extendxftf2.c: Likewise.
13625         * soft-fp/fixdfdi.c: Likewise.
13626         * soft-fp/fixdfsi.c: Likewise.
13627         * soft-fp/fixdfti.c: Likewise.
13628         * soft-fp/fixsfdi.c: Likewise.
13629         * soft-fp/fixsfsi.c: Likewise.
13630         * soft-fp/fixsfti.c: Likewise.
13631         * soft-fp/fixtfdi.c: Likewise.
13632         * soft-fp/fixtfsi.c: Likewise.
13633         * soft-fp/fixtfti.c: Likewise.
13634         * soft-fp/fixunsdfdi.c: Likewise.
13635         * soft-fp/fixunsdfsi.c: Likewise.
13636         * soft-fp/fixunsdfti.c: Likewise.
13637         * soft-fp/fixunssfdi.c: Likewise.
13638         * soft-fp/fixunssfsi.c: Likewise.
13639         * soft-fp/fixunssfti.c: Likewise.
13640         * soft-fp/fixunstfdi.c: Likewise.
13641         * soft-fp/fixunstfsi.c: Likewise.
13642         * soft-fp/fixunstfti.c: Likewise.
13643         * soft-fp/floatdidf.c: Likewise.
13644         * soft-fp/floatdisf.c: Likewise.
13645         * soft-fp/floatditf.c: Likewise.
13646         * soft-fp/floatsidf.c: Likewise.
13647         * soft-fp/floatsisf.c: Likewise.
13648         * soft-fp/floatsitf.c: Likewise.
13649         * soft-fp/floattidf.c: Likewise.
13650         * soft-fp/floattisf.c: Likewise.
13651         * soft-fp/floattitf.c: Likewise.
13652         * soft-fp/floatundidf.c: Likewise.
13653         * soft-fp/floatundisf.c: Likewise.
13654         * soft-fp/floatunditf.c: Likewise.
13655         * soft-fp/floatunsidf.c: Likewise.
13656         * soft-fp/floatunsisf.c: Likewise.
13657         * soft-fp/floatunsitf.c: Likewise.
13658         * soft-fp/floatuntidf.c: Likewise.
13659         * soft-fp/floatuntisf.c: Likewise.
13660         * soft-fp/floatuntitf.c: Likewise.
13661         * soft-fp/fmadf4.c: Likewise.
13662         * soft-fp/fmasf4.c: Likewise.
13663         * soft-fp/fmatf4.c: Likewise.
13664         * soft-fp/gedf2.c: Likewise.
13665         * soft-fp/gesf2.c: Likewise.
13666         * soft-fp/getf2.c: Likewise.
13667         * soft-fp/ledf2.c: Likewise.
13668         * soft-fp/lesf2.c: Likewise.
13669         * soft-fp/letf2.c: Likewise.
13670         * soft-fp/muldf3.c: Likewise.
13671         * soft-fp/mulsf3.c: Likewise.
13672         * soft-fp/multf3.c: Likewise.
13673         * soft-fp/negdf2.c: Likewise.
13674         * soft-fp/negsf2.c: Likewise.
13675         * soft-fp/negtf2.c: Likewise.
13676         * soft-fp/op-1.h: Likewise.
13677         * soft-fp/op-2.h: Likewise.
13678         * soft-fp/op-4.h: Likewise.
13679         * soft-fp/op-8.h: Likewise.
13680         * soft-fp/op-common.h: Likewise.
13681         * soft-fp/quad.h: Likewise.
13682         * soft-fp/single.h: Likewise.
13683         * soft-fp/soft-fp.h: Likewise.
13684         * soft-fp/sqrtdf2.c: Likewise.
13685         * soft-fp/sqrtsf2.c: Likewise.
13686         * soft-fp/sqrttf2.c: Likewise.
13687         * soft-fp/subdf3.c: Likewise.
13688         * soft-fp/subsf3.c: Likewise.
13689         * soft-fp/subtf3.c: Likewise.
13690         * soft-fp/truncdfsf2.c: Likewise.
13691         * soft-fp/trunctfdf2.c: Likewise.
13692         * soft-fp/trunctfsf2.c: Likewise.
13693         * soft-fp/trunctfxf2.c: Likewise.
13694         * soft-fp/unorddf2.c: Likewise.
13695         * soft-fp/unordsf2.c: Likewise.
13696         * soft-fp/unordtf2.c: Likewise.
13697
13698 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
13699
13700         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13701         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13702
13703 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
13704
13705         * elf/dl-libc.c: Clear initfini list after freeing.
13706
13707 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
13708
13709         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13710         * soft-fp/addsf3.c: Likewise.
13711         * soft-fp/addtf3.c: Likewise.
13712         * soft-fp/divdf3.c: Likewise.
13713         * soft-fp/divsf3.c: Likewise.
13714         * soft-fp/divtf3.c: Likewise.
13715         * soft-fp/double.h: Likewise.
13716         * soft-fp/eqdf2.c: Likewise.
13717         * soft-fp/eqsf2.c: Likewise.
13718         * soft-fp/eqtf2.c: Likewise.
13719         * soft-fp/extenddftf2.c: Likewise.
13720         * soft-fp/extended.h: Likewise.
13721         * soft-fp/extendsfdf2.c: Likewise.
13722         * soft-fp/extendsftf2.c: Likewise.
13723         * soft-fp/extendxftf2.c: Likewise.
13724         * soft-fp/fixdfdi.c: Likewise.
13725         * soft-fp/fixdfsi.c: Likewise.
13726         * soft-fp/fixdfti.c: Likewise.
13727         * soft-fp/fixsfdi.c: Likewise.
13728         * soft-fp/fixsfsi.c: Likewise.
13729         * soft-fp/fixsfti.c: Likewise.
13730         * soft-fp/fixtfdi.c: Likewise.
13731         * soft-fp/fixtfsi.c: Likewise.
13732         * soft-fp/fixtfti.c: Likewise.
13733         * soft-fp/fixunsdfdi.c: Likewise.
13734         * soft-fp/fixunsdfsi.c: Likewise.
13735         * soft-fp/fixunsdfti.c: Likewise.
13736         * soft-fp/fixunssfdi.c: Likewise.
13737         * soft-fp/fixunssfsi.c: Likewise.
13738         * soft-fp/fixunssfti.c: Likewise.
13739         * soft-fp/fixunstfdi.c: Likewise.
13740         * soft-fp/fixunstfsi.c: Likewise.
13741         * soft-fp/fixunstfti.c: Likewise.
13742         * soft-fp/floatdidf.c: Likewise.
13743         * soft-fp/floatdisf.c: Likewise.
13744         * soft-fp/floatditf.c: Likewise.
13745         * soft-fp/floatsidf.c: Likewise.
13746         * soft-fp/floatsisf.c: Likewise.
13747         * soft-fp/floatsitf.c: Likewise.
13748         * soft-fp/floattidf.c: Likewise.
13749         * soft-fp/floattisf.c: Likewise.
13750         * soft-fp/floattitf.c: Likewise.
13751         * soft-fp/floatundidf.c: Likewise.
13752         * soft-fp/floatundisf.c: Likewise.
13753         * soft-fp/floatunsidf.c: Likewise.
13754         * soft-fp/floatunsisf.c: Likewise.
13755         * soft-fp/floatuntidf.c: Likewise.
13756         * soft-fp/floatuntisf.c: Likewise.
13757         * soft-fp/floatuntitf.c: Likewise.
13758         * soft-fp/fmadf4.c: Likewise.
13759         * soft-fp/fmasf4.c: Likewise.
13760         * soft-fp/fmatf4.c: Likewise.
13761         * soft-fp/gedf2.c: Likewise.
13762         * soft-fp/gesf2.c: Likewise.
13763         * soft-fp/getf2.c: Likewise.
13764         * soft-fp/ledf2.c: Likewise.
13765         * soft-fp/lesf2.c: Likewise.
13766         * soft-fp/letf2.c: Likewise.
13767         * soft-fp/muldf3.c: Likewise.
13768         * soft-fp/mulsf3.c: Likewise.
13769         * soft-fp/multf3.c: Likewise.
13770         * soft-fp/negdf2.c: Likewise.
13771         * soft-fp/negsf2.c: Likewise.
13772         * soft-fp/negtf2.c: Likewise.
13773         * soft-fp/op-1.h: Likewise.
13774         * soft-fp/op-2.h: Likewise.
13775         * soft-fp/op-4.h: Likewise.
13776         * soft-fp/op-8.h: Likewise.
13777         * soft-fp/op-common.h: Likewise.
13778         * soft-fp/quad.h: Likewise.
13779         * soft-fp/single.h: Likewise.
13780         * soft-fp/soft-fp.h: Likewise.
13781         * soft-fp/sqrtdf2.c: Likewise.
13782         * soft-fp/sqrtsf2.c: Likewise.
13783         * soft-fp/sqrttf2.c: Likewise.
13784         * soft-fp/subdf3.c: Likewise.
13785         * soft-fp/subsf3.c: Likewise.
13786         * soft-fp/subtf3.c: Likewise.
13787         * soft-fp/truncdfsf2.c: Likewise.
13788         * soft-fp/trunctfdf2.c: Likewise.
13789         * soft-fp/trunctfsf2.c: Likewise.
13790         * soft-fp/trunctfxf2.c: Likewise.
13791         * soft-fp/unorddf2.c: Likewise.
13792         * soft-fp/unordsf2.c: Likewise.
13793         * soft-fp/unordtf2.c: Likewise.
13794
13795 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
13796
13797         [BZ #15672]
13798         * misc/error.c (error_tail): Fix possible buffer overflow.
13799
13800 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
13801
13802         [BZ #13028]
13803         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13804         address.
13805
13806 2013-10-14  P. J. McDermott  <pj@pehjota.net>
13807
13808         [BZ #832]
13809         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
13810         testing pipefail option.
13811
13812 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13813
13814         * soft-fp/double.h: Indent preprocessor directives inside #if.
13815         * soft-fp/extended.h: Likewise.
13816         * soft-fp/op-2.h: Likewise.
13817         * soft-fp/op-4.h: Likewise.
13818         * soft-fp/op-common.h: Likewise.
13819         * soft-fp/quad.h: Likewise.
13820         * soft-fp/single.h: Likewise.
13821         * soft-fp/soft-fp.h: Likewise.
13822
13823 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
13824
13825         * iconv/iconv_prog.c: Fix typos.
13826         * stdio-common/psiginfo-data.h: Likewise.
13827
13828 2013-10-12   Reuben Thomas <rrt@sc3d.org>
13829
13830         [BZ #15764]
13831         * locale/setlocale.c: Fix typo.
13832
13833 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13834
13835         [BZ #16036]
13836         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13837         signaling NaN arguments.
13838         * soft-fp/unordsf2.c (__unordsf2): Likewise.
13839         * soft-fp/unordtf2.c (__unordtf2): Likewise.
13840
13841         [BZ #14910]
13842         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13843         unordered operands.
13844         * soft-fp/gesf2.c (__gesf2): Likewise.
13845         * soft-fp/getf2.c (__getf2): Likewise.
13846         * soft-fp/ledf2.c (__ledf2): Likewise.
13847         * soft-fp/lesf2.c (__lesf2): Likewise.
13848         * soft-fp/letf2.c (__letf2): Likewise.
13849
13850         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13851         * soft-fp/eqsf2.c (__eqsf2): Likewise.
13852         * soft-fp/eqtf2.c (__eqtf2): Likewise.
13853         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13854         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13855         * soft-fp/fixdfti.c (__fixdfti): Likewise.
13856         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13857         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13858         * soft-fp/fixsfti.c (__fixsfti): Likewise.
13859         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13860         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13861         * soft-fp/fixtfti.c (__fixtfti): Likewise.
13862         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13863         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13864         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13865         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13866         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13867         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13868         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13869         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13870         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13871         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13872         * soft-fp/floatdisf.c (__floatdisf): Likewise.
13873         * soft-fp/floatsisf.c (__floatsisf): Likewise.
13874         * soft-fp/floattidf.c (__floattidf): Likewise.
13875         * soft-fp/floattisf.c (__floattisf): Likewise.
13876         * soft-fp/floattitf.c (__floattitf): Likewise.
13877         * soft-fp/floatundidf.c (__floatundidf): Likewise.
13878         * soft-fp/floatundisf.c (__floatundisf): Likewise.
13879         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13880         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13881         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13882         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13883         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13884         * soft-fp/gesf2.c (__gesf2): Likewise.
13885         * soft-fp/getf2.c (__getf2): Likewise.
13886         * soft-fp/ledf2.c (__ledf2): Likewise.
13887         * soft-fp/lesf2.c (__lesf2): Likewise.
13888         * soft-fp/letf2.c (__letf2): Likewise.
13889
13890         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13891         Undefine and redefine.
13892         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13893         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13894         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13895         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13896         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13897         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13898         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13899         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13900         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13901         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13902         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13903         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13904         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13905         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13906         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13907
13908         [BZ #16032]
13909         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13910         without decrementing exponent if mantissa >= that for the
13911         denominator, not >.
13912         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13913         denominator, not >.  Decrement exponent in < case instead of
13914         incrementing in >= case.
13915         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13916         without decrementing exponent if mantissa >= that for the
13917         denominator, not >.
13918
13919         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13920         computing saturated result for unsigned overflow.
13921
13922 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13923             Jeff Law  <law@redhat.com>
13924
13925         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13926         (atan2Mp): Add systemtap probe marker.
13927         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13928         (__ieee754_log): Add systemtap probe marker.
13929         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13930         (atanMp): Add systemtap probe marker.
13931         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13932         (tanMp): Add systemtap probe marker.
13933         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13934         (__slowexp): Add systemtap probe marker.
13935         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13936         (__slowpow): Add systemtap probe marker.
13937         * manual/probes.texi: Document probes.
13938
13939 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
13940
13941         [BZ #15362]
13942         * libio/fileops.c (_IO_new_file_write): Return count of bytes
13943         written.
13944         (_IO_new_file_xsputn): Don't return EOF if nothing has been
13945         written.
13946         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13947         written to buffer but not flushed.
13948         * libio/iofwrite_u.c:  Likewise.
13949         * libio/iopadn.c:  Return bytes returned even if EOF was
13950         encountered.
13951         * libio/iowpadn.c:  Likewise.
13952         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13953         if _IO_padn does not write the whole buffer.
13954         [!COMPILE_WPRINTF] (PAD): Likewise.
13955
13956 2013-10-10  David S. Miller  <davem@davemloft.net>
13957
13958         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13959         directory block.
13960
13961 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13962
13963         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
13964         instead of FSF address.
13965         * soft-fp/fixdfti.c: Likewise.
13966         * soft-fp/fixsfti.c: Likewise.
13967         * soft-fp/fixtfti.c: Likewise.
13968         * soft-fp/fixunsdfti.c: Likewise.
13969         * soft-fp/fixunssfti.c: Likewise.
13970         * soft-fp/fixunstfti.c: Likewise.
13971         * soft-fp/floattidf.c: Likewise.
13972         * soft-fp/floattisf.c: Likewise.
13973         * soft-fp/floattitf.c: Likewise.
13974         * soft-fp/floatuntidf.c: Likewise.
13975         * soft-fp/floatuntisf.c: Likewise.
13976         * soft-fp/floatuntitf.c: Likewise.
13977         * soft-fp/trunctfxf2.c: Likewise.
13978
13979         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
13980         * soft-fp/fixdfti.c: Likewise.
13981         * soft-fp/fixsfti.c: Likewise.
13982         * soft-fp/fixtfti.c: Likewise.
13983         * soft-fp/fixunsdfti.c: Likewise.
13984         * soft-fp/fixunssfti.c: Likewise.
13985         * soft-fp/fixunstfti.c: Likewise.
13986         * soft-fp/floattidf.c: Likewise.
13987         * soft-fp/floattisf.c: Likewise.
13988         * soft-fp/floattitf.c: Likewise.
13989         * soft-fp/floatuntidf.c: Likewise.
13990         * soft-fp/floatuntisf.c: Likewise.
13991         * soft-fp/floatuntitf.c: Likewise.
13992         * soft-fp/trunctfxf2.c: Likewise.
13993
13994 2013-10-10  David S. Miller  <davem@davemloft.net>
13995
13996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13997
13998 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
13999
14000         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14001         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14002         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14003         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14004         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14005         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14006         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14007
14008         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14009         for NaNs before doing comparisons on argument.
14010         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14011         Likewise.
14012
14013 2013-10-10  Will Newton  <will.newton@linaro.org>
14014
14015         * malloc/hooks.c (memalign_check): Ensure the value of bytes
14016         passed to _int_memalign does not overflow.
14017
14018 2013-10-10  Torvald Riegel  <triegel@redhat.com>
14019
14020         * scripts/bench.pl: Add include-sources directive.
14021         * benchtests/README: Update documentation.
14022
14023 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14024
14025         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14026         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14027         instead of FP_INIT_ROUNDMODE.
14028         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14029         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14030
14031         [BZ #16034]
14032         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
14033         copy class of input value.
14034         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
14035         not handle exceptions.
14036         * soft-fp/negsf2.c (__negsf2): Likewise.
14037         * soft-fp/negtf2.c (__negtf2): Likewise.
14038         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14039
14040 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
14041
14042         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14043         semicolon.  From Linux kernel.
14044
14045 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
14046
14047         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14048
14049 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
14050
14051         [BZ #156]
14052         * manual/socket.texi: Added statement about buffer
14053         for gethostbyname2_r.
14054
14055 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
14056
14057         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14058         Use .p2align directive instead, throughout.
14059         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14060         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14061         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14062         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14063         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14064         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14065         * sysdeps/x86_64/strchr.S: Likewise.
14066         * sysdeps/x86_64/strrchr.S: Likewise.
14067
14068 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14069
14070         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14071
14072         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14073
14074         * sysdeps/generic/math_private.h (__mpsin1): Remove
14075         declaration.
14076         (__mpcos1): Likewise.
14077         (__mpsin): New argument __range_reduce.
14078         (__mpcos): Likewise.
14079         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14080         (slow): Use __mpsin and __mpcos.
14081         (slow1): Likewise.
14082         (slow2): Likewise.
14083         (sloww): Likewise.
14084         (sloww1): Likewise.
14085         (sloww2): Likewise.
14086         (bsloww): Likewise.
14087         (bsloww1): Likewise.
14088         (bsloww2): Likewise.
14089         (cslow2): Likewise.
14090         (csloww): Likewise.
14091         (csloww1): Likewise.
14092         (csloww2): Likewise.
14093         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14094         range_reduce.  Merge in __mpsin1.
14095         (__mpcos): Likewise.
14096         (__mpsin1): Remove.
14097         (__mpcos1): Likewise.
14098
14099 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
14100
14101         * locale/loadlocale.c (_nl_intern_locale_data): Use
14102         LOCFILE_ALIGNED_P.
14103         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14104         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14105         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14106         obstack data is appropriately aligned.
14107         (obstack_int32_grow_fast): Likewise.
14108         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14109         * locale/programs/locfile.c (add_locale_uint32): Likewise.
14110         (add_locale_uint32_array): Likewise.
14111
14112 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14113
14114         * benchtests/Makefile: Remove ARGLIST and RET variables.
14115         ($(objpfx)bench-%.c): Pass only function name to the script.
14116         * benchtests/README: Update documentation.
14117         * benchtests/acos-inputs: Add new directives.
14118         * benchtests/acosh-inputs: Likewise.
14119         * benchtests/asin-inputs: Likewise.
14120         * benchtests/asinh-inputs: Likewise.
14121         * benchtests/atan-inputs: Likewise.
14122         * benchtests/atanh-inputs: Likewise.
14123         * benchtests/cos-inputs: Likewise.
14124         * benchtests/cosh-inputs: Likewise.
14125         * benchtests/exp-inputs: Likewise.
14126         * benchtests/log-inputs: Likewise.
14127         * benchtests/pow-inputs: Likewise.
14128         * benchtests/rint-inputs: Likewise.
14129         * benchtests/sin-inputs: Likewise.
14130         * benchtests/sinh-inputs: Likewise.
14131         * benchtests/tan-inputs: Likewise.
14132         * benchtests/tanh-inputs: Likewise.
14133         * scripts/bench.pl: Add support for new directives.
14134
14135 2013-10-07  Alan Modra  <amodra@gmail.com>
14136
14137         * README: Fix careless merge.
14138
14139 2013-10-05  Alan Modra  <amodra@gmail.com>
14140
14141         * NEWS: Mention powerpc64le support and bugs fixed.
14142         * README: Both big-endian and little-endian powerpc64 supported.
14143
14144 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14145
14146         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14147         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14148         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14149         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14150
14151 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
14152
14153         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14154         match prototype.
14155
14156 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
14157
14158         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14159         Move -mhard-float appending from
14160         ports/sysdeps/powerpc/powerpc32/Makefile.
14161         [$(with-fp) = yes] (ASFLAGS): Likewise.
14162         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14163         * sysdeps/powerpc/nofpu: Move directory from
14164         ports/sysdeps/powerpc/nofpu.
14165         * sysdeps/powerpc/soft-fp: Move directory from
14166         ports/sysdeps/powerpc/soft-fp.
14167         * sysdeps/powerpc/powerpc32/405: Move directory from
14168         ports/sysdeps/powerpc/powerpc32/405.
14169         * sysdeps/powerpc/powerpc32/440: Move directory from
14170         ports/sysdeps/powerpc/powerpc32/440.
14171         * sysdeps/powerpc/powerpc32/464: Move directory from
14172         ports/sysdeps/powerpc/powerpc32/464.
14173         * sysdeps/powerpc/powerpc32/476: Move directory from
14174         ports/sysdeps/powerpc/powerpc32/476.
14175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14176         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14178         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14180         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14182         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14184         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14185         * README: Update for powerpc-*-linux-gnu software floating point
14186         support in libc.
14187
14188         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14189         case to powerpc/powerpc32*.
14190         * sysdeps/unix/sysv/linux/configure: Regenerated.
14191
14192         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14193         (_FPU_MASK_OM): Define as 0x04.
14194         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14195         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14196         0x00c10080.
14197         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14198         0x0000003c.
14199         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14200
14201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14202         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14203         getcontext_e500.
14204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14205         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14206         setcontext_e500.
14207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14208         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14209         and setcontext_e500.
14210
14211 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
14212
14213         * locale/iso-3166.def: Update iso-1366.def and related occurrences
14214
14215 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14216
14217         * manual/threads.texi (Default Thread Attributes): Fix typo.
14218
14219 2013-10-04  Will Newton  <will.newton@linaro.org>
14220
14221         * malloc/Makefile: Add tst-memalign.
14222         * malloc/tst-memalign.c: New file.
14223
14224         * malloc/tst-posix_memalign.c: Add comments.
14225         (do_test): Add comments and call free on all potentially
14226         allocated pointers. Add space after cast.
14227
14228         * malloc/tst-pvalloc.c: Add comments.
14229         (do_test): Add comments and call free on all potentially
14230         allocated pointers. Remove duplicate check for NULL pointer.
14231         Add space after cast.
14232
14233         * malloc/tst-valloc.c: Add comments.
14234         (do_test): Add comments and call free on all potentially
14235         allocated pointers. Remove duplicate check for NULL pointer.
14236         Add space after cast.
14237
14238 2013-10-04  Alan Modra  <amodra@gmail.com>
14239
14240         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14241         Use stdint types in rather than __attribute__((mode())).
14242         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14243
14244 2013-10-04  Alan Modra  <amodra@gmail.com>
14245
14246         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14247         Correct handling of unaligned relocs for little-endian.
14248         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14249
14250 2013-10-04  Alan Modra  <amodra@gmail.com>
14251
14252         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14253         * configure: Regenerate.
14254         * nptl/shlib-versions: Powerpc*le starts at 2.18.
14255         * shlib-versions: Likewise.
14256
14257 2013-10-04  Alan Modra  <amodra@gmail.com>
14258
14259         * string/tester.c (test_memrchr): Increment reported test cycle.
14260
14261 2013-10-04  Alan Modra  <amodra@gmail.com>
14262
14263         * string/test-memcpy.c (do_one_test): When reporting errors, print
14264         string address and don't overrun end of string.
14265
14266 2013-10-04  Alan Modra  <amodra@gmail.com>
14267
14268         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14269         insrdi.  Make better use of reg selection to speed exit slightly.
14270         Schedule entry path a little better.  Remove useless "are we done"
14271         checks on entry to main loop.  Handle wrapping around zero address.
14272         Correct main loop count.  Handle single left-over word from main
14273         loop inline rather than by using loop_small.  Remove extra word
14274         case in loop_small caused by wrong loop count.  Add little-endian
14275         support.
14276         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14277         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
14278         cache hint.
14279         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14280         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14281         support.  Avoid rlwimi.
14282         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14283
14284 2013-10-04  Alan Modra  <amodra@gmail.com>
14285
14286         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14287         insrdi.  Formatting.
14288         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14289         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14290         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14291         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14292         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14293         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14294
14295 2013-10-04  Alan Modra  <amodra@gmail.com>
14296
14297         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14298         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14299         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14300         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14301         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14302         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14303         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14304         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14305         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14306         use of regs.  Use power7 mtocrf.  Tidy function tails.
14307
14308 2013-10-04  Alan Modra  <amodra@gmail.com>
14309
14310         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14311         Formatting.  Consistently use rXXX register defines or rN defines.
14312         Use early exit labels that avoid restoring unused non-volatile regs.
14313         Make cr field use more consistent with rWORDn compares.  Rename
14314         regs used as shift registers for unaligned loop, using rN defines
14315         for short lifetime/multiple use regs.
14316         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14317         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14318         addi 1,1,64 to pop stack frame.  Simplify return value code.
14319         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14320
14321 2013-10-04  Alan Modra  <amodra@gmail.com>
14322
14323         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14324         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14325         rather than rlwimi.
14326         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14327         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14328         little-endian support.  Correct typos.
14329         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14330         rather than rlwimi.
14331         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14332         in loop and entry code to keep "and." results.
14333         (strchr): Add little-endian support.  Comment.  Move cntlzd
14334         earlier in tail.
14335         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14336
14337 2013-10-04  Alan Modra  <amodra@gmail.com>
14338
14339         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14340         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14341         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14342         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14343
14344 2013-10-04  Alan Modra  <amodra@gmail.com>
14345
14346         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14347         (rTMP): Define as r11.
14348         (strcmp): Add little-endian support.  Optimise tail.
14349         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14350         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14351         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14352         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14353         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14354         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14355         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14356
14357 2013-10-04  Alan Modra  <amodra@gmail.com>
14358
14359         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14360         little-endian support.  Remove unnecessary "are we done" tests.
14361         Handle "s" wrapping around zero and extremely large "size".
14362         Correct main loop count.  Handle single left-over word from main
14363         loop inline rather than by using small_loop.  Correct comments.
14364         Delete "zero" tail, use "end_max" instead.
14365         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14366
14367 2013-10-04  Alan Modra  <amodra@gmail.com>
14368
14369         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14370         support.  Don't branch over align.
14371         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14372         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14373         support.  Rearrange tmp reg use to suit.  Comment.
14374         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14375
14376 2013-10-04  Alan Modra  <amodra@gmail.com>
14377
14378         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14379
14380 2013-10-04  Alan Modra  <amodra@gmail.com>
14381
14382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14383         conditional form of branch and link when obtaining pc.
14384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14385
14386 2013-10-04  Alan Modra  <amodra@gmail.com>
14387
14388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14389         HIWORD/LOWORD.
14390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14392
14393 2013-10-04  Alan Modra  <amodra@gmail.com>
14394
14395         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14396         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14397         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14398         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14399         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14400         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14401         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14402         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14403         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14404         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14405
14406 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14407             Alistair Popple <alistair@ozlabs.au.ibm.com>
14408             Alan Modra <amodra@gmail.com>
14409
14410         [BZ #15723]
14411         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14412         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14413         _dl_hwcap access for little-endian.
14414         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
14415         destroy vmx regs when saving unaligned.
14416         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14417         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
14418         destroy vmx regs when saving unaligned.
14419
14420 2013-10-04  Alan Modra  <amodra@gmail.com>
14421
14422         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14423         Don't use a union to pack hi/low value.
14424
14425 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14426
14427         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14428         for little-endian.
14429         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14430         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14431         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14432         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14433         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14434
14435 2013-10-04  Alan Modra  <amodra@gmail.com>
14436
14437         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14438         constants to usual value for .cst8 section, and remove redundant
14439         high address load.
14440         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14441         constant for 0x1p52.  Load little-endian words of double from
14442         correct stack offsets.
14443
14444 2013-10-04  Alan Modra  <amodra@gmail.com>
14445
14446         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14447         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14448         words of double from correct stack offsets.
14449         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14450         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14451         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14452         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14453         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14454         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14455         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14456         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14457         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14458         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14459         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14460         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14461         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14462         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14463         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14464         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14465         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14466
14467 2013-10-04  Alan Modra  <amodra@gmail.com>
14468
14469         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14470         64-bit int/double union.
14471         (_FPU_SETCW): Likewise.
14472         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14473         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14474
14475 2013-10-04  Alan Modra  <amodra@gmail.com>
14476
14477         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14478         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14479
14480 2013-10-04  Alan Modra  <amodra@gmail.com>
14481
14482         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14483         use vector int constants.
14484         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14485
14486 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14487
14488         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14489         array with long long.
14490         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14491         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14492         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14493         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14494         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14495         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14496         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14497         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14498         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14499         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14500         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14501         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14502         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14503
14504 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14505
14506         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14507         (__signbit): Likewise.  Correct for little-endian.
14508         (__signbitl): Call __signbit.
14509         (lrint): Correct for little-endian.
14510         (lrintf): Call lrint.
14511
14512 2013-10-04  Alan Modra  <amodra@gmail.com>
14513
14514         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14515         union 32-bit int array member with 64-bit int array.
14516         (t515, tm256): Double rather than long double.
14517         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14518
14519 2013-10-04  Alan Modra  <amodra@gmail.com>
14520
14521         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14522         Delete.
14523         (IEEE854_LONG_DOUBLE_BIAS): Delete.
14524         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14525         version of math_ldbl.h.
14526
14527 2013-10-04  Alan Modra  <amodra@gmail.com>
14528
14529         [BZ #15734], [BZ #15735]
14530         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14531         all uses of ieee875 long double macros and unions.  Simplify test
14532         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
14533         ldbl_extract_mantissa value for ix,iy exponents.  Properly
14534         normalize after ldbl_extract_mantissa, and don't add hidden bit
14535         already handled.  Don't treat low word of ieee854 mantissa like
14536         low word of IBM long double and mask off bit when testing for
14537         zero.
14538         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14539         all uses of ieee875 long double macros and unions.  Simplify tests
14540         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
14541         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
14542         two1022, instead use their values.  Recognise that tests for large
14543         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
14544         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14545         Rewrite all uses of ieee875 long double macros and unions.  Simplify
14546         test for 0.0L and nan.  Correct negation.
14547         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14548         ieee875 long double macros and unions.  Correct output for large
14549         magnitude x.  Correct absolute value calculation.
14550         (__erfcl): Likewise.
14551         * math/libm-test.inc: Add tests for errors discovered in IBM long
14552         double versions of fmodl, remainderl, erfl and erfcl.
14553
14554 2013-10-04  Alan Modra  <amodra@gmail.com>
14555
14556         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14557         all uses of ieee854 long double macros and unions.  Simplify tests
14558         for long doubles that are fully specified by the high double.
14559         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14560         Likewise.
14561         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14562         Remove dead code too.
14563         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14564         (__ieee754_ynl): Likewise.
14565         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14566         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14567         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14568         Remove dead code too.
14569         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14570         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14571         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14572         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14573         Simplify.
14574         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14575         Simplify.
14576         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14577         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14578         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14579         Comment on variable precision.
14580         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14581         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14582         Likewise.
14583         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14584         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14585         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14586         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14587         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14588
14589 2013-10-04  Alan Modra  <amodra@gmail.com>
14590
14591         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14592         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14593         all uses of ieee854 long double macros and unions.
14594         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14595         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14596         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14597         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14598         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14599         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14600         Likewise.
14601         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14602         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14603         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14604         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14605         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14606         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14607         Simplify sign and nan test too.
14608         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14609         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14610         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14611         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14612         Likewise.
14613         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14614         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14615         Likewise.
14616         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14617         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14618         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14619         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14620         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14621         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14622
14623 2013-10-04  Alan Modra  <amodra@gmail.com>
14624
14625         * stdio-common/printf_size.c (__printf_size): Don't use
14626         union ieee854_long_double in fpnum union.
14627         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
14628         signbit macro to retrieve sign from long double.
14629         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14630         retrieve sign from long double.
14631         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14632         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14633         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14634         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14635         * math/test-misc.c (main): Don't use union ieee854_long_double.
14636
14637 2013-10-04  Alan Modra  <amodra@gmail.com>
14638
14639         [BZ #15680]
14640         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14641         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14642         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14643         calculation.  Remove unnecessary test for denormal exponent.
14644         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14645         Correct handling of denormals.  Avoid undefined shift behaviour.
14646         Correct normalisation of low mantissa when low double is denormal.
14647         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14648         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
14649         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14650         Correct normalisation of low mantissa.  Test for overflow of high
14651         mantissa and normalise.
14652         (ldbl_nearbyint): Use more readable constant for two52.
14653         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14654         (__mpn_construct_long_double): Fix test for overflow of high
14655         mantissa and correct normalisation.  Avoid undefined shift.
14656
14657 2013-10-04  Alan Modra  <amodra@gmail.com>
14658
14659         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14660         (union ibm_extended_long_double): Define as an array of ieee754_double.
14661         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14662         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14663         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14664         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14665         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14666         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14667         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14668         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14669         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14670         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14671         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14672
14673 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
14674
14675         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14676         page size instead of calling getpagesize.
14677
14678         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14679         (LOCFILE_ALIGN_MASK): Likewise.
14680         (LOCFILE_ALIGN_UP): Likewise.
14681         (LOCFILE_ALIGNED_P): Likewise.
14682         * locale/programs/ld-collate.c (collate_output): Use the new
14683         macros instead of __alignof__ (int32_t).
14684         * locale/weight.h (findidx): Likewise.
14685
14686 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
14687
14688         [BZ #431]
14689         * manual/string.texi: Fix strncat and wcsncat.
14690
14691 2013-10-03  Brooks Moses  <bmoses@google.com>
14692
14693         [BZ #15915]
14694         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14695         * Makerules: ...here, and adjust associated comments.
14696
14697 2013-10-02  Will Newton  <will.newton@linaro.org>
14698
14699         * malloc/Makefile: Add tst-pvalloc.
14700         * malloc/tst-pvalloc.c: New file.
14701
14702 2013-10-02  Will Newton  <will.newton@linaro.org>
14703
14704         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14705         improve test coverage.
14706
14707 2013-10-02  Will Newton  <will.newton@linaro.org>
14708
14709         * malloc/Makefile: Add tst-posix_memalign.
14710         * malloc/tst-posix_memalign.c: New file.
14711
14712 2013-10-01  Eric Blake  <eblake@redhat.com>
14713
14714         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14715         Use __THROWNL rather than __THROW on static functions.
14716
14717 2013-09-30  Petr Machata  <pmachata@redhat.com>
14718
14719         * elf/elf.h (R_AARCH64_ABS16): New macro.
14720         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14721         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14722         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14723         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14724         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14725         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14726         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14727         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14728         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14729         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14730         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14731         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14732         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14733         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14734         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14735         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14736         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14737         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14738         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14739         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14740         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14741         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14742         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14743         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14744         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14745         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14746         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14747         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14748         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14749         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14750         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14751         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14752         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14753         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14754         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14755         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14756         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14757         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14758         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14759         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14760         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14761         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14762         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14763         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14764         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14765         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14766         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14767         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14768         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14769         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14770         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14771         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14772         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14773         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14774         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14775         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14776         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14777         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14778         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14779         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14780         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14781         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14782         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14783         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14784         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14785         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14786         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14787         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14788         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14789         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14790         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14791         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14792         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14793         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14794         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14795         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14796         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14797         (R_AARCH64_TLSDESC_LDR): Likewise.
14798         (R_AARCH64_TLSDESC_ADD): Likewise.
14799         (R_AARCH64_TLSDESC_CALL): Likewise.
14800
14801 2013-09-30  Andreas Schwab  <schwab@suse.de>
14802
14803         [BZ #15048]
14804         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14805         the nss database lookup.
14806         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14807         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14808
14809 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
14810
14811         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14812
14813 2013-09-28  P. J. McDermott  <pj@pehjota.net>
14814
14815         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14816         ${Bash-specific parameter/pattern/string} parameter expansion.
14817         * sysdeps/unix/make-syscalls.sh: Likewise.
14818
14819 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14820
14821         * sysdeps/sh/stackguard-macros.h: New file.
14822
14823 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
14824
14825         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14826         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14827         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14828         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14829         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14830         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14831
14832 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14833
14834         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14835         Fix thread ID register.
14836
14837 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
14838
14839         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14840         [POSIX || UNIX98]: Require rather than permitting all symbols from
14841         <time.h>.
14842         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14843         element of struct sched_param.
14844         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14845         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14846         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14847         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14848         constant.
14849
14850 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
14851
14852         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14853         argument calculation.
14854
14855 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14856
14857         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14858         Expect macro.
14859         [POSIX] (pthread_attr_t): Do not require type.
14860         [POSIX] (pthread_cond_t): Likewise.
14861         [POSIX] (pthread_condattr_t): Likewise.
14862         [POSIX] (pthread_key_t): Likewise.
14863         [POSIX] (pthread_mutex_t): Likewise.
14864         [POSIX] (pthread_mutexattr_t): Likewise.
14865         [POSIX] (pthread_once_t): Likewise.
14866         [POSIX] (pthread_t): Likewise.
14867         [POSIX-based standards] (pthread_atfork): Expect function.
14868
14869 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14870             Richard Sandiford  <richard@codesourcery.com>
14871
14872         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14873         (swap_endianness_p): New extern variable.
14874         (set_big_endian): New inline function.
14875         (maybe_swap_uint32): Likewise.
14876         (maybe_swap_uint32_array): Likewise.
14877         (maybe_swap_uint32_obstack): Likewise.
14878         * locale/programs/locfile.c: Include <stdbool.h>.
14879         (swap_endianness_p): New variable.
14880         (add_locale_uint32): Call maybe_swap_uint32.
14881         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14882         (write_locale_data): Call maybe_swap_uint32_array.
14883         * locale/programs/ld-collate.c (obstack_int32_grow): Call
14884         maybe_swap_uint32.
14885         (obstack_int32_grow_fast): Likewise.
14886         (output_weightwc): Call maybe_swap_uint32_obstack.
14887         (collate_output): Likewise.
14888         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14889         (OPT_LITTLE_ENDIAN): Likewise.
14890         (options): Add --little-endian and --big-endian options.
14891         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14892         * locale/programs/locarchive.c: Include "locfile.h".
14893         (GET): New macro.
14894         (SET): Likewise.
14895         (INC): Likewise.
14896         (create_archive): Use the new macros to access fields of
14897         structures directly mapped from or written to locale archives.
14898         (oldlocrecentcmp): Likewise.
14899         (enlarge_archive): Likewise.
14900         (insert_name): Likewise.
14901         (add_alias): Likewise.
14902         (add_locale): Likewise.
14903         (delete_locales_from_archive): Likewise.
14904         (show_archive_content): Likewise.
14905         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
14906         locale data.
14907
14908 2013-09-24  Roland McGrath  <roland@hack.frob.com>
14909
14910         * manual/freemanuals.texi: Updated from (newly) canonical copy at
14911         http://www.gnu.org/doc/freemanuals.texi.
14912         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14913
14914 2013-09-24  Will Newton  <will.newton@linaro.org>
14915
14916         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14917         macro.
14918
14919 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
14920
14921         * locale/hashval.h (compute_hashval): Interpret bytes of key as
14922         unsigned char.
14923
14924 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
14925
14926         * manual/threads.texi (POSIX Threads): Fix a typo.
14927
14928 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14929
14930         [BZ #14547]
14931         * string/tst-strcoll-overflow.c: New test case.
14932         * string/Makefile (xtests): Add tst-strcoll-overflow.
14933         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14934         cache if string sizes may cause integer overflow.
14935
14936         [BZ #14547]
14937         * string/strcoll_l.c (coll_seq): New members rule, idx,
14938         save_idx and back_us.
14939         (get_next_seq_nocache): New function.
14940         (do_compare_nocache): New function.
14941         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14942         when malloc fails.
14943
14944 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
14945
14946         [BZ #15754]
14947         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14948         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14949         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14950
14951         [BZ #15754]
14952         * elf/Makefile (tests): Add tst-ptrguard1.
14953         (tests-static): Add tst-ptrguard1-static.
14954         (tst-ptrguard1-ARGS): Define.
14955         (tst-ptrguard1-static-ARGS): Define.
14956         * elf/tst-ptrguard1.c: New file.
14957         * elf/tst-ptrguard1-static.c: New file.
14958         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14959         * sysdeps/i386/stackguard-macros.h: Likewise.
14960         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14961         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14962         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14963         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14964         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14965         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14966
14967 2013-09-23  Hector Marco  <hecmargi@upv.es>
14968             Ismael Ripoll  <iripoll@disca.upv.es>
14969             Carlos O'Donell  <carlos@redhat.com>
14970
14971         [BZ #15754]
14972         * sysdeps/generic/stackguard-macros.h: Define
14973         __pointer_chk_guard_local and POINTER_CHK_GUARD.
14974         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14975         Define __pointer_chk_guard_local.
14976         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14977         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14978
14979 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
14980
14981         [BZ #15859]
14982         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14983
14984 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
14985
14986         * include/string.h (__ffs): Declare as hidden.
14987         * string/ffs.c (__ffs): Define as hidden.
14988         * sysdeps/i386/ffs.c (__ffs): Likewise.
14989         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14990         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14991         * sysdeps/s390/ffs.c (__ffs): Likewise.
14992         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14993
14994 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
14995
14996         * NEWS: Mention malloc probes.
14997
14998         * malloc/arena.c (new_heap): New memory_heap_new probe.
14999         (grow_heap): New memory_heap_more probe.
15000         (shrink_heap): New memory_heap_less probe.
15001         (heap_trim): New memory_heap_free probe.
15002         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15003         (systrim): New memory_sbrk_less probe.
15004         * manual/probes.texi: Document them.
15005
15006         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15007         * manual/probes.texi: Document it.
15008
15009         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15010         (__libc_realloc): Add memory_realloc_retry probe.
15011         (__libc_memalign): Add memory_memalign_retry probe.
15012         (__libc_valloc): Add memory_valloc_retry probe.
15013         (__libc_pvalloc): Add memory_pvalloc_retry probe.
15014         (__libc_calloc): Add memory_calloc_retry probe.
15015         * manual/probes.texi: Document them.
15016
15017         * malloc/arena.c (get_free_list): Add probe
15018         memory_arena_reuse_free_list.
15019         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15020         and memory_arena_reuse.
15021         (arena_get2) [!PER_THREAD]: Likewise.
15022         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15023         memory_arena_reuse_realloc.
15024         * manual/probes.texi: Document them.
15025
15026         * malloc/malloc.c (__libc_free): Add
15027         memory_mallopt_free_dyn_thresholds probe.
15028         (__libc_mallopt): Add multiple memory_mallopt probes.
15029         * manual/probes.texi: Document them.
15030
15031         * malloc/malloc.c: Include stap-probe.h.
15032         (__libc_mallopt): Add memory_mallopt probe.
15033         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15034         * manual/probes.texi: New.
15035         * manual/Makefile (chapters): Add probes.
15036         * manual/threads.texi: Set next node.
15037
15038 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
15039
15040         [BZ #15963, #13985]
15041         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15042         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15043         Add `Chinese' to `nan' entry name.
15044
15045 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15046
15047         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15048         (POLYNOMIAL): Likewise.
15049         (TAYLOR_SINCOS): Likewise.
15050         (TAYLOR_SLOW): Likewise.
15051         (__sin): Use TAYLOR_SINCOS.
15052         (__cos): Likewise.
15053         (slow): Use TAYLOR_SLOW.
15054         (sloww): Likewise.
15055         (bsloww): Likewise.
15056         (csloww): Likewise.
15057
15058 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15059
15060         * stdlib/strtod_l.c: Fix buffer overrun.
15061
15062 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15063
15064         * benchtests/Makefile (bench): Add sincos.
15065         * benchtests/bench-sincos.c: New file.
15066
15067         * math/libm-test.inc (cos_test_data): New test inputs.
15068         (sin_test_data): Likewise.
15069
15070         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15071         macro.
15072         (__sin): Use it.
15073         (__cos): Likewise.
15074         (slow1): Likewise.
15075         (slow2): Likewise.
15076         (sloww1): Likewise.
15077         (sloww2): Likewise.
15078         (bsloww1): Likewise.
15079         (bsloww2): Likewise.
15080         (cslow2): Likewise.
15081         (csloww1): Likewise.
15082         (csloww2): Likewise.
15083
15084         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15085         function.
15086         (__sin): Use it.
15087         (__cos): Likewise.
15088
15089         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15090         gotos.
15091         (__cos): Likewise.
15092
15093 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
15094
15095         * config.h.in (HAVE_MIPS_NAN2008): New macro.
15096         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15097         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15098         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15099         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15100         * elf/cache.c (print_entry): Handle the new cache flags.
15101
15102 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15103             Aldy Hernandez  <aldyh@redhat.com>
15104
15105         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15106         Change condition to [_SOFT_FLOAT].
15107         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15108         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15109         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15110         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15111         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15112         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15113         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15114         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15115         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15116         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15117         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15118         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15119         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15120         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15121         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15122         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15123         declaration.
15124
15125 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15126
15127         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15128         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15129         (__longjmp): Use LOAD_GP to load saved GPRs.
15130         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15131         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15132         (__sigsetjmp): Use SAVE_GP to save GPRs.
15133
15134         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15135         Do not append -msoft-float.
15136         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15137
15138 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15139
15140         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15141
15142 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
15143
15144         [BZ #15966]
15145         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15146         (_FPU_GETCW): Use initial "__" on variable and field names but not
15147         on macro parameter name.
15148         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
15149         parentheses around reference to macro parameter.
15150
15151 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
15152
15153         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15154         prototype.
15155         (ctype_startup): Use uint32_t in cast and sizeof for
15156         ctype->charnames.
15157
15158 2013-09-11  Jia Liu  <proljc@gmail.com>
15159
15160         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15161         __daddr_t_defined.
15162         [__FreeBSD__]: Likewise.
15163
15164 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
15165
15166         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15167         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15168         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15169         (strchr): Remove __strchr_sse42 ifunc selection.
15170         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15171         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15172
15173 2013-09-11  Will Newton  <will.newton@linaro.org>
15174
15175         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15176         parameter to RES. Remove hardcoded 1000 value.
15177         * benchtests/bench-skeleton.c (main): Pass RES parameter
15178         to TIMING_INIT and multiply result by 1000.
15179
15180 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15181
15182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15183
15184 2013-09-11  Andreas Schwab  <schwab@suse.de>
15185
15186         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15187         if not defined.
15188         (O_TMPFILE) [__USE_GNU]: Define.
15189         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15190         Define.
15191
15192 2013-09-11  Will Newton  <will.newton@linaro.org>
15193
15194         [BZ #15857]
15195         * malloc/malloc.c (__libc_memalign): Check the value of bytes
15196         does not overflow.
15197
15198 2013-09-11  Will Newton  <will.newton@linaro.org>
15199
15200         [BZ #15856]
15201         * malloc/malloc.c (__libc_valloc): Check the value of bytes
15202         does not overflow.
15203
15204 2013-09-11  Will Newton  <will.newton@linaro.org>
15205
15206         [BZ #15855]
15207         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15208         does not overflow.
15209
15210 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
15211
15212         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15213         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15214         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15215         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15216         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15217
15218 2013-09-10  Allan McRae  <allan@archlinux.org>
15219
15220         [BZ #15748]
15221         * manual/arith.texi (Parsing of Floats): Clarify
15222         cross-reference.
15223
15224         [BZ #15849]
15225         * manual/install.texi (Running make install): Mention
15226         --enable-pt-chown.
15227         * INSTALL: Regenerated.
15228
15229 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
15230
15231         * csu/init-first.c (_init): Remove the !SHARED condition around
15232         FPU control word initialization.
15233         * elf/dl-support.c (_dl_fpu_control): New variable.
15234         (_dl_aux_init) <AT_FPUCW>: Initialize it.
15235         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15236         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15237         * math/test-fpucw-static.c: New file.
15238         * math/test-fpucw-ieee.c: New file.
15239         * math/test-fpucw-ieee-static.c: New file.
15240         * math/Makefile (tests): Add `test-fpucw-ieee' and
15241         `$(tests-static)'.
15242         (tests-static): New variable.
15243         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15244         dependency to...
15245         [($(build-shared),yes)]
15246         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15247         ... this.
15248         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15249         New dependency.
15250
15251 2013-09-09  Allan McRae  <allan@archlinux.org>
15252
15253         [BZ #15939]
15254         * manual/string.texi (Collation Functions): Fix typo in
15255         strcoll example.
15256         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15257
15258         [BZ #15893]
15259         * stdlib/isomac.c (get_null_defines): Fix memory leak.
15260
15261         [BZ #15892]
15262         * libio/memstream.c (open_memstream): Fix memory leak.
15263         * libio/wmemstream.c (open_wmemstream): Likewise.
15264
15265         [BZ #15895]
15266         * nscd/netgroupcache.c: Fix nesting of ifdefs.
15267
15268 2013-09-09  Will Newton  <will.newton@linaro.org>
15269
15270         * malloc/Makefile: Add tst-realloc to tests.
15271         * malloc/tst-realloc.c: New file.
15272
15273 2013-09-09  Allan McRae  <allan@archlinux.org>
15274
15275         [BZ #15844]
15276         * COPYING: Update from GNU website to fix FSF address.
15277         * COPYING.LIB: Likewise.
15278
15279 2013-09-06  David S. Miller  <davem@davemloft.net>
15280
15281         * po/zh_TW.po: Update Chinese (traditional) translation from
15282         translation project.
15283
15284 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15285             Joseph Myers  <joseph@codesourcery.com>
15286
15287         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15288         "localeinfo.h".
15289         (obstack_chunk_alloc): New macro.
15290         (obstack_chunk_free): Likewise.
15291         (record_offset): New function.
15292         (init_locale_data): Likewise.
15293         (align_locale_data): Likewise.
15294         (add_locale_empty): Likewise.
15295         (add_locale_raw_data): Likewise.
15296         (add_locale_raw_obstack): Likewise.
15297         (add_locale_string): Likewise.
15298         (add_locale_wstring): Likewise.
15299         (add_locale_uint32): Likewise.
15300         (add_locale_uint32_array): Likewise.
15301         (add_locale_char): Likewise.
15302         (start_locale_structure): Likewise.
15303         (end_locale_structure): Likewise.
15304         (start_locale_prelude): Likewise.
15305         (end_locale_prelude): Likewise.
15306         (write_locale_data): Take locale_file structure rather than an
15307         iovec.
15308         * locale/programs/locfile.h: Include "obstack.h".
15309         (struct locale_file): Change to store locale file contents instead
15310         of header.
15311         (init_locale_data): New prototype.
15312         (align_locale_data): Likewise.
15313         (add_locale_empty): Likewise.
15314         (add_locale_raw_data): Likewise.
15315         (add_locale_raw_obstack): Likewise.
15316         (add_locale_string): Likewise.
15317         (add_locale_wstring): Likewise.
15318         (add_locale_uint32): Likewise.
15319         (add_locale_uint32_array): Likewise.
15320         (add_locale_char): Likewise.
15321         (start_locale_structure): Likewise.
15322         (end_locale_structure): Likewise.
15323         (start_locale_prelude): Likewise.
15324         (end_locale_prelude): Likewise.
15325         (write_locale_data): Update prototype.
15326         * locale/programs/3level.h (struct TABLE): Remove result field.
15327         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15328         Use new locale_file interface.
15329         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15330         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15331         * locale/programs/ld-address.c (address_output): Use new
15332         locale_file interface.
15333         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15334         NO_ADD_LOCALE.
15335         (collate_finish): Don't call collseq_table_finalize.
15336         (collate_output): Use new locale_file interface.
15337         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15338         in file.
15339         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15340         (TABLE): Move defines earlier in file.
15341         (ELEMENT): Likewise.
15342         (DEFAULT): Likewise.
15343         (wctrans_table_add): Move macro and inline function earlier in
15344         file.
15345         (struct wctype_table): Move type earlier in file.
15346         (add_locale_wctype_table): New static prototype.
15347         (struct locale_ctype_t): Use logical types instead of struct iovec
15348         pointers for members.
15349         (ctype_output): Use new locale_file interface.
15350         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15351         new locale_file interface.
15352         (allocate_arrays): Update for use of new locale_file interface.
15353         * locale/programs/ld-identification.c (identification_output): Use
15354         new locale_file interface.
15355         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15356         * locale/programs/ld-messages.c (messages_output): Likewise.
15357         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15358         * locale/programs/ld-name.c (name_output): Likewise.
15359         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15360         * locale/programs/ld-paper.c (paper_output): Likewise.
15361         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15362         * locale/programs/ld-time.c (time_output): Likewise.
15363
15364 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15365
15366         * benchtests/Makefile: Add memrchr benchmark.
15367         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15368         benchmark as memrchr.
15369         * benchtests/bench-memrchr-ifunc.c: New file.
15370         * benchtests/bench-memrchr.c: New file.
15371
15372 2013-09-06   Will Newton  <will.newton@linaro.org>
15373
15374         * benchtests/Makefile (string-bench): Add memcpy.
15375
15376 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15377             Cong Wang  <amwang@redhat.com>
15378
15379         [BZ #15850]
15380         * sysdeps/unix/sysv/linux/bits/in.h
15381         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15382         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15383         before __USE_KERNEL_IPV6_DEFS uses.
15384         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15385         IPPROTO_BEETPH.
15386         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15387         sockaddr_in6, or ipv6_mreq.
15388
15389 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15390
15391         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15392         memory access for final bytes in some large inputs.
15393         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15394
15395 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15396
15397         * string/test-memrchr.c: New file.
15398         * string/test-memrchr-ifunc.c: New file.
15399         * string/Makefile: Add new memrchr testcase.
15400
15401 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15402
15403         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15404         fanotify_init returns EPERM.
15405
15406 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15407
15408         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15409         errors.
15410         (top level): Treat second token from macro or constant entries for
15411         allowed headers as allowed.
15412         * include/complex.h: Condition internal declarations on
15413         [!_ISOMAC].
15414         * include/fenv.h: Condition include of <stdbool.h> and internal
15415         declarations on [!_ISOMAC].
15416
15417 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
15418
15419         [BZ #15923]
15420         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15421
15422 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15423
15424         * configure.in (--enable-versioning): Remove configure option.
15425         (libc_cv_asm_symver_directive): Remove configure test.
15426         (libc_cv_ld_version_script_option): Likewise.
15427         (VERSIONING): Remove variable and AC_SUBST.
15428         (DO_VERSIONING): Remove AC_DEFINE.
15429         * configure: Regenerated.
15430         * config.h.in (DO_VERSIONING): Remove macro.
15431         * Makerules [$(versioning) = yes]: Change conditionals to
15432         [$(build-shared) = yes].
15433         * config.make.in (versioning): Remove variable.
15434         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15435         [$(build-shared) = yes].
15436         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15437         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15438         * elf/Makefile [$(versioning) = yes]: Change conditionals to
15439         [$(build-shared) = yes].
15440         * extra-lib.mk [$(versioning) = yes]: Likewise.
15441         * hurd/Makefile [$(versioning) = yes]: Likewise.
15442         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15443         [SHARED].
15444         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15445         [SHARED].
15446         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15447         [SHARED && !NO_HIDDEN].
15448         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15449         [SHARED].
15450         [SHARED && DO_VERSIONING]: Likewise..
15451         * libio/Makefile [$(versioning) = yes]: Change conditionals to
15452         [$(build-shared) = yes].
15453         * manual/install.texi (--disable-versioning): Remove
15454         documentation.
15455         * INSTALL: Regenerated.
15456         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15457         to [SHARED].
15458         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15459         [$(build-shared) = yes].
15460         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15461         * sysdeps/i386/i686/multiarch/strstr-c.c
15462         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15463         [SHARED && !NO_HIDDEN].
15464         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15465         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15466         * sysdeps/powerpc/powerpc32/dl-machine.c
15467         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15468         * sysdeps/powerpc/powerpc32/sysdep.h
15469         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15470         to [SHARED && PIC && !NO_HIDDEN].
15471         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15472         conditional to [SHARED].
15473
15474 2013-09-04   Will Newton  <will.newton@linaro.org>
15475
15476         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15477         * benchtests/bench-string.h: Include bench-timing.h instead
15478         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15479         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15480         call to HP_TIMING_DIFF_INIT.
15481         * benchtests/bench-memccpy.c: Use bench-timing.h macros
15482         instead of hp-timing.h macros.
15483         * benchtests/bench-memchr.c: Likewise.
15484         * benchtests/bench-memcmp.c: Likewise.
15485         * benchtests/bench-memcpy.c: Likewise.
15486         * benchtests/bench-memmem.c: Likewise.
15487         * benchtests/bench-memmove.c: Likewise.
15488         * benchtests/bench-memset.c: Likewise.
15489         * benchtests/bench-rawmemchr.c: Likewise.
15490         * benchtests/bench-strcasecmp.c: Likewise.
15491         * benchtests/bench-strcasestr.c: Likewise.
15492         * benchtests/bench-strcat.c: Likewise.
15493         * benchtests/bench-strchr.c: Likewise.
15494         * benchtests/bench-strcmp.c: Likewise.
15495         * benchtests/bench-strcpy.c: Likewise.
15496         * benchtests/bench-strcpy_chk.c: Likewise.
15497         * benchtests/bench-strlen.c: Likewise.
15498         * benchtests/bench-strncasecmp.c: Likewise.
15499         * benchtests/bench-strncat.c: Likewise.
15500         * benchtests/bench-strncmp.c: Likewise.
15501         * benchtests/bench-strncpy.c: Likewise.
15502         * benchtests/bench-strnlen.c: Likewise.
15503         * benchtests/bench-strpbrk.c: Likewise.
15504         * benchtests/bench-strrchr.c: Likewise.
15505         * benchtests/bench-strspn.c: Likewise.
15506         * benchtests/bench-strstr.c: Likewise.
15507
15508 2013-09-04  Will Newton  <will.newton@linaro.org>
15509
15510         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15511
15512 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
15513
15514         [BZ #15427]
15515         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15516         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15517         * math/libm-test.inc (lgamma_test_data): Add more tests.
15518         * sysdeps/i386/fpu/libm-test-ulps: Update.
15519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15520
15521 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
15522
15523         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15524         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15525         Add ifunc.
15526         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15527         Add strcmp-sse2-unaligned
15528         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15529
15530 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15531
15532         * Versions.def (libc): Add GLIBC_2.19.
15533
15534 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15535
15536         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15537         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15538
15539 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
15540
15541         [BZ #14155]
15542         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15543         intermediate calculations in recurrence.
15544         (__ieee754_ynf): Likewise.
15545         * math/libm-test.inc (jn_test_data): Do not allow spurious
15546         underflow exception.  Add more tests.
15547         (yn_test_data): Add more tests.
15548         * sysdeps/i386/fpu/libm-test-ulps: Update.
15549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15550
15551 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
15552
15553         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15554
15555 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15556
15557         * csu/init-first.c: Fix then/than typos.
15558         * locale/programs/ld-collate.c: Likewise.
15559         * locale/programs/linereader.h: Likewise.
15560         * manual/charset.texi: Likewise.
15561         * manual/filesys.texi: Likewise.
15562         * manual/stdio.texi: Likewise.
15563         * manual/string.texi: Likewise.
15564         * stdlib/fmtmsg.c: Likewise.
15565         * sysdeps/i386/stpncpy.S: Likewise.
15566         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15567         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15568         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15569         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15570
15571 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15572
15573         * elf/dl-open.c: Fix typos.
15574         * iconvdata/gbbig5.c: Likewise.
15575         * iconvdata/iso-2022-jp.c: Likewise.
15576         * iconv/gconv_int.h: Likewise.
15577         * iconv/loop.c: Likewise.
15578         * nis/rpcsvc/nis.h: Likewise.
15579         * resolv/ns_name.c: Likewise.
15580         * stdio-common/vfscanf.c: Likewise.
15581         * streams/stropts.h: Likewise.
15582         * sunrpc/rpc_thread.c: Likewise.
15583         * sysdeps/i386/strpbrk.S: Likewise.
15584         * sysdeps/ieee754/k_standard.c: Likewise.
15585         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15586         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15587         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15588         * sysdeps/mach/hurd/profil.c: Likewise.
15589         * sysdeps/s390/dl-procinfo.h: Likewise.
15590         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15591         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15592         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15593         * sysdeps/x86_64/dl-trampoline.S: Likewise.
15594         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15595
15596 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
15597
15598         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15599         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15600
15601 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
15602
15603         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15604         aix specific files.
15605         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15606         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15607         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15608         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15609         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15610         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15611         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15612         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15613
15614 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15615             Roland McGrath  <roland@hack.frob.com>
15616
15617         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15618         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15619
15620 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15621
15622         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15623         __executable_start symbol instead of _start.
15624
15625 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15626
15627         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15628         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15629         Move macros to...
15630         * sysdeps/gnu/ldsodefs.h: ... this new file.
15631
15632         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15633         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15634         instead of ELFOSABI_LINUX.
15635
15636         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15637         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15638         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15639         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15640         Likewise.
15641         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15642         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15643         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15644         Likewise.
15645         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15646         (ibm_extended_long_double): Add ieee_nan member.
15647         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15648         (do_test): New function.
15649
15650         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15651         TEST_TRUNC.
15652         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15653         functions, renamed from truncdfsf_test, trunctfsf_test,
15654         trunctfdf_test.
15655         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15656         functions.
15657         (do_test): Run all these.
15658
15659 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
15660
15661         * argp/argp-help.c: Fix typos.
15662         * argp/argp-parse.c: Likewise.
15663         * debug/backtracesyms.c: Likewise.
15664         * elf/elf.h: Likewise.
15665         * malloc/malloc.c: Likewise.
15666         * nis/nis_print.c: Likewise.
15667         * resolv/res_comp.c: Likewise.
15668         * stdlib/stdlib.h: Likewise.
15669         * sunrpc/clnt_tcp.c: Likewise.
15670         * sunrpc/clnt_udp.c: Likewise.
15671         * sunrpc/clnt_unix.c: Likewise.
15672         * sysdeps/unix/bsd/ptsname.c: Likewise.
15673         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15674         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15676         Likewise.
15677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15678         Likewise.
15679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15680         Likewise.
15681         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15682
15683 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15684
15685         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15686         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15687
15688 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
15689
15690         [BZ #15897]
15691         * dlfcn/Makefile (tests): Add bug-dl-leaf.
15692         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15693         ($(objpfx)bug-dl-leaf): New rule.
15694         ($(objpfx)bug-dl-leaf.so): Likewise.
15695         ($(objpfx)bug-dl-leaf.out): Likewise.
15696         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15697         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15698         * dlfcn/bug-dl-leaf.c: New test.
15699         * dlfcn/bug-dl-leaf-lib.c: Likewise.
15700         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15701         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15702         (dlclose): Likewise.
15703         (dlmopen): Likewise.
15704
15705 2013-08-27  Roland McGrath  <roland@hack.frob.com>
15706
15707         * include/netdb.h [!_ISOMAC]:
15708         Don't include <tls.h>.
15709         (h_errno, __libc_h_errno): Move declaration and macros out of
15710         [_LIBC_REENTRANT].
15711
15712         * include/resolv.h [_RESOLV_H_]:
15713         Don't include <tls.h>.
15714         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15715         * resolv/res_libc.c: Don't include <tls.h>.
15716         (_res): Use __attribute__ ((nocommon)) in place of
15717         __attribute__ ((section (".bss"))).
15718
15719         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15720         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15721
15722         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15723
15724         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15725         only under [SIOCGIFCONF && SIOCGIFNETMASK].
15726
15727         * resolv/res_mkquery.c: Include <sys/time.h>.
15728
15729         * inet/ifreq.c: Moved to ...
15730         * sysdeps/unix/ifreq.c: ... here.
15731         * inet/ifreq.c: New file, true stub version.
15732
15733         * socket/sa_len.c: New file.
15734         * socket/Makefile (aux): Add it.
15735         * sysdeps/unix/sysv/linux/Makefile
15736         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15737         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15738         and #include <socket/sa_len.c>.
15739         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15740         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15741
15742         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15743         * bits/socket.h: ... here.
15744
15745         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15746         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15747         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15748
15749 2013-08-27  Andreas Schwab  <schwab@suse.de>
15750
15751         [BZ #15736]
15752         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15753         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15754         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15755         * string/test-strcasecmp.c (test_main): Run tests in several
15756         locales.
15757         * string/test-strncasecmp.c (test_main): Likewise.
15758
15759         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15760         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15761         to __strcasecmp_nonascii and __strncasecmp_nonascii.
15762         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15763         (__strncasecmp_ssse3) [PIC]: Likewise.
15764
15765 2013-08-26  Roland McGrath  <roland@hack.frob.com>
15766
15767         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15768
15769         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15770         instead of explicitly declaring xdecrypt.
15771         * nis/nss_nis/nis-publickey.c: Likewise.
15772
15773 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15774
15775         [BZ #15890]
15776         * nscd/aicache.c: Include res_hconf.h.
15777         (addhstaiX): Initialize res_hconf.
15778
15779 2013-08-26  Andreas Schwab  <schwab@suse.de>
15780
15781         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15782         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15783
15784 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15785
15786         * nscd/aicache.c (addhstaiX): Fix indentation.
15787
15788 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
15789
15790         * configure.ac: Quote $build_pt_chown test.
15791         * configure: Regenerated.
15792
15793 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
15794
15795         [BZ #15532]
15796         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15797         * math/s_cexpf.c (__cexpf): Likewise.
15798         * math/s_cexpl.c (__cexpl): Likewise.
15799         * math/libm-test.inc (cexp_test_data): Correct expected return
15800         value for NaN + i0.  Add another test.
15801
15802 2013-08-22  David S. Miller  <davem@davemloft.net>
15803
15804         * po/ca.po: Update Catalan translation from translation project.
15805         * po/uk.po: Add Ukrainian translations from translation project.
15806
15807 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
15808
15809         [BZ #15797]
15810         * math/s_fdim.c (__fdim): Check for infinite arguments if result
15811         is infinite, not alongside NaN test.
15812         * math/s_fdimf.c (__fdimf): Likewise.
15813         * math/s_fdiml.c (__fdiml): Likewise.
15814         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
15815         errno is unchanged.
15816
15817 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
15818
15819         * argp/argp-help.c: Fix typos.
15820         * crypt/speeds.c: Likewise.
15821         * csu/check_fds.c: Likewise.
15822         * elf/dl-load.c: Likewise.
15823         * elf/dl-open.c: Likewise.
15824         * elf/reldep3.c: Likewise.
15825         * elf/reldep.c: Likewise.
15826         * elf/sprof.c: Likewise.
15827         * iconv/iconv_charmap.c: Likewise.
15828         * iconv/skeleton.c: Likewise.
15829         * iconv/strtab.c: Likewise.
15830         * io/lockf64.c: Likewise.
15831         * libio/libioP.h: Likewise.
15832         * resolv/gai_notify.c: Likewise.
15833         * resolv/ns_name.c: Likewise.
15834         * resolv/ns_samedomain.c: Likewise.
15835         * resolv/res_send.c: Likewise.
15836         * stdlib/random.c: Likewise.
15837         * sunrpc/rpc/xdr.h: Likewise.
15838         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15839         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15840         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15841         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15842         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15843         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15844         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15845         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15846         * sysdeps/mach/hurd/check_fds.c: Likewise.
15847         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15848         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15849         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15850         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15851         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15852         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15853         * sysdeps/pthread/aio_notify.c: Likewise.
15854         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15855         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15856         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15857         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15858         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15859
15860 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15861
15862         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15863         version if bit_Slow_SSE4_2 is set.
15864         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15865         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15866
15867 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15868
15869         [BZ #15867]
15870         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15871         trampoline stack frame information.
15872         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15873         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15874         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15875         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15876         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15877         * sysdeps/unix/sysv/linux/powerpc/init-first.c
15878         (_libc_vdso_platform_setup): Initialize the signal trampolines.
15879         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15880         sa_flags value.
15881         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15882         interrupting a syscall and set with option SA_SIGINFO.
15883
15884 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15885
15886         [BZ #15531]
15887         * math/s_cproj.c (__cproj): Only return an infinity if one part of
15888         argument is infinite.
15889         * math/s_cprojf.c (__cprojf): Likewise.
15890         * math/s_cprojl.c (__cprojl): Likewise.
15891         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15892         * math/libm-test.inc (cproj_test_data): Add more tests.
15893
15894         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15895
15896         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15897         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15898         size.  Use __ffs to determine corresponding shift.
15899
15900 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15901             Roland McGrath  <roland@hack.frob.com>
15902
15903         * Makefile (INSTALL): Remove trailing blank lines from output of
15904         makeinfo.
15905
15906 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15907
15908         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15909         Align 32 bit compat elf_greg to 8 bytes.
15910
15911 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15912
15913         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15914
15915 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15916
15917         * string/strcoll_l.c (coll_seq): New structure.
15918         (get_next_seq_cached): New function.
15919         (get_next_seq): New function.
15920         (do_compare): New function.
15921         (STRCOLL): Use GNU style definition.  Simplify implementation
15922         by using get_next_seq, get_next_seq_cached and do_compare.
15923
15924 2013-08-16  Florian Weimer  <fweimer@redhat.com>
15925
15926         [BZ #14699]
15927         CVE-2013-4237
15928         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15929         member.
15930         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15931         member.
15932         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15933         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15934         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
15935         conditional.
15936         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15937         GETDENTS_64BIT_ALIGNED.
15938         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15939         * manual/filesys.texi (Reading/Closing Directory): Document
15940         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
15941         strongly.
15942         * manual/conf.texi (Limits for Files): Add portability note to
15943         NAME_MAX, PATH_MAX.
15944         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15945
15946 2013-08-13  Andreas Schwab  <schwab@suse.de>
15947
15948         [BZ #15749]
15949         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15950         of fabs.
15951         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15952         LDBL_MAX_EXP >= 16384]: Add tests for it.
15953
15954 2013-08-12  David S. Miller  <davem@davemloft.net>
15955
15956         * version.h (RELEASE): Set to "development".
15957         (VERSION): Set to "2.18.90".
15958         * NEWS: Add 2.19 section.
15959
15960 2013-08-03  David S. Miller  <davem@davemloft.net>
15961
15962         * po/ko.po: Update Korean translation from translation project.
15963
15964 2013-08-01  David S. Miller  <davem@davemloft.net>
15965
15966         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
15967         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15968         Bilka.
15969
15970 2013-07-30  David S. Miller  <davem@davemloft.net>
15971
15972         * po/fr.po: Update French translation from translation project.
15973
15974 2013-07-28  David S. Miller  <davem@davemloft.net>
15975
15976         * po/cs.po: Update Czech translation from translation project.
15977
15978         * po/sv.po: Update Swedish translation from translation project.
15979
15980 2013-07-27  David S. Miller  <davem@davemloft.net>
15981
15982         * po/eo.po: Update Esperanto translation from translation project.
15983
15984         * po/vi.po: Update Vietnamese translation from translation project.
15985
15986         * po/de.po: Update German translation from translation project.
15987
15988 2013-07-26  David S. Miller  <davem@davemloft.net>
15989
15990         * po/bg.po: Update Bulgarian translation from translation project.
15991
15992         * po/nl.po: Update Dutch translation from translation project.
15993         * po/pl.po: Update Polish translation from translation project.
15994         * po/ru.po: Update Russian translation from translation project.
15995
15996 2013-07-24  David S. Miller  <davem@davemloft.net>
15997
15998         * po/libc.pot: Update.
15999
16000 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16001
16002         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16003         variable page size.
16004         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16005         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16006         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16007
16008 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16009
16010         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16011
16012 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16013             Andreas Schwab  <schwab@suse.de>
16014             Roland McGrath  <roland@hack.frob.com>
16015             Joseph Myers  <joseph@codesourcery.com>
16016             Carlos O'Donell  <carlos@redhat.com>
16017
16018         [BZ #15755]
16019         * config.h.in: Define HAVE_PT_CHOWN.
16020         * config.make.in (build-pt-chown): New variable.
16021         * configure.in (--enable-pt_chown): New configure option.
16022         * configure: Regenerate.
16023         * login/Makefile: Include Makeconfig.  Build pt_chown only if
16024         build-pt-chown is enabled.
16025         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16026         pt_chown to fix pty ownership.
16027         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16028         CLOSE_ALL_FDS.
16029         * manual/install.texi (Configuring and compiling): Mention
16030         --enable-pt_chown. Add @findex for grantpt.
16031         * INSTALL: Regenerate.
16032
16033 2013-07-20  David S. Miller  <davem@davemloft.net>
16034
16035         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16036         difference between 32-bit and 64-bit.
16037
16038 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
16039
16040         [BZ #15711]
16041         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16042         Avoid system header dependency with -ffreestanding.
16043         ($(objpfx)bits/syscall%d): Likewise.
16044
16045 2013-07-13  David S. Miller  <davem@davemloft.net>
16046
16047         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16048         underflows from atanl/atan2l due to bug 15319.
16049         (casinh_test_data): Likewise.
16050
16051 2013-07-07  David S. Miller  <davem@davemloft.net>
16052
16053         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16054
16055 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
16056
16057         * sysdeps/i386/fpu/libm-test-ulps: Update.
16058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16059
16060 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16061
16062         * configure.in (--enable-lock-elision): Fix message text.
16063         * INSTALL: Regenerate.
16064         * configure: Regenerate.
16065
16066 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16067
16068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16069
16070 2013-07-03  Andreas Jaeger  <aj@suse.de>
16071
16072         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16073         define.
16074         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16075         (ptrace_peeksiginfo_args): Add.
16076         (__ptrace_peeksiginfo_flags): Add.
16077         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16078         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16079         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16080
16081 2013-07-03  Allan McRae  <allan@archlinux.org>
16082
16083         * sysdeps/i386/fpu/libm-test-ulps: Update.
16084
16085 2013-07-02  David S. Miller  <davem@davemloft.net>
16086
16087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16088
16089 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
16090
16091         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16092
16093 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16094
16095         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16097
16098 2013-07-02  Andi Kleen <ak@linux.intel.com>
16099
16100         * config.h.in (ENABLE_LOCK_ELISION): Add.
16101         * configure.in (--enable-lock-elision): Add option.
16102         * manual/install.texi: Document --enable lock elision.
16103         * configure: Regenerate
16104         * INSTALL: Regenerate.
16105
16106 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
16107
16108         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16109         SSE4.2 strcasecmp for libc.a.
16110         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16111
16112 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16113
16114         [BZ #13304]
16115         * soft-fp/op-common.h (_FP_FMA): New macro.
16116         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16117         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
16118         (_FP_MUL_MEAT_1_imm): ... here.
16119         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
16120         (_FP_MUL_MEAT_1_wide): ... here.
16121         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
16122         (_FP_MUL_MEAT_1_hard): ... here.
16123         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16124         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
16125         (_FP_MUL_MEAT_2_wide): ... here.
16126         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
16127         (_FP_MUL_MEAT_2_wide_3mul): ... here.
16128         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
16129         (_FP_MUL_MEAT_2_gmp): ... here.
16130         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16131         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
16132         (_FP_MUL_MEAT_4_wide): ... here.
16133         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
16134         (_FP_MUL_MEAT_4_gmp): ... here.
16135         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16136         (_FP_WFRACBITS_DW_S): Likewise.
16137         (_FP_WFRACXBITS_DW_S): Likewise.
16138         (_FP_HIGHBIT_DW_S): Likewise.
16139         (FP_FMA_S): Likewise.
16140         (_FP_FRAC_HIGH_DW_S): Likewise.
16141         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16142         (_FP_WFRACBITS_DW_D): Likewise.
16143         (_FP_WFRACXBITS_DW_D): Likewise.
16144         (_FP_HIGHBIT_DW_D): Likewise.
16145         (FP_FMA_D): Likewise.
16146         (_FP_FRAC_HIGH_DW_D): Likewise.
16147         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16148         (_FP_WFRACBITS_DW_E): Likewise.
16149         (_FP_WFRACXBITS_DW_E): Likewise.
16150         (_FP_HIGHBIT_DW_E): Likewise.
16151         (FP_FMA_E): Likewise.
16152         (_FP_FRAC_HIGH_DW_E): Likewise.
16153         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16154         (_FP_WFRACBITS_DW_Q): Likewise.
16155         (_FP_WFRACXBITS_DW_Q): Likewise.
16156         (_FP_HIGHBIT_DW_Q): Likewise.
16157         (FP_FMA_Q): Likewise.
16158         (_FP_FRAC_HIGH_DW_Q): Likewise.
16159         * soft-fp/fmasf4.c: New file.
16160         * soft-fp/fmadf4.c: Likewise.
16161         * soft-fp/fmatf4.c: Likewise.
16162
16163 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16164
16165         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16166         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16167         Silvermont.
16168         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16169         macro.
16170         (index_Slow_SSE4_2): Likewise.
16171         (index_Prefer_PMINUB_for_stringop): Likewise.
16172         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16173         bit_Slow_SSE4_2 is set.
16174         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16175         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16176
16177 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16178
16179         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16180         rtld_global._dl_hwcap2.
16181         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16182         POWER8.
16183         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16184         POWER8 feature descriptions defined in _dl_hwcap2.
16185         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16186         string handling for POWER8 feature bits.
16187         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16188         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16189         _dl_powerpc_cap_flags.
16190         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16191         * sysdeps/powerpc/rtld-global-offsets.sym
16192         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16193         _dl_hwcap2 in the rtld_global_ro structure.
16194
16195 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16196
16197         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16198         hardware capabilities in support of AT_HWCAP2.
16199         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16200         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16201         GLRO(dl_hwcap2).
16202         (_dl_show_auxv): Add support for calling _dl_procinfo to display
16203         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
16204         explicitly the unknown a_type display mechanism is used.
16205         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16206         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16207         struct member.
16208         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16209         to macro prototype for AT_HWCAP2 support.
16210         * sysdeps/i386/dl-procinfo.h: Likewise.
16211         * sysdeps/s390/dl-procinfo.h: Likewise.
16212         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16213         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
16214         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
16215         return -1 for unknown a_type display fallback.
16216         * sysdeps/sparc/dl-procinfo.h: Likewise.
16217         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16218         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16219
16220 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
16221
16222         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16223         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16224
16225 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
16226
16227         [BZ #12492]
16228         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16229         mprotect making __stack_prot writable.
16230
16231 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
16232             Joseph Myers  <joseph@codesourcery.com>
16233
16234         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16235         as being properly aligned.
16236
16237 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
16238
16239         * dlfcn/modstatic5.c: New file.
16240         * dlfcn/tststatic5.c: New file.
16241         * dlfcn/Makefile (tests): Add tststatic5.
16242         (tests-static): Likewise.
16243         (modules-names): Add modstatic5.
16244         (tststatic5-ENV): New variable.
16245         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16246
16247         [BZ #15022]
16248         * elf/dl-support.c (_dl_main_map): New variable.
16249         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16250         (_dl_nns, _dl_load_adds): Set to 1.
16251         (_dl_initial_searchlist): Refer to _dl_main_map.
16252         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16253         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16254         call to _dl_get_origin.
16255         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16256         around call_map.
16257         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16258         * dlfcn/modstatic3.c: New file.
16259         * dlfcn/tststatic3.c: New file.
16260         * dlfcn/tststatic4.c: New file.
16261         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16262         (tests-static): Likewise.
16263         (modules-names): Add modstatic3.
16264         (tststatic3-ENV, tststatic4-ENV): New variables.
16265         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16266         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16267
16268 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
16269
16270         * configure.in (CC): Require GCC version 4.4 or later.
16271         * configure: Regenerated.
16272         * manual/install.texi (Tools for Compilation): Update GCC version
16273         requirement.
16274         * INSTALL: Regenerated.
16275
16276 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16277
16278         [BZ #15674]
16279         * string/test-memcmp.c (check2): New.
16280         (main): Call check2.
16281
16282         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16283
16284 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16285
16286         [BZ #15022]
16287         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16288         over to...
16289         (dl_open_worker) [!SHARED]: ... here.
16290
16291 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16292
16293         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16294
16295 2013-06-25  Richard Henderson  <rth@redhat.com>
16296
16297         * locale/programs/locarchive.c: Include <libc-internal.h>
16298
16299 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16300
16301         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16302         trailing whitespace removed.
16303
16304 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16305
16306         [BZ #10283]
16307         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16308         * locale/programs/locarchive.c: Include libc-mmap.h.
16309         (prepare_address_space): Take two new outputs (the mmap base and len).
16310         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16311         values.
16312         (create_archive): Declare new mmap base and len values for
16313         prepare_address_space, and store the result in ah.
16314         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16315         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16316         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16317         Declare new mmap base and len values for
16318         prepare_address_space, and store the result in new_ah.
16319         (open_archive): Declare new mmap base and len values for
16320         prepare_address_space, and store the result in ah.
16321         (close_archive): If ah->mmap_base is not NULL, use that and
16322         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16323         * sysdeps/generic/libc-mmap.h: New file.
16324
16325 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16326
16327         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16328         (ALIGN_UP): Likewise.
16329         (PTR_ALIGN_DOWN): Likewise.
16330         (PTR_ALIGN_UP): Likewise.
16331
16332 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16333
16334         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16335         entry mapped to PPC_PLATFORM_POWER8.
16336         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16337         POWER8.
16338         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16339         (_dl_string_platform): Add case for exporting platform position for
16340         POWER8.
16341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16342         search path to sysdeps/powerpc/powerpc32/power8 directory.
16343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16344         search path to sysdeps/powerpc/powerpc64/power8 directory.
16345         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16346         power7 directories.
16347         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16348         power7 directories.
16349
16350 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16351
16352         * INSTALL: Regenerate.
16353
16354         * nscd/connections.c (nscd_init): Fix comment.
16355
16356 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16357
16358         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16359
16360         [BZ #15667]
16361         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16362         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16363
16364 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16365
16366         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16367         DL_DST_REQ_STATIC.
16368         (DL_DST_REQ_STATIC): Remove macro.
16369
16370 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16371
16372         [BZ #7006]
16373         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16374         with a shift of 0 bits.
16375
16376 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16377
16378         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16379         $(tststatic-ENV).
16380
16381 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16382
16383         [BZ #15655]
16384         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16385
16386 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16387
16388         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16389         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16390         accepts -fno-tree-loop-distribute-patterns.
16391         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16392         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16393         recursive call.
16394         * string/memset.c (memset): Likewise.
16395         * string/test-memmove.c (simple_memmove): Disable loop transformation
16396         to library calls.
16397         * string/test-memset.c (simple_memset): Likewise.
16398         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16399         * benchtests/bench-memset.c (simple_memset): Likewise.
16400         * configure: Regenerated.
16401
16402 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16403
16404         * math/test-misc.c (main): Ignore fesetround failure when failures
16405         of subsequent rounding tests would be ignored.
16406
16407         [BZ #15654]
16408         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16409         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16410         * math/fegetenv.c (__fegetenv): Return 0.
16411         * math/fegetexcept.c (fegetexcept): Return 0.
16412         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16413         FE_TONEAREST.
16414         * math/feholdexcpt.c (feholdexcept): Return 0.
16415         * math/fesetenv.c (__fesetenv): Return 0.
16416         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16417         argument FE_TONEAREST.
16418         * math/feupdateenv.c (__feupdateenv): Return 0.
16419         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16420
16421 2013-06-18  Roland McGrath  <roland@hack.frob.com>
16422
16423         * elf/rtld-Rules (rtld-compile-command.S): New variable.
16424         (rtld-compile-command.s, rtld-compile-command.c): New variables.
16425         ($(objpfx)rtld-%.os rules): Use them.
16426
16427 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16428
16429         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16430         fields.
16431
16432 2013-06-17  Roland McGrath  <roland@hack.frob.com>
16433
16434         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16435         length of target pattern, then descending length of dependency pattern.
16436         * configure.in (AWK): Require gawk 3.1.2 or newer.
16437         * manual/install.texi (Tools for Compilation): Say that we do.
16438         * configure: Regenerated.
16439
16440         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16441         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16442         * scripts/sysd-rules.awk: ... this new script.
16443         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16444         than a glob-style pattern.
16445
16446 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
16447
16448         * math/test-misc.c (main): Do not treat incorrectly rounded
16449         conversions as failure unless ROUNDING_TESTS passes.
16450
16451 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
16452
16453         [BZ #15631]
16454         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16455         restore exception state around main square root computation, then
16456         check for inexactness explicitly.
16457
16458         * math/libm-test.inc (fma_test_data): Add another test.
16459
16460 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16461
16462         * manual/threads.texi (Non-POSIX Extensions): New document
16463         node.  Document pthread_getattr_default_np and
16464         pthread_setattr_default_np.
16465
16466         * Versions.def (libpthread): Add GLIBC_2.18.
16467         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16469         Likewise.
16470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16471         Likewise.
16472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16473         Likewise.
16474         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16475         Likewise.
16476         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16477         Likewise.
16478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16479         Likewise.
16480         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16481         Likewise.
16482         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16483         Likewise.
16484         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16485         Likewise.
16486
16487 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16488
16489         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16490         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16491
16492 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16493             H.J. Lu  <hjl.tools@gmail.com>
16494
16495         [BZ #15627]
16496         * sysdeps/x86_64/rtld-memset.c: Remove file.
16497         * sysdeps/x86_64/rtld-memset.S: New file.
16498
16499 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
16500
16501         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16502         (test_in_one_mode): Take arguments for whether the rounding mode
16503         is supported for each floating-point type.
16504         (do_test): Pass new arguments to test_in_one_mode using
16505         ROUNDING_TESTS.
16506
16507 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16508
16509         * posix/tst-waitid.c (do_test): Distinguish different instances of
16510         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
16511         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16512         before entering the kernel for waitpid.
16513
16514 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16515
16516         * NEWS: Fix note on clock function precision.  Text by Roland
16517         McGrath.
16518
16519 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16520
16521         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16522         it into place only when and if the sanity check passes.
16523
16524 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
16525
16526         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16527         output for whether conversion result is exact.  Take argument
16528         indicating whether type is IBM long double.
16529         (round_for_all): Change need_exact field to ibm_ld.
16530         * stdlib/tst-strtod-round.c (struct exactness): New type.
16531         (struct test): Change bool ld_ok field to struct exactness exact.
16532         (TEST): Update all definitions for change to field.
16533         (tests): Regenerate array contents.
16534         (test_in_one_mode): Take pointer to new field instead of old ld_ok
16535         field value.  Check for IBM long double here.
16536         (do_test): Update calls to test_in_one_mode.
16537
16538 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16539
16540         [BZ #12515]
16541         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16542         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16543
16544 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16545
16546         [BZ #15605]
16547         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16548         generated by the compiler on loop optimizations.
16549         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16550         general definitions.
16551
16552 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
16553
16554         * math/bug-nextafter.c: Include <math-tests.h>.
16555         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16556         the relevant type.
16557         * math/bug-nexttoward.c: Include <math-tests.h>.
16558         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16559         the relevant type.
16560         * math/test-misc.c: Include <math-tests.h>.
16561         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16562         the relevant type.
16563
16564 2013-06-12  Andreas Jaeger  <aj@suse.de>
16565
16566         * po/ia.po: Update Interlingua translation from translation
16567         project.
16568
16569 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16570
16571         * include/fenv.h: Include stdbool.h.
16572         (struct rm_ctx): New structure.
16573         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16574         Define macro.
16575         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16576         (SET_RESTORE_ROUNDF): Likewise.
16577         (SET_RESTORE_ROUNDL): Likewise.
16578         (SET_RESTORE_ROUND_NOEX): Likewise.
16579         (SET_RESTORE_ROUND_NOEXF): Likewise.
16580         (SET_RESTORE_ROUND_NOEXL): Likewise.
16581         (SET_RESTORE_ROUND_53BIT): Likewise.
16582         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16583         (libc_feresetround_noexf_ctx): Likewise.
16584         (libc_feresetround_noexl_ctx): Likewise.
16585         (libc_feholdsetround_53bit_ctx): Likewise.
16586         (libc_feresetround_53bit_ctx): Likewise.
16587         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16588         (libc_feholdexcept_setround_sse_ctx): New function.
16589         (libc_fesetenv_sse_ctx): Likewise.
16590         (libc_feupdateenv_sse_ctx): Likewise.
16591         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16592         (libc_feholdexcept_setround_387_ctx): Likewise.
16593         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16594         (libc_feholdsetround_387_prec_ctx): Likewise.
16595         (libc_feholdsetround_387_ctx): Likewise.
16596         (libc_feholdsetround_387_53bit_ctx): Likewise.
16597         (libc_feholdsetround_sse_ctx): Likewise.
16598         (libc_feresetround_sse_ctx): Likewise.
16599         (libc_feresetround_387_ctx): Likewise.
16600         (libc_feupdateenv_387_ctx): Likewise.
16601         (libc_feholdexcept_setroundf_ctx): Define macro.
16602         (libc_fesetenvf_ctx): Likewise.
16603         (libc_feupdateenvf_ctx): Likewise.
16604         (libc_feholdsetroundf_ctx): Likewise.
16605         (libc_feresetroundf_ctx): Likewise.
16606         (libc_feholdexcept_setround_ctx): Likewise.
16607         (libc_fesetenv_ctx): Likewise.
16608         (libc_feupdateenv_ctx): Likewise.
16609         (libc_feholdsetround_ctx): Likewise.
16610         (libc_feresetround_ctx): Likewise.
16611         (libc_feholdexcept_setroundl_ctx): Likewise.
16612         (libc_feupdateenvl_ctx): Likewise.
16613         (libc_feholdsetroundl_ctx): Likewise.
16614         (libc_feresetroundl_ctx): Likewise.
16615         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16616         (libc_feresetround_53bit_ctx): Likewise.
16617
16618 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16619
16620         * locale/iso-639.def: Convert to UTF-8.
16621
16622 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
16623
16624         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16625         (EXCEPTION_TESTS_double): Likewise.
16626         (EXCEPTION_TESTS_long_double): Likewise.
16627         (EXCEPTION_TESTS): Likewise.
16628         * math/libm-test.inc (test_exceptions): Only test exceptions if
16629         EXCEPTION_TESTS (FLOAT).
16630
16631 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16632
16633         * benchtests/Makefile (string-bench): Add strcpy_chk and
16634         stpcpy_chk.
16635         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16636         * benchtests/bench-stpcpy_chk.c: New file.
16637         * benchtests/bench-strcpy_chk-ifunc.c: New file.
16638         * benchtests/bench-strcpy_chk.c: New file.
16639         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16640         code.
16641         (do_test): Likewise.
16642
16643 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16644
16645         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16646         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16647         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16648         with tabs where appropriate.
16649         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16650         dl-procinfo.h.
16651         [PPC_PLATFORM_PPC440]: Likewise.
16652         [PPC_PLATFORM_PPC464]: Likewise.
16653         [PPC_PLATFORM_PPC476]: Likewise.
16654         (_dl_string_platform): Add support for detecting ppc405, ppc440,
16655         ppc464, and ppc476 platform strings merging from ports/
16656         dl-procinfo.h.
16657
16658 2013-06-11  Andreas Schwab  <schwab@suse.de>
16659
16660         [BZ #14991]
16661         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16662         (from_ucs4_idx): Regenerate.
16663         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16664         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16665         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16666         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16667         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16668         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16669         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16670         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16671         from FROM_LOOP and TO_LOOP specific macros.
16672         (BODY): Handle combining characters.
16673         * iconvdata/BIG5HKSCS.irreversible: Update.
16674         * iconvdata/BIG5HKSCS.precomposed: New file.
16675         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16676         characters.
16677         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16678
16679 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16680
16681         * include/sys/time.h: Fix indentation and add copyright header.
16682
16683         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16684         (do_test): Likewise.
16685         * string/test-memchr.c (do_one_test): Likewise.
16686         (do_test): Likewise.
16687         * string/test-memcmp.c (do_one_test): Likewise.
16688         (do_test): Likewise.
16689         * string/test-memcpy.c (do_one_test): Likewise.
16690         (do_test): Likewise.
16691         * string/test-memmem.c (do_one_test): Likewise.
16692         (do_test): Likewise.
16693         (do_random_tests): Likewise.
16694         * string/test-memmove.c (do_one_test): Likewise.
16695         (do_test): Likewise.
16696         * string/test-memset.c (do_one_test): Likewise.
16697         (do_test): Likewise.
16698         * string/test-rawmemchr.c (do_one_test): Likewise.
16699         (do_test): Likewise.
16700         * string/test-strcasecmp.c (do_one_test): Likewise.
16701         (do_test): Likewise.
16702         * string/test-strcasestr.c (do_one_test): Likewise.
16703         (do_test): Likewise.
16704         * string/test-strcat.c (do_one_test): Likewise.
16705         (do_test): Likewise.
16706         * string/test-strchr.c (do_one_test): Likewise.
16707         (do_test): Likewise.
16708         * string/test-strcmp.c (do_one_test): Likewise.
16709         (do_test): Likewise.
16710         * string/test-strcpy.c (do_one_test): Likewise.
16711         (do_test): Likewise.
16712         * string/test-string.h: Likewise.
16713         (test_init): Likewise.
16714         * string/test-strlen.c (do_one_test): Likewise.
16715         (do_test): Likewise.
16716         * string/test-strncasecmp.c (do_one_test): Likewise.
16717         (do_test): Likewise.
16718         * string/test-strncat.c (do_one_test): Likewise.
16719         (do_test): Likewise.
16720         * string/test-strncmp.c (do_one_test): Likewise.
16721         (do_test_limit): Likewise.
16722         (do_test): Likewise.
16723         * string/test-strncpy.c (do_one_test): Likewise.
16724         (do_test): Likewise.
16725         * string/test-strnlen.c (do_one_test): Likewise.
16726         (do_test): Likewise.
16727         * string/test-strpbrk.c (do_one_test): Likewise.
16728         (do_test): Likewise.
16729         * string/test-strrchr.c (do_one_test): Likewise.
16730         (do_test): Likewise.
16731         * string/test-strspn.c (do_one_test): Likewise.
16732         (do_test): Likewise.
16733         * string/test-strstr.c (do_one_test): Likewise.
16734         (do_test): Likewise.
16735
16736         * benchtests/Makefile (string-bench): Add string benchmarks.
16737         * benchtests/bench-bcopy-ifunc.c: New file.
16738         * benchtests/bench-bcopy.c: New file.
16739         * benchtests/bench-bzero-ifunc.c: New file.
16740         * benchtests/bench-bzero.c: New file.
16741         * benchtests/bench-memccpy-ifunc.c: New file.
16742         * benchtests/bench-memccpy.c: New file.
16743         * benchtests/bench-memchr-ifunc.c: New file.
16744         * benchtests/bench-memchr.c: New file.
16745         * benchtests/bench-memcmp-ifunc.c: New file.
16746         * benchtests/bench-memcmp.c: New file.
16747         * benchtests/bench-memmem-ifunc.c: New file.
16748         * benchtests/bench-memmem.c: New file.
16749         * benchtests/bench-memmove-ifunc.c: New file.
16750         * benchtests/bench-memmove.c: New file.
16751         * benchtests/bench-mempcpy-ifunc.c: New file.
16752         * benchtests/bench-mempcpy.c: New file.
16753         * benchtests/bench-memset-ifunc.c: New file.
16754         * benchtests/bench-memset.c: New file.
16755         * benchtests/bench-rawmemchr-ifunc.c: New file.
16756         * benchtests/bench-rawmemchr.c: New file.
16757         * benchtests/bench-stpcpy-ifunc.c: New file.
16758         * benchtests/bench-stpcpy.c: New file.
16759         * benchtests/bench-stpncpy-ifunc.c: New file.
16760         * benchtests/bench-stpncpy.c: New file.
16761         * benchtests/bench-strcasecmp-ifunc.c: New file.
16762         * benchtests/bench-strcasecmp.c: New file.
16763         * benchtests/bench-strcasestr-ifunc.c: New file.
16764         * benchtests/bench-strcasestr.c: New file.
16765         * benchtests/bench-strcat-ifunc.c: New file.
16766         * benchtests/bench-strcat.c: New file.
16767         * benchtests/bench-strchr-ifunc.c: New file.
16768         * benchtests/bench-strchr.c: New file.
16769         * benchtests/bench-strchrnul-ifunc.c: New file.
16770         * benchtests/bench-strchrnul.c: New file.
16771         * benchtests/bench-strcmp-ifunc.c: New file.
16772         * benchtests/bench-strcmp.c: New file.
16773         * benchtests/bench-strcpy-ifunc.c: New file.
16774         * benchtests/bench-strcpy.c: New file.
16775         * benchtests/bench-strcspn-ifunc.c: New file.
16776         * benchtests/bench-strcspn.c: New file.
16777         * benchtests/bench-strlen-ifunc.c: New file.
16778         * benchtests/bench-strlen.c: New file.
16779         * benchtests/bench-strncasecmp-ifunc.c: New file.
16780         * benchtests/bench-strncasecmp.c: New file.
16781         * benchtests/bench-strncat-ifunc.c: New file.
16782         * benchtests/bench-strncat.c: New file.
16783         * benchtests/bench-strncmp-ifunc.c: New file.
16784         * benchtests/bench-strncmp.c: New file.
16785         * benchtests/bench-strncpy-ifunc.c: New file.
16786         * benchtests/bench-strncpy.c: New file.
16787         * benchtests/bench-strnlen-ifunc.c: New file.
16788         * benchtests/bench-strnlen.c: New file.
16789         * benchtests/bench-strpbrk-ifunc.c: New file.
16790         * benchtests/bench-strpbrk.c: New file.
16791         * benchtests/bench-strrchr-ifunc.c: New file.
16792         * benchtests/bench-strrchr.c: New file.
16793         * benchtests/bench-strspn-ifunc.c: New file.
16794         * benchtests/bench-strspn.c: New file.
16795         * benchtests/bench-strstr-ifunc.c: New file.
16796         * benchtests/bench-strstr.c: New file.
16797
16798         * benchtests/Makefile: Disable parallel execution of targets.
16799         (string-bench): Add memcpy.
16800         (benchset): New variable to store a list of benchmark sets.
16801         (bench-func): Renamed from bench.
16802         (bench-set): New target.
16803         (bench): Depend on bench-func and bench-set.
16804         * benchtests/README: Add section on benchmark sets.
16805         * benchtests/bench-memcpy-ifunc.c: New file.
16806         * benchtests/bench-memcpy.c: New file.
16807         * benchtests/bench-string.h: New file.
16808
16809 2013-06-11  Andreas Schwab  <schwab@suse.de>
16810
16811         [BZ #15577]
16812         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16813         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16814         values in the triple.
16815         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16816         terminator in the group key.
16817
16818 2013-06-11  Andreas Jaeger  <aj@suse.de>
16819
16820         * po/zh_TW.po: Update Chinese (traditional) translation from
16821         translation project.
16822
16823 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16824
16825         * include/time.h (__clock_gettime): Add libc_hidden_proto.
16826         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16827         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
16828         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16829         (clock_getcpuclockid): Likewise.
16830         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16831         Add weak_alias and libc_hidden_def.
16832         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16833         * rt/clock_gettime.c (clock_gettime): Rename to
16834         __clock_gettime.  Add weak_alias and libc_hidden_def.
16835         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16836         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16837         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
16838         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16839         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16840         Likewise.
16841         * rt/clock_settime.c (clock_settime): Rename to
16842         __clock_settime.  Add weak_alias and libc_hidden_def.
16843         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16844
16845 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
16846
16847         * mach/err_boot.sub: Remove trailing whitespace.
16848         * mach/err_ipc.sub: Likewise.
16849         * mach/err_mach.sub: Likewise.
16850
16851         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16852         (ROUNDING_TESTS_double): Likewise.
16853         (ROUNDING_TESTS_long_double): Likewise.
16854         (ROUNDING_TESTS): Likewise.
16855         * math/libm-test.inc: Include <math-tests.h>.
16856         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16857         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16858         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16859         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16860
16861 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16862
16863         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16864         of assigning.
16865
16866 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
16867
16868         * sysdeps/gnu/errlist.awk: Do not generate space at end of
16869         otherwise empty TRANS lines.
16870         * sysdeps/gnu/errlist.c: Regenerated.
16871
16872         * catgets/gencat.c (error_print): Use (void) in function
16873         definition.
16874         * crypt/crypt_util.c (__init_des): Likewise.
16875         * crypt/speeds.c (Stop): Likewise.
16876         (main): Likewise.
16877         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16878         * inet/ruserpass.c (token): Likewise.
16879         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16880         * intl/localealias.c (extend_alias_table): Likewise.
16881         * intl/plural-exp.c (init_germanic_plural): Likewise.
16882         * libio/fcloseall.c (__fcloseall): Likewise.
16883         * libio/genops.c (_IO_flush_all): Likewise.
16884         (_IO_flush_all_linebuffered): Likewise.
16885         (_IO_cleanup): Likewise.
16886         (_IO_iter_begin): Likewise.
16887         (_IO_iter_end): Likewise.
16888         (_IO_list_lock): Likewise.
16889         (_IO_list_unlock): Likewise.
16890         (_IO_list_resetlock): Likewise.
16891         * libio/getchar.c (getchar): Likewise.
16892         * libio/getchar_u.c (getchar_unlocked): Likewise.
16893         * libio/getwchar.c (getwchar): Likewise.
16894         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16895         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16896         * login/getpt.c (__getpt): Likewise.
16897         * login/tst-utmp.c (main): Likewise.
16898         * malloc/hooks.c (__malloc_check_init): Likewise.
16899         * malloc/malloc.c (__malloc_stats): Likewise.
16900         * malloc/mtrace.c (tr_break): Likewise.
16901         (mtrace): Likewise.
16902         (muntrace): Likewise.
16903         * misc/fstab.c (endfsent): Likewise.
16904         * misc/getclktck.c (__getclktck): Likewise.
16905         * misc/getdtsz.c (__getdtablesize): Likewise.
16906         * misc/gethostid.c (gethostid): Likewise.
16907         * misc/getpagesize.c (__getpagesize): Likewise.
16908         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16909         (__get_nprocs): Likewise.
16910         (__get_phys_pages): Likewise.
16911         (__get_avphys_pages): Likewise.
16912         * misc/getttyent.c (getttyent): Likewise.
16913         (setttyent): Likewise.
16914         (endttyent): Likewise.
16915         * misc/getusershell.c (getusershell): Likewise.
16916         (endusershell): Likewise.
16917         (setusershell): Likewise.
16918         (initshells): Likewise.
16919         * misc/hsearch.c (__hdestroy): Likewise.
16920         * misc/sync.c (sync): Likewise.
16921         * misc/syslog.c (closelog_internal): Likewise.
16922         (closelog): Likewise.
16923         * misc/ttyslot.c (ttyslot): Likewise.
16924         * misc/vhangup.c (vhangup): Likewise.
16925         * posix/fork.c (__fork): Likewise.
16926         * posix/getegid.c (__getegid): Likewise.
16927         * posix/geteuid.c (__geteuid): Likewise.
16928         * posix/getgid.c (__getgid): Likewise.
16929         * posix/getpid.c (__getpid): Likewise.
16930         * posix/getppid.c (__getppid): Likewise.
16931         * posix/getuid.c (__getuid): Likewise.
16932         * posix/pause.c (pause): Likewise.
16933         * posix/setpgrp.c (setpgrp): Likewise.
16934         * posix/setsid.c (__setsid): Likewise.
16935         * posix/test-vfork.c (noop): Likewise.
16936         * resolv/gethnamaddr.c (_endhtent): Likewise.
16937         (_gethtent): Likewise.
16938         (ht_endhostent): Likewise.
16939         (gethostent): Likewise.
16940         (dns_service): Likewise.
16941         * stdlib/drand48.c (drand48): Likewise.
16942         * stdlib/lrand48.c (lrand48): Likewise.
16943         * stdlib/mrand48.c (mrand48): Likewise.
16944         * stdlib/rand.c (rand): Likewise.
16945         * stdlib/random.c (__random): Likewise.
16946         * stdlib/setenv.c (clearenv): Likewise.
16947         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16948         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16949         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16950         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16951         (__get_nprocs): Likewise.
16952         (__get_phys_pages): Likewise.
16953         (__get_avphys_pages): Likewise.
16954         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16955         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16956         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16957         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16958         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16959         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16960         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16961         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16962         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16963         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16964         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16965         * sysdeps/mach/hurd/sync.c (sync): Likewise.
16966         * sysdeps/posix/clock.c (clock): Likewise.
16967         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16968         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16969         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16970         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16971         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16972         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16973         (__get_nprocs_conf): Likewise.
16974         (__get_phys_pages): Likewise.
16975         (__get_avphys_pages): Likewise.
16976         * time/clock.c (clock): Likewise.
16977         * time/tzset.c (__tzname_max): Likewise.
16978
16979 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
16980
16981         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16982         (__bswap_32): Do not use "register".
16983         * crypt/crypt.c (_ufc_doit_r): Likewise.
16984         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16985         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16986         * gmon/gmon.c (__monstartup): Likewise.
16987         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16988         * hurd/hurdmalloc.c (more_memory): Likewise.
16989         (malloc): Likewise.
16990         (free): Likewise.
16991         (realloc): Likewise.
16992         (malloc_fork_prepare): Likewise.
16993         (malloc_fork_parent): Likewise.
16994         (malloc_fork_child): Likewise.
16995         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16996         (_svcauth_des): Likewise.
16997         * inet/inet_lnaof.c (inet_lnaof): Likewise.
16998         * inet/inet_net.c (inet_network): Likewise.
16999         * inet/inet_netof.c (inet_netof): Likewise.
17000         * inet/rcmd.c (__validuser2_sa): Likewise.
17001         * io/fts.c (fts_open): Likewise.
17002         (fts_load): Likewise.
17003         (fts_close): Likewise.
17004         (fts_read): Likewise.
17005         (fts_children): Likewise.
17006         (fts_build): Likewise.
17007         (fts_stat): Likewise.
17008         (fts_sort): Likewise.
17009         (fts_alloc): Likewise.
17010         (fts_lfree): Likewise.
17011         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17012         (_IO_file_xsgetn): Likewise.
17013         (_IO_file_xsgetn_mmap): Likewise.
17014         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17015         (_IO_cookie_write): Likewise.
17016         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17017         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17018         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17019         * malloc/obstack.c (_obstack_begin): Likewise.
17020         (_obstack_begin_1): Likewise.
17021         (_obstack_newchunk): Likewise.
17022         (_obstack_allocated_p): Likewise.
17023         (obstack_free): Likewise.
17024         (_obstack_memory_used): Likewise.
17025         * misc/getttyent.c (getttynam): Likewise.
17026         (getttyent): Likewise.
17027         (skip): Likewise.
17028         (value): Likewise.
17029         * misc/getusershell.c (initshells): Likewise.
17030         * misc/syslog.c (__vsyslog_chk): Likewise.
17031         * misc/ttyslot.c (ttyslot): Likewise.
17032         * nis/nis_hash.c (__nis_hash): Likewise.
17033         * posix/fnmatch_loop.c (FCT): Likewise.
17034         * posix/getconf.c (print_all): Likewise.
17035         (main): Likewise.
17036         * posix/getopt.c (exchange): Likewise.
17037         * posix/glob.c (globfree): Likewise.
17038         (prefix_array): Likewise.
17039         (__glob_pattern_type): Likewise.
17040         * resolv/arpa/nameser.h (NS_GET16): Likewise.
17041         (NS_GET32): Likewise.
17042         (NS_PUT16): Likewise.
17043         (NS_PUT32): Likewise.
17044         * resolv/gethnamaddr.c (getanswer): Likewise.
17045         (gethostbyname2): Likewise.
17046         (gethostbyaddr): Likewise.
17047         (_gethtent): Likewise.
17048         (_gethtbyname2): Likewise.
17049         (_gethtbyaddr): Likewise.
17050         * resolv/ns_print.c (dst_s_get_int16): Likewise.
17051         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17052         * resolv/res_init.c (__res_vinit): Likewise.
17053         (net_mask): Likewise.
17054         * resolv/res_mkquery.c (outchar): Likewise.
17055         (PRINT): Likewise.
17056         * stdio-common/printf_fp.c (outchar): Likewise.
17057         (PRINT): Likewise.
17058         * stdio-common/printf_fphex.c (outchar): Likewise.
17059         (PRINT): Likewise.
17060         * stdio-common/printf_size.c (outchar): Likewise.
17061         (PRINT): Likewise.
17062         * stdio-common/test_rdwr.c (main): Likewise.
17063         * stdio-common/tfformat.c (matches): Likewise.
17064         * stdio-common/vfprintf.c (outchar): Likewise.
17065         (printf_unknown): Likewise.
17066         (buffered_vfprintf): Likewise.
17067         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17068         * stdio-common/xbug.c (AppendToBuffer): Likewise.
17069         (ReadFile): Likewise.
17070         * stdlib/qsort.c (SWAP): Likewise.
17071         (_quicksort): Likewise.
17072         * stdlib/setenv.c (__add_to_environ): Likewise.
17073         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17074         * stdlib/strtol_l.c (__strtol_l): Likewise.
17075         * stdlib/tst-strtod.c (main): Likewise.
17076         * stdlib/tst-strtol.c (main): Likewise.
17077         * stdlib/tst-strtoll.c (main): Likewise.
17078         * string/bits/string2.h (__strcmp_cc): Likewise.
17079         (__strcmp_cg): Likewise.
17080         (__strcspn_c1): Likewise.
17081         (__strcspn_c2): Likewise.
17082         (__strcspn_c3): Likewise.
17083         (__strspn_c1): Likewise.
17084         (__strspn_c2): Likewise.
17085         (__strspn_c3): Likewise.
17086         (__strsep_1c): Likewise.
17087         (__strsep_2c): Likewise.
17088         (__strsep_3c): Likewise.
17089         * string/memccpy.c (__memccpy): Likewise.
17090         * string/stpcpy.c (__stpcpy): Likewise.
17091         * string/strcmp.c (strcmp): Likewise.
17092         * string/strrchr.c (strrchr): Likewise.
17093         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17094         Likewise.
17095         * sysdeps/mach/hurd/getcwd.c
17096         (_hurd_canonicalize_directory_name_internal): Likewise.
17097         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17098         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17099         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17100         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17101         Likewise, in both definitions.
17102         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17103         definitions.
17104         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17105         64] (__bswap_64): Likewise.
17106         * time/test_time.c (main): Likewise.
17107         * time/tzfile.c (__tzfile_read): Likewise.
17108         (__tzfile_compute): Likewise.
17109         * time/tzset.c (__tzset_parse_tz): Likewise.
17110         (tzset_internal): Likewise.
17111         (compute_change): Likewise.
17112         * wcsmbs/wcscat.c (__wcscat): Likewise.
17113         * wcsmbs/wcschr.c (wcschr): Likewise.
17114         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17115         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17116         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17117         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17118         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17119         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17120         * wcsmbs/wmemchr.c (wmemchr): Likewise.
17121         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17122         * wcsmbs/wmemset.c (wmemset): Likewise.
17123
17124 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
17125
17126         * scripts/config.guess: Update to version 2013-05-16.
17127         * scripts/config.sub: Update to version 2013-04-24.
17128         * scripts/install-sh: Update to version 2011-11-20.07.
17129         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17130         * scripts/move-if-change: Update to version 2012-01-06 07:23.
17131
17132 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
17133
17134         * debug/fgetws_u_chk.c: Fix leading whitespaces.
17135         * elf/sln.c: Likewise.
17136         * hurd/hurd/ioctl.h: Likewise.
17137         * hurd/hurdmalloc.c: Likewise.
17138         * hurd/xattr.c: Likewise.
17139         * include/shlib-compat.h: Likewise.
17140         * inet/ruserpass.c: Likewise.
17141         * libio/iofgets_u.c: Likewise.
17142         * libio/iofgetws_u.c: Likewise.
17143         * locale/programs/ld-identification.c: Likewise.
17144         * locale/programs/ld-time.c: Likewise.
17145         * mach/msg-destroy.c: Likewise.
17146         * nss/nss_files/files-netgrp.c: Likewise.
17147         * resolv/res_data.c: Likewise.
17148         * soft-fp/op-1.h: Likewise.
17149         * soft-fp/op-2.h: Likewise.
17150         * soft-fp/op-4.h: Likewise.
17151         * soft-fp/op-common.h: Likewise.
17152         * stdio-common/printf_fphex.c: Likewise.
17153         * stdlib/strtod_l.c: Likewise.
17154         * sunrpc/rpc/clnt.h: Likewise.
17155         * sysdeps/generic/framestate.c: Likewise.
17156         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17157         * sysdeps/i386/bsd-setjmp.S: Likewise.
17158         * sysdeps/i386/__longjmp.S: Likewise.
17159         * sysdeps/i386/setjmp.S: Likewise.
17160         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17161         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17162         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17163         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17164         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17165         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17166         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17167         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17168         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17169         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17170         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17171         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17172         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17173         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17174         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17175         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17176         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17177         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17178         * sysdeps/ieee754/support.c: Likewise.
17179         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17180         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17181         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17182         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17183         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17184         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17185         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17186         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17187         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17188         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17189         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17190         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17191         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17192         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17193         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17194         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17195         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17197
17198 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
17199
17200         * posix/transbug.c: Remove executable mode.
17201
17202 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
17203
17204         * crypt/speeds.c: Remove trailing whitespace.
17205         * dlfcn/default.c: Likewise.
17206         * elf/ifuncdep2.c: Likewise.
17207         * elf/ifuncmain1.c: Likewise.
17208         * elf/ifuncmain1vis.c: Likewise.
17209         * elf/testobj.h: Likewise.
17210         * elf/tst-stackguard1.c: Likewise.
17211         * gmon/sys/gmon.h: Likewise.
17212         * hurd/hurdmsg.c: Likewise.
17213         * hurd/new-fd.c: Likewise.
17214         * hurd/ports-get.c: Likewise.
17215         * iconvdata/ibm1008_420.c: Likewise.
17216         * inet/tst-getni1.c: Likewise.
17217         * inet/tst-getni2.c: Likewise.
17218         * libio/ioungetc.c: Likewise.
17219         * libio/wfiledoalloc.c: Likewise.
17220         * manual/libm-err-tab.pl: Likewise.
17221         * math/w_dremf.c: Likewise.
17222         * misc/ftruncate.c: Likewise.
17223         * posix/bug-glob2.c: Likewise.
17224         * posix/tst-pcre.c: Likewise.
17225         * posix/wait4.c: Likewise.
17226         * resolv/README: Likewise.
17227         * resolv/res_debug.h: Likewise.
17228         * resolv/tst-inet_ntop.c: Likewise.
17229         * setjmp/bug269-setjmp.c: Likewise.
17230         * soft-fp/extended.h: Likewise.
17231         * soft-fp/op-1.h: Likewise.
17232         * soft-fp/op-2.h: Likewise.
17233         * soft-fp/op-4.h: Likewise.
17234         * soft-fp/op-8.h: Likewise.
17235         * soft-fp/testit.c: Likewise.
17236         * stdio-common/bug16.c: Likewise.
17237         * stdlib/random.c: Likewise.
17238         * sunrpc/rpcsvc/rquota.x: Likewise.
17239         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17240         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17241         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17242         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17243         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17244         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17245         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17246         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17247         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17248         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17249         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17250         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17251         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17252         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17253         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17254         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17255         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17256         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17257         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17258         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17259         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17260         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17261         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17262         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17263         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17264         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17265         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17266         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17267         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17268         * sysdeps/ieee754/s_lib_version.c: Likewise.
17269         * sysdeps/mach/hurd/check_fds.c: Likewise.
17270         * sysdeps/mach/hurd/getsockname.c: Likewise.
17271         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17272         * sysdeps/mach/hurd/recvfrom.c: Likewise.
17273         * sysdeps/powerpc/bits/link.h: Likewise.
17274         * sysdeps/powerpc/dl-procinfo.c: Likewise.
17275         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17276         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17277         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17278         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17279         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17280         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17281         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17282         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17283         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17284         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17285         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17286         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17287         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17288         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17289         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17290         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17291         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17292         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17293         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17294         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17295         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17296         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17297         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17298         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17299         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17300         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17301         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17302         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17303         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17304         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17305         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17306         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17307         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17308         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17309         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17310         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17311         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17312         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17313         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17314         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17315         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17316         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17317         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17318         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17319         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17320         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17321         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17322         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17323         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17324         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17325         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17326         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17327         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17328         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17329         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17330         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17331         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17332         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17333         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17334         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17335         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17336         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17337         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17338         * sysdeps/powerpc/sysdep.h: Likewise.
17339         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17340         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17341         * sysdeps/sh/dl-trampoline.S: Likewise.
17342         * sysdeps/sh/memset.S: Likewise.
17343         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17344         * sysdeps/sh/strlen.S: Likewise.
17345         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17346         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17347         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17348         * sysdeps/sparc/sparc32/rem.S: Likewise.
17349         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17350         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17351         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17352         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17353         * sysdeps/sparc/sparc32/urem.S: Likewise.
17354         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17355         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17356         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17357         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17358         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17359         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17360         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17361         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17362         * sysdeps/unix/bsd/times.c: Likewise.
17363         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17364         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17368         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17369         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17370         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17371         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17372         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17373         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17374         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17375         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17376         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17377         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17378         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17379         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17380         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17381         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17382         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17383         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17384         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17385         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17386         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17387         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17388         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17389         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17390         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17391         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17392         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17393         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17394         * sysdeps/x86_64/strcspn.S: Likewise.
17395
17396 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17397
17398         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17399         generated file.  Regenerate properly from gen-translit.pl.
17400         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17401         locale/C-translit.h.
17402
17403 2013-06-05  Andreas Schwab  <schwab@suse.de>
17404
17405         [BZ #15100]
17406         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17407         week as 6 instead of -1.
17408         * time/tst-strptime.c (day_tests): Add test case.
17409
17410 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17411
17412         * sysdeps/generic/math_private.h
17413         (libc_feholdexcept_setround_53bit): Replace with
17414         libc_feholdsetround_53bit.
17415         (libc_feupdateenv_53bit): Replace with
17416         libc_feresetround_53bit.
17417         (SET_RESTORE_ROUND_53BIT): Adjust.
17418
17419 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17420
17421         * string/test-strchrnul.c: Add copyright header.
17422
17423         * posix/tst-getaddrinfo4.c: Increase test timeout.
17424
17425 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
17426
17427         [BZ #15536]
17428         * math/libm-test.inc (MAX_EXP): Remove
17429         (MIN_EXP): Define.
17430         (ulp): Use MIN_EXP - MANT_DIG.
17431         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17432
17433 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
17434
17435         * po/be.po: Revert last change.
17436         * po/zh_CN.po: Likewise.
17437         * po/header.pot: Likewise.
17438
17439 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17440
17441         * Makefile ($(common-objpfx)linkobj/libc.so): Define
17442         link-libc-deps to empty as target-specific variable.
17443         * Makerules (link-libc-args): New variable.
17444         (libc-for-link): Likewise.
17445         (link-libc-deps): Likewise.
17446         (lib%.so): Depend on $(link-libc-deps).  Link with
17447         $(link-libc-args).
17448         (build-module): Link with $(link-libc-args).
17449         (build-module-asneeded): Likewise.
17450         (build-module-helper-objlist): Filter out $(link-libc-deps) from
17451         list of objects.
17452         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17453         target-specific variable.
17454         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17455         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17456         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17457         libc.
17458         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17459         libc and ld.so.
17460         ($(objpfx)libpcprofile.so): Likewise.
17461         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17462         libc_nonshared.a.
17463         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17464         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17465         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17466         $(link-libc-deps).
17467         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17468         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17469         * login/Makefile ($(objpfx)libutil.so): Likewise.
17470         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17471         * math/Makefile ($(objpfx)libm.so): Likewise.
17472         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17473         $(objpfx)libnsl.so): Define libc-for-link as target-specific
17474         variable instead of depending directly on libc.
17475         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17476         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17477         $(link-libc-deps).
17478         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17479         libc.
17480         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17481         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17482         ($(objpfx)libanl.so): Likewise.
17483         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17484         ld.so.
17485         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17486         $(link-libc-deps).
17487         * sysdeps/i386/fpu/Makefile: Remove file.
17488         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17489         ($(objpfx)libm.so): Remove dependency on ld.so.
17490
17491 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
17492
17493         [BZ # 15553]
17494         * nis/yp_xdr.c (XDRMAXNAME): Define.
17495         (XDRMAXRECORD): Define.
17496         (xdr_domainname): Use XDRMAXNAME.
17497         (xdr_mapname): Likewise.
17498         (xdr_peername): Likewise.
17499         (xdr_keydat): Use XDRMAXRECORD.
17500         (xdr_valdat): Likewise.
17501
17502 2013-05-30  Jeff Law  <law@redhat.com>
17503
17504         [BZ #14256]
17505         * manual/errno.texi (ESTALE): Update to account for more than
17506         just NFS file systems.
17507         * sysdeps/gnu/errlist.c: Regenerated.
17508
17509 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17510
17511         [BZ #15465]
17512         * elf/Makefile (tests): Add tst-null-argv.
17513         (modules-names):  Add tst-null-argv-lib.
17514         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17515         (tst-null-argv-ENV): Set environment for tst-null-argv.
17516         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17517         (RTLD_PROGNAME): New macro.
17518         * elf/tst-null-argv.c: New test case.
17519         * elf/tst-null-argv-lib.c: Library for test case.
17520         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17521         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17522         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17523         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17524         * elf/dl-init.c (call_init): Likewise.
17525         (_dl_init): Likewise.
17526         * elf/dl-load.c (print_search_path): Likewise.
17527         (_dl_map_object): Likewise.
17528         * elf/dl-lookup.c (do_lookup_x): Likewise.
17529         (add_dependency): Likewise.
17530         (_dl_lookup_symbol_x): Likewise.
17531         (_dl_debug_bindings): Likewise.
17532         * elf/dl-open.c (_dl_show_scope): Likewise.
17533         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17534         * elf/dl-version.c (match_symbol): Likewise.
17535         (_dl_check_map_versions): Likewise.
17536         * elf/rtld.c (dl_main): Likewise.
17537         (print_unresolved): Use RTLD_PROGNAME.
17538         (print_missing_version): Likewise.
17539         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17540         (elf_machine_rela): Likewise.
17541         * sysdeps/powerpc/powerpc32/dl-machine.c
17542         (__process_machine_rela): Likewise.
17543         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17544         Likewise.
17545         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17546         Likewise.
17547         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17548         Likewise.
17549         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17550         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17551         Likewise.
17552         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17553         Likewise.
17554         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17555
17556 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
17557
17558         * po/be.po: Add descriptive title.
17559         * po/zh_CN.po: Likewise.
17560         * po/header.pot: Likewise.
17561
17562 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
17563
17564         * locale/programs/locarchive.c (create_archive): Inlucde fname in
17565         error message.
17566         (enlarge_archive): Likewise.
17567
17568 2013-05-28  Ben North  <ben@redfrontdoor.org>
17569
17570         * manual/arith.texi (frexp): It is the magnitude of the return
17571         value which lies in [0.5, 1), not the return value itself.
17572
17573 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17574
17575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17576
17577 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
17578
17579         * stdio-common/bug26.c (main): Correct fscanf template.
17580
17581         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17582         declare _dl_skip_args.
17583
17584         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17585         Don't declare.
17586
17587         * manual/platform.texi: Add missing @end deftypefun.
17588
17589 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17590
17591         [BZ #15529]
17592         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17593         bit of mantissa of 2^16382.
17594         * math/libm-test.inc (hypot_test_data): Add more tests.
17595
17596         * math/libm-test.inc: Add drem and pow10 to list of tested
17597         functions.
17598         (pow10_test): New function.
17599         (drem_test): Likewise.
17600         (drem_test_tonearest): Likewise.
17601         (drem_test_towardzero): Likewise.
17602         (drem_test_downward): Likewise.
17603         (drem_test_upward): Likewise.
17604         (main): Call the new functions.
17605
17606         * math/libm-test.inc (finite_test_data): Remove.
17607         (finite_test): Run tests from isfinite_test_data.
17608         (gamma_test_data): Remove.
17609         (gamma_test): Run tests from lgamma_test_data.
17610         * sysdeps/i386/fpu/libm-test-ulps: Update.
17611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17612
17613 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17614
17615         * manual/platform.texi: Add PowerPC PPR function set documentation.
17616         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17617         implementation.
17618
17619 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
17620
17621         * math/libm-test.inc (MAX_EXP): Define.
17622         (ULPDIFF): Define.
17623         (ulp): New function.
17624         (check_float_internal): Use ULPDIFF.
17625         (cpow_test): Disable failing test.
17626         (check_ulp): Test ulp() implemetnation.
17627         (main): Call check_ulp before starting tests.
17628
17629 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17630
17631         * math/gen-libm-test.pl (generate_testfile): Do not handle
17632         START_DATA and END_DATA.
17633         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17634         END_DATA.
17635         (acos_tonearest_test_data): Likewise.
17636         (acos_towardzero_test_data): Likewise.
17637         (acos_downward_test_data): Likewise.
17638         (acos_upward_test_data): Likewise.
17639         (acosh_test_data): Likewise.
17640         (asin_test_data): Likewise.
17641         (asin_tonearest_test_data): Likewise.
17642         (asin_towardzero_test_data): Likewise.
17643         (asin_downward_test_data): Likewise.
17644         (asin_upward_test_data): Likewise.
17645         (asinh_test_data): Likewise.
17646         (atan_test_data): Likewise.
17647         (atanh_test_data): Likewise.
17648         (atan2_test_data): Likewise.
17649         (cabs_test_data): Likewise.
17650         (cacos_test_data): Likewise.
17651         (cacosh_test_data): Likewise.
17652         (carg_test_data): Likewise.
17653         (casin_test_data): Likewise.
17654         (casinh_test_data): Likewise.
17655         (catan_test_data): Likewise.
17656         (catanh_test_data): Likewise.
17657         (cbrt_test_data): Likewise.
17658         (ccos_test_data): Likewise.
17659         (ccosh_test_data): Likewise.
17660         (ceil_test_data): Likewise.
17661         (cexp_test_data): Likewise.
17662         (cimag_test_data): Likewise.
17663         (clog_test_data): Likewise.
17664         (clog10_test_data): Likewise.
17665         (conj_test_data): Likewise.
17666         (copysign_test_data): Likewise.
17667         (cos_test_data): Likewise.
17668         (cos_tonearest_test_data): Likewise.
17669         (cos_towardzero_test_data): Likewise.
17670         (cos_downward_test_data): Likewise.
17671         (cos_upward_test_data): Likewise.
17672         (cosh_test_data): Likewise.
17673         (cosh_tonearest_test_data): Likewise.
17674         (cosh_towardzero_test_data): Likewise.
17675         (cosh_downward_test_data): Likewise.
17676         (cosh_upward_test_data): Likewise.
17677         (cpow_test_data): Likewise.
17678         (cproj_test_data): Likewise.
17679         (creal_test_data): Likewise.
17680         (csin_test_data): Likewise.
17681         (csinh_test_data): Likewise.
17682         (csqrt_test_data): Likewise.
17683         (ctan_test_data): Likewise.
17684         (ctan_tonearest_test_data): Likewise.
17685         (ctan_towardzero_test_data): Likewise.
17686         (ctan_downward_test_data): Likewise.
17687         (ctan_upward_test_data): Likewise.
17688         (ctanh_test_data): Likewise.
17689         (ctanh_tonearest_test_data): Likewise.
17690         (ctanh_towardzero_test_data): Likewise.
17691         (ctanh_downward_test_data): Likewise.
17692         (ctanh_upward_test_data): Likewise.
17693         (erf_test_data): Likewise.
17694         (erfc_test_data): Likewise.
17695         (exp_test_data): Likewise.
17696         (exp_tonearest_test_data): Likewise.
17697         (exp_towardzero_test_data): Likewise.
17698         (exp_downward_test_data): Likewise.
17699         (exp_upward_test_data): Likewise.
17700         (exp10_test_data): Likewise.
17701         (exp2_test_data): Likewise.
17702         (expm1_test_data): Likewise.
17703         (fabs_test_data): Likewise.
17704         (fdim_test_data): Likewise.
17705         (finite_test_data): Likewise.
17706         (floor_test_data): Likewise.
17707         (fma_test_data): Likewise.
17708         (fma_towardzero_test_data): Likewise.
17709         (fma_downward_test_data): Likewise.
17710         (fma_upward_test_data): Likewise.
17711         (fmax_test_data): Likewise.
17712         (fmin_test_data): Likewise.
17713         (fmod_test_data): Likewise.
17714         (fpclassify_test_data): Likewise.
17715         (frexp_test_data): Likewise.
17716         (gamma_test_data): Likewise.
17717         (hypot_test_data): Likewise.
17718         (ilogb_test_data): Likewise.
17719         (isfinite_test_data): Likewise.
17720         (isgreater_test_data): Likewise.
17721         (isgreaterequal_test_data): Likewise.
17722         (isinf_test_data): Likewise.
17723         (isless_test_data): Likewise.
17724         (islessequal_test_data): Likewise.
17725         (islessgreater_test_data): Likewise.
17726         (isnan_test_data): Likewise.
17727         (isnormal_test_data): Likewise.
17728         (issignaling_test_data): Likewise.
17729         (isunordered_test_data): Likewise.
17730         (j0_test_data): Likewise.
17731         (j1_test_data): Likewise.
17732         (jn_test_data): Likewise.
17733         (ldexp_test_data): Likewise.
17734         (lgamma_test_data): Likewise.
17735         (lrint_test_data): Likewise.
17736         (lrint_tonearest_test_data): Likewise.
17737         (lrint_towardzero_test_data): Likewise.
17738         (lrint_downward_test_data): Likewise.
17739         (lrint_upward_test_data): Likewise.
17740         (llrint_test_data): Likewise.
17741         (llrint_tonearest_test_data): Likewise.
17742         (llrint_towardzero_test_data): Likewise.
17743         (llrint_downward_test_data): Likewise.
17744         (llrint_upward_test_data): Likewise.
17745         (log_test_data): Likewise.
17746         (log10_test_data): Likewise.
17747         (log1p_test_data): Likewise.
17748         (log2_test_data): Likewise.
17749         (logb_test_data): Likewise.
17750         (logb_downward_test_data): Likewise.
17751         (lround_test_data): Likewise.
17752         (llround_test_data): Likewise.
17753         (modf_test_data): Likewise.
17754         (nearbyint_test_data): Likewise.
17755         (nextafter_test_data): Likewise.
17756         (nexttoward_test_data): Likewise.
17757         (pow_test_data): Likewise.
17758         (pow_tonearest_test_data): Likewise.
17759         (pow_towardzero_test_data): Likewise.
17760         (pow_downward_test_data): Likewise.
17761         (pow_upward_test_data): Likewise.
17762         (remainder_test_data): Likewise.
17763         (remainder_tonearest_test_data): Likewise.
17764         (remainder_towardzero_test_data): Likewise.
17765         (remainder_downward_test_data): Likewise.
17766         (remainder_upward_test_data): Likewise.
17767         (remquo_test_data): Likewise.
17768         (rint_test_data): Likewise.
17769         (rint_tonearest_test_data): Likewise.
17770         (rint_towardzero_test_data): Likewise.
17771         (rint_downward_test_data): Likewise.
17772         (rint_upward_test_data): Likewise.
17773         (round_test_data): Likewise.
17774         (scalb_test_data): Likewise.
17775         (scalbn_test_data): Likewise.
17776         (scalbln_test_data): Likewise.
17777         (signbit_test_data): Likewise.
17778         (sin_test_data): Likewise.
17779         (sin_tonearest_test_data): Likewise.
17780         (sin_towardzero_test_data): Likewise.
17781         (sin_downward_test_data): Likewise.
17782         (sin_upward_test_data): Likewise.
17783         (sincos_test_data): Likewise.
17784         (sinh_test_data): Likewise.
17785         (sinh_tonearest_test_data): Likewise.
17786         (sinh_towardzero_test_data): Likewise.
17787         (sinh_downward_test_data): Likewise.
17788         (sinh_upward_test_data): Likewise.
17789         (sqrt_test_data): Likewise.
17790         (tan_test_data): Likewise.
17791         (tan_tonearest_test_data): Likewise.
17792         (tan_towardzero_test_data): Likewise.
17793         (tan_downward_test_data): Likewise.
17794         (tan_upward_test_data): Likewise.
17795         (tanh_test_data): Likewise.
17796         (tgamma_test_data): Likewise.
17797         (trunc_test_data): Likewise.
17798         (y0_test_data): Likewise.
17799         (y1_test_data): Likewise.
17800         (yn_test_data): Likewise.
17801         (significand_test_data): Likewise.
17802
17803         * math/gen-libm-test.pl (@functions): Remove variable.
17804         (generate_testfile): Don't handle START and END lines.
17805         * math/libm-test.inc (START): New macro.
17806         (END): Likewise.
17807         (END_COMPLEX): Likewise.
17808         (acos_test): Use END macro without arguments.
17809         (acos_test_tonearest): Likewise.
17810         (acos_test_towardzero): Likewise.
17811         (acos_test_downward): Likewise.
17812         (acos_test_upward): Likewise.
17813         (acosh_test): Likewise.
17814         (asin_test): Likewise.
17815         (asin_test_tonearest): Likewise.
17816         (asin_test_towardzero): Likewise.
17817         (asin_test_downward): Likewise.
17818         (asin_test_upward): Likewise.
17819         (asinh_test): Likewise.
17820         (atan_test): Likewise.
17821         (atanh_test): Likewise.
17822         (atan2_test): Likewise.
17823         (cabs_test): Likewise.
17824         (cacos_test): Use END_COMPLEX macro without arguments.
17825         (cacosh_test): Likewise.
17826         (carg_test): Use END macro without arguments.
17827         (casin_test): Use END_COMPLEX macro without arguments.
17828         (casinh_test): Likewise.
17829         (catan_test): Likewise.
17830         (catanh_test): Likewise.
17831         (cbrt_test): Use END macro without arguments.
17832         (ccos_test): Use END_COMPLEX macro without arguments.
17833         (ccosh_test): Likewise.
17834         (ceil_test): Use END macro without arguments.
17835         (cexp_test): Use END_COMPLEX macro without arguments.
17836         (cimag_test): Use END macro without arguments.
17837         (clog_test): Use END_COMPLEX macro without arguments.
17838         (clog10_test): Likewise.
17839         (conj_test): Likewise.
17840         (copysign_test): Use END macro without arguments.
17841         (cos_test): Likewise.
17842         (cos_test_tonearest): Likewise.
17843         (cos_test_towardzero): Likewise.
17844         (cos_test_downward): Likewise.
17845         (cos_test_upward): Likewise.
17846         (cosh_test): Likewise.
17847         (cosh_test_tonearest): Likewise.
17848         (cosh_test_towardzero): Likewise.
17849         (cosh_test_downward): Likewise.
17850         (cosh_test_upward): Likewise.
17851         (cpow_test): Use END_COMPLEX macro without arguments.
17852         (cproj_test): Likewise.
17853         (creal_test): Use END macro without arguments.
17854         (csin_test): Use END_COMPLEX macro without arguments.
17855         (csinh_test): Likewise.
17856         (csqrt_test): Likewise.
17857         (ctan_test): Likewise.
17858         (ctan_test_tonearest): Likewise.
17859         (ctan_test_towardzero): Likewise.
17860         (ctan_test_downward): Likewise.
17861         (ctan_test_upward): Likewise.
17862         (ctanh_test): Likewise.
17863         (ctanh_test_tonearest): Likewise.
17864         (ctanh_test_towardzero): Likewise.
17865         (ctanh_test_downward): Likewise.
17866         (ctanh_test_upward): Likewise.
17867         (erf_test): Use END macro without arguments.
17868         (erfc_test): Likewise.
17869         (exp_test): Likewise.
17870         (exp_test_tonearest): Likewise.
17871         (exp_test_towardzero): Likewise.
17872         (exp_test_downward): Likewise.
17873         (exp_test_upward): Likewise.
17874         (exp10_test): Likewise.
17875         (exp2_test): Likewise.
17876         (expm1_test): Likewise.
17877         (fabs_test): Likewise.
17878         (fdim_test): Likewise.
17879         (finite_test): Likewise.
17880         (floor_test): Likewise.
17881         (fma_test): Likewise.
17882         (fma_test_towardzero): Likewise.
17883         (fma_test_downward): Likewise.
17884         (fma_test_upward): Likewise.
17885         (fmax_test): Likewise.
17886         (fmin_test): Likewise.
17887         (fmod_test): Likewise.
17888         (fpclassify_test): Likewise.
17889         (frexp_test): Likewise.
17890         (gamma_test): Likewise.
17891         (hypot_test): Likewise.
17892         (ilogb_test): Likewise.
17893         (isfinite_test): Likewise.
17894         (isgreater_test): Likewise.
17895         (isgreaterequal_test): Likewise.
17896         (isinf_test): Likewise.
17897         (isless_test): Likewise.
17898         (islessequal_test): Likewise.
17899         (islessgreater_test): Likewise.
17900         (isnan_test): Likewise.
17901         (isnormal_test): Likewise.
17902         (issignaling_test): Likewise.
17903         (isunordered_test): Likewise.
17904         (j0_test): Likewise.
17905         (j1_test): Likewise.
17906         (jn_test): Likewise.
17907         (ldexp_test): Likewise.
17908         (lgamma_test): Likewise.
17909         (lrint_test): Likewise.
17910         (lrint_test_tonearest): Likewise.
17911         (lrint_test_towardzero): Likewise.
17912         (lrint_test_downward): Likewise.
17913         (lrint_test_upward): Likewise.
17914         (llrint_test): Likewise.
17915         (llrint_test_tonearest): Likewise.
17916         (llrint_test_towardzero): Likewise.
17917         (llrint_test_downward): Likewise.
17918         (llrint_test_upward): Likewise.
17919         (log_test): Likewise.
17920         (log10_test): Likewise.
17921         (log1p_test): Likewise.
17922         (log2_test): Likewise.
17923         (logb_test): Likewise.
17924         (logb_test_downward): Likewise.
17925         (lround_test): Likewise.
17926         (llround_test): Likewise.
17927         (modf_test): Likewise.
17928         (nearbyint_test): Likewise.
17929         (nextafter_test): Likewise.
17930         (nexttoward_test): Likewise.
17931         (pow_test): Likewise.
17932         (pow_test_tonearest): Likewise.
17933         (pow_test_towardzero): Likewise.
17934         (pow_test_downward): Likewise.
17935         (pow_test_upward): Likewise.
17936         (remainder_test): Likewise.
17937         (remainder_test_tonearest): Likewise.
17938         (remainder_test_towardzero): Likewise.
17939         (remainder_test_downward): Likewise.
17940         (remainder_test_upward): Likewise.
17941         (remquo_test): Likewise.
17942         (rint_test): Likewise.
17943         (rint_test_tonearest): Likewise.
17944         (rint_test_towardzero): Likewise.
17945         (rint_test_downward): Likewise.
17946         (rint_test_upward): Likewise.
17947         (round_test): Likewise.
17948         (scalb_test): Likewise.
17949         (scalbn_test): Likewise.
17950         (scalbln_test): Likewise.
17951         (signbit_test): Likewise.
17952         (sin_test): Likewise.
17953         (sin_test_tonearest): Likewise.
17954         (sin_test_towardzero): Likewise.
17955         (sin_test_downward): Likewise.
17956         (sin_test_upward): Likewise.
17957         (sincos_test): Likewise.
17958         (sinh_test): Likewise.
17959         (sinh_test_tonearest): Likewise.
17960         (sinh_test_towardzero): Likewise.
17961         (sinh_test_downward): Likewise.
17962         (sinh_test_upward): Likewise.
17963         (sqrt_test): Likewise.
17964         (tan_test): Likewise.
17965         (tan_test_tonearest): Likewise.
17966         (tan_test_towardzero): Likewise.
17967         (tan_test_downward): Likewise.
17968         (tan_test_upward): Likewise.
17969         (tanh_test): Likewise.
17970         (tgamma_test): Likewise.
17971         (trunc_test): Likewise.
17972         (y0_test): Likewise.
17973         (y1_test): Likewise.
17974         (yn_test): Likewise.
17975         (significand_test): Likewise.
17976
17977 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
17978
17979         [BZ #15381]
17980         * libio/genops.c (_IO_no_init): Initialize wide struct info.
17981
17982 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17983
17984         [BZ #14894]
17985         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17986         __ppc_mdoio and __ppc_mdoom.
17987         * manual/platform.texi: Document new functions __ppc_yield,
17988         __ppc_mdoio and __ppc_mdoom.
17989
17990 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
17991
17992         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17993         (main): Mention "tls" pseudo-hwcap is legacy.
17994         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17995
17996 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17997
17998         * math/gen-libm-test.pl (parse_args): Output only string of
17999         arguments as text for test name, not full call or descriptions of
18000         tests for extra outputs.
18001         (generate_testfile): Do not pass function name to parse_args.
18002         Generate this_func variable from START.
18003         * math/libm-test.inc (struct test_f_f_data): Rename test_name
18004         field to arg_str.
18005         (struct test_ff_f_data): Likewise.
18006         (test_ff_f_data_nexttoward): Likewise.
18007         (struct test_fi_f_data): Likewise.
18008         (struct test_fl_f_data): Likewise.
18009         (struct test_if_f_data): Likewise.
18010         (struct test_fff_f_data): Likewise.
18011         (struct test_c_f_data): Likewise.
18012         (struct test_f_f1_data): Likewise.  Remove field extra_name.
18013         (struct test_fF_f1_data): Likewise.
18014         (struct test_ffI_f1_data): Likewise.
18015         (struct test_c_c_data): Rename test_name field to arg_str.
18016         (struct test_cc_c_data): Likewise.
18017         (struct test_f_i_data): Likewise.
18018         (struct test_ff_i_data): Likewise.
18019         (struct test_f_l_data): Likewise.
18020         (struct test_f_L_data): Likewise.
18021         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
18022         and extra2_name.
18023         (COMMON_TEST_SETUP): New macro.
18024         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18025         (COMMON_TEST_CLEANUP): Likewise.
18026         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18027         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
18028         macros.
18029         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18030         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
18031         macros.
18032         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18033         (RUN_TEST_fff_f): Take argument string.  Call new setup and
18034         cleanup macros.
18035         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18036         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
18037         macros.
18038         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18039         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
18040         macros.
18041         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18042         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
18043         cleanup macros.
18044         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18045         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
18046         cleanup macros.
18047         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18048         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
18049         cleanup macros.
18050         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18051         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
18052         macros.
18053         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18054         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
18055         macros.
18056         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18057         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
18058         macros.
18059         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18060         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
18061         cleanup macros.
18062         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18063         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
18064         cleanup macros.
18065         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18066         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
18067         macros.
18068         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18069         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
18070         cleanup macros.
18071         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18072         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
18073         macros.
18074         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18075         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
18076         macros.
18077         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18078         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
18079         cleanup macros.
18080         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18081
18082 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
18083
18084         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18085         to _sifields.sigfault.
18086         (si_addr_lsb): Define new macro.
18087         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18088         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18089         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18090
18091 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
18092
18093         [BZ #15441]
18094         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18095         returns -1.
18096         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18097         null return -1.
18098         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18099         loading the domain.
18100
18101 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18102
18103         * math/gen-libm-test.pl (parse_args): Do not include expected
18104         result in test name.
18105         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18106         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18107         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18108         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18109         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18111
18112 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18113
18114         * benchtests/Makefile: Sort function entries.
18115
18116         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18117         tanh, asinh, acosh, atanh.
18118         * benchtests/acos-inputs: New file.
18119         * benchtests/acosh-inputs: New file.
18120         * benchtests/asin-inputs: New file.
18121         * benchtests/asinh-inputs: New file.
18122         * benchtests/atanh-inputs: New file.
18123         * benchtests/cosh-inputs: New file.
18124         * benchtests/log-inputs: New file.
18125         * benchtests/sinh-inputs: New file.
18126         * benchtests/tanh-inputs: New file.
18127
18128 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
18129
18130         [BZ #15339]
18131         * posix/tst-getaddrinfo4.c: New test.
18132         * posix/Makefile (tests): Add it.
18133
18134 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18135
18136         [BZ #15339]
18137         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18138         when no services were used.
18139         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18140         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18141
18142 2013-05-21  Andreas Schwab  <schwab@suse.de>
18143
18144         [BZ #15014]
18145         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18146         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18147         successful.
18148         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18149         redundant variable declarations and reallocation of buffer when
18150         parsing as IPv6 address.  Always set NSS status when called from
18151         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
18152         buffer too small.  Correct computation of needed size.
18153         * nss/Makefile (tests): Add test-digits-dots.
18154         * nss/test-digits-dots.c: New test.
18155
18156 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18157
18158         * benchtests/Makefile: Remove instructions for adding
18159         benchmark tests.
18160         * benchtests/README: New file to explain how to execute and
18161         enhance the benchmark tests.
18162
18163 2013-05-21  Andreas Schwab  <schwab@suse.de>
18164
18165         [BZ #15493]
18166         * setjmp/Makefile (tests): Add tst-sigsetjmp.
18167         * setjmp/tst-sigsetjmp.c: New test.
18168
18169 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18170
18171         * sysdeps/x86_64/memset.S (memset): New implementation.
18172         (__bzero): Likewise.
18173         (__memset_tail): New function.
18174
18175 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18176
18177         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18178         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18179         __memcpy_sse2_unaligned ifunc selection.
18180         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18181         Add memcpy-sse2-unaligned.S.
18182         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18183         Add: __memcpy_sse2_unaligned.
18184
18185 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
18186
18187         [BZ #15490]
18188         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18189         math_force_eval before restoring floating-point envrionment.
18190         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18191         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18192         Likewise.
18193         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18194         <math_private.h>.
18195         (__nearbyintl): Use math_force_eval before restoring
18196         floating-point environment.
18197         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18198
18199         * math/gen-libm-test.pl (special_functions): Remove.
18200         (parse_args): Don't handle TEST_extra.  Handle functions with no
18201         return value.
18202         * math/libm-test.inc (struct test_sincos_data): Replace with
18203         struct test_fFF_11_data.
18204         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18205         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18206         (sincos_test_data): Change element type to struct
18207         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
18208         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18209         RUN_TEST_LOOP_sincos.
18210         * math/README.libm-test: Don't mention special handling of
18211         individual functions.
18212         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18213         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18214         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18215         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18216         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18218
18219         * math/gen-libm-test.pl (get_variable): Remove function.
18220         (parse_args): Don't show pointer parameters to call in test
18221         names.  Use "extra output N" in test names for extra outputs
18222         rather than naming variables.
18223
18224 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
18225
18226         [BZ #15488]
18227         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18228         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18229         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18230         double tests.
18231         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18232         disable.
18233         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18234         check_long_double.
18235
18236         * math/gen-libm-test.pl (@tests): Remove variable.
18237         ($count): Likewise.
18238         (new_test): Remove function.
18239         (show_exceptions): New function.
18240         (special_functions): Use show_exceptions instead of new_test.
18241         (parse_args): Likewise.
18242         (generate_testfile): Pass only function name in generated call to
18243         print_max_error or print_complex_max_error.
18244         (get_ulps): Do not handle complex tests specially.
18245         (output_test): Rename to ...
18246         (get_all_ulps_for_test): ... this.  Return a string rather than
18247         printing to a file.  Require ulps to be present.
18248         (output_ulps): Generate arrays rather than #defines.
18249         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18250         (struct ulp_data): New type.
18251         (BUILD_COMPLEX_ULP): Remove macro.
18252         (compare_ulp_data): New function.
18253         (find_ulps): Likewise.
18254         (find_test_ulps): Likewise.
18255         (find_function_ulps): Likewise.
18256         (find_complex_function_ulps): Likewise.
18257         (print_max_error): Determine allowed ulps using
18258         find_function_ulps.
18259         (print_complex_max_error): Determine allowed ulps using
18260         find_complex_function_ulps.
18261         (check_float_internal): Determine max ulps using find_test_ulps.
18262         (check_float): Do not take max_ulp parameter.  Update call to
18263         check_float_internal.
18264         (check_complex): Likewise.
18265         (check_int): Do not take max_ulp parameter.
18266         (check_long): Likewise.
18267         (check_bool): Likewise.
18268         (check_longlong): Likewise.
18269         (struct test_f_f_data): Remove max_ulp field.
18270         (struct test_ff_f_data): Likewise.
18271         (struct test_ff_f_data_nexttoward): Likewise.
18272         (struct test_fi_f_data): Likewise.
18273         (struct test_fl_f_data): Likewise.
18274         (struct test_if_f_data): Likewise.
18275         (struct test_fff_f_data): Likewise.
18276         (struct test_c_f_data): Likewise.
18277         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18278         (struct test_fF_f1_data): Likewise.
18279         (struct test_ffI_f1_data): Likewise.
18280         (struct test_c_c_data): Remove max_ulp field.
18281         (struct test_cc_c_data): Likewise.
18282         (struct test_f_i_data): Likewise.
18283         (struct test_ff_i_data): Likewise.
18284         (struct test_f_l_data): Likewise.
18285         (struct test_f_L_data): Likewise.
18286         (struct test_sincos_data): Likewise.
18287         (RUN_TEST_f_f): Do not handle ulps.
18288         (RUN_TEST_LOOP_f_f): Likewise.
18289         (RUN_TEST_2_f): Likewise.
18290         (RUN_TEST_LOOP_2_f): Likewise.
18291         (RUN_TEST_fff_f): Likewise.
18292         (RUN_TEST_LOOP_fff_f): Likewise.
18293         (RUN_TEST_c_f): Likewise.
18294         (RUN_TEST_LOOP_c_f): Likewise.
18295         (RUN_TEST_f_f1): Likewise.
18296         (RUN_TEST_LOOP_f_f1): Likewise.
18297         (RUN_TEST_fF_f1): Likewise.
18298         (RUN_TEST_LOOP_fF_f1): Likewise.
18299         (RUN_TEST_fI_f1): Likewise.
18300         (RUN_TEST_LOOP_fI_f1): Likewise.
18301         (RUN_TEST_ffI_f1): Likewise.
18302         (RUN_TEST_LOOP_ffI_f1): Likewise.
18303         (RUN_TEST_c_c): Likewise.
18304         (RUN_TEST_LOOP_c_c): Likewise.
18305         (RUN_TEST_cc_c): Likewise.
18306         (RUN_TEST_LOOP_cc_c): Likewise.
18307         (RUN_TEST_f_i): Likewise.
18308         (RUN_TEST_LOOP_f_i): Likewise.
18309         (RUN_TEST_f_i_tg): Likewise.
18310         (RUN_TEST_LOOP_f_i_tg): Likewise.
18311         (RUN_TEST_ff_i_tg): Likewise.
18312         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18313         (RUN_TEST_f_b): Likewise.
18314         (RUN_TEST_LOOP_f_b): Likewise.
18315         (RUN_TEST_f_b_tg): Likewise.
18316         (RUN_TEST_LOOP_f_b_tg): Likewise.
18317         (RUN_TEST_f_l): Likewise.
18318         (RUN_TEST_LOOP_f_l): Likewise.
18319         (RUN_TEST_f_L): Likewise.
18320         (RUN_TEST_LOOP_f_L): Likewise.
18321         (RUN_TEST_sincos): Likewise.
18322         (RUN_TEST_LOOP_sincos): Likewise.
18323
18324 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18325
18326         [BZ #15480]
18327         [BZ #15485]
18328         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18329         main case of finite arguments, set rounding mode to FE_TONEAREST
18330         and discard exceptions.
18331         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18332         exceptions.
18333         (remainder_tonearest_test_data): New variable.
18334         (remainder_test_tonearest): New function.
18335         (remainder_towardzero_test_data): New variable.
18336         (remainder_test_towardzero): New function.
18337         (remainder_downward_test_data): New variable.
18338         (remainder_test_downward): New function.
18339         (remainder_upward_test_data): New variable.
18340         (remainder_test_upward): New function.
18341         (main): Call the new test functions.
18342
18343         * math/libm-test.inc (struct test_f_f1_data): Remove field
18344         extra_init.
18345         (struct test_fF_f1_data): Likewise.
18346         (struct test_ffI_f1_data): Likewise.
18347         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18348         based on value of EXTRA_EXPECTED.
18349         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18350         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18351         EXTRA_VAR based on value of EXTRA_EXPECTED.
18352         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18353         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18354         EXTRA_VAR based on value of EXTRA_EXPECTED.
18355         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18356         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18357         EXTRA_VAR based on value of EXTRA_EXPECTED.
18358         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18359         * math/gen-libm-test.pl (parse_args): Don't output initializers
18360         for extra output values.
18361
18362         * math/libm-test.inc (check_int): Expect result to be exactly
18363         equal to expected value and do not handle ulps.
18364         (check_long): Likewise.
18365         (check_longlong): Likewise.
18366
18367         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18368         exceptions.
18369         (cimag_test_data): Likewise.
18370         (conj_test_data): Likewise.
18371         (copysign_test_data): Likewise.
18372         (cproj_test_data): Likewise.
18373         (creal_test_data): Likewise.
18374         (fabs_test_data): Likewise.
18375         (fdim_test_data): Likewise.
18376         (finite_test_data): Likewise.
18377         (floor_test_data): Likewise.
18378         (fmax_test_data): Likewise.
18379         (fmin_test_data): Likewise.
18380         (fmod_test_data): Likewise.
18381         (fpclassify_test_data): Likewise.
18382         (frexp_test_data): Likewise.
18383         (ilogb_test_data): Likewise.
18384         (isfinite_test_data): Likewise.
18385         (isgreater_test_data): Likewise.
18386         (isgreaterequal_test_data): Likewise.
18387         (isinf_test_data): Likewise.
18388         (isless_test_data): Likewise.
18389         (islessequal_test_data): Likewise.
18390         (islessgreater_test_data): Likewise.
18391         (isnan_test_data): Likewise.
18392         (isnormal_test_data): Likewise.
18393         (issignaling_test_data): Likewise.
18394         (isunordered_test_data): Likewise.
18395         (ldexp_test_data): Likewise.
18396         (lrint_test_data): Likewise.
18397         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18398         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18399         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18400         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18401         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18402         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18403         test input.
18404         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18405         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18406         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18407         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18408         that test input.
18409         (lrint_downward_test_data): Test for "inexact" exceptions.
18410         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18411         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18412         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18413         test input.
18414         (lrint_upward_test_data): Test for "inexact" exceptions.
18415         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18416         test input.
18417         (llrint_test_data): Test for "inexact" exceptions.
18418         (llrint_test_data) [TEST_FLOAT]: Disable one test.
18419         (llrint_tonearest_test_data): Test for "inexact" exceptions.
18420         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18421         (llrint_towardzero_test_data): Test for "inexact" exceptions.
18422         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18423         (llrint_downward_test_data): Test for "inexact" exceptions.
18424         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18425         (llrint_upward_test_data): Test for "inexact" exceptions.
18426         (logb_test_data): Likewise.
18427         (logb_downward_test_data): Likewise.
18428         (nextafter_test_data): Likewise.
18429         (nexttoward_test_data): Likewise.
18430         (remainder_test_data): Likewise.
18431         (remquo_test_data): Likewise.
18432         (scalbn_test_data): Likewise.
18433         (scalbln_test_data): Likewise.
18434         (signbit_test_data): Likewise.
18435         (sqrt_test_data): Likewise.
18436         (significand_test_data): Likewise.
18437
18438 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18439
18440         [BZ #15424]
18441         * benchtests/bench-modf.c (struct args): Mark arg0 as
18442         volatile.
18443         * scripts/bench.pl: Mark members of struct args as volatile.
18444
18445 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18446
18447         [BZ # 15497]
18448         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18449         negative infinity on POWER6 or lower.
18450         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18451
18452 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18453
18454         [BZ #15442]
18455         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18456         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18457         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18458         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18459         (_FP_SETQNAN): New macro.
18460         (_FP_SETQNAN_SEMIRAW): Likewise.
18461         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18462         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18463         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18464         (FP_EXTEND): Use _FP_FRAC_SNANP.
18465         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18466         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18467         into account.
18468         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18469         New macro.
18470         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18471         Likewise.
18472
18473 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18474
18475         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18476         with DIVIDE_BY_ZERO_EXCEPTION.
18477         (gamma_test_data): Likewise.
18478         (lgamma_test_data): Likewise.
18479         (log_test_data): Likewise.
18480         (log10_test_data): Likewise.
18481         (log2_test_data): Likewise.
18482         (tgamma_test_data): Likewise.
18483
18484         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18485         (acos_test_tonearest): Likewise.
18486         (acos_test_towardzero): Likewise.
18487         (acos_test_downward): Likewise.
18488         (acos_test_upward): Likewise.
18489         (acosh_test): Likewise.
18490         (asin_test): Likewise.
18491         (asin_test_tonearest): Likewise.
18492         (asin_test_towardzero): Likewise.
18493         (asin_test_downward): Likewise.
18494         (asin_test_upward): Likewise.
18495         (asinh_test): Likewise.
18496         (atan_test): Likewise.
18497         (atanh_test): Likewise.
18498         (atan2_test): Likewise.
18499         (cabs_test): Likewise.
18500         (cacos_test): Likewise.
18501         (cacosh_test): Likewise.
18502         (casin_test): Likewise.
18503         (casinh_test): Likewise.
18504         (catan_test): Likewise.
18505         (catanh_test): Likewise.
18506         (cbrt_test): Likewise.
18507         (ccos_test): Likewise.
18508         (ccosh_test): Likewise.
18509         (cexp_test): Likewise.
18510         (clog_test): Likewise.
18511         (clog10_test): Likewise.
18512         (cos_test): Likewise.
18513         (cos_test_tonearest): Likewise.
18514         (cos_test_towardzero): Likewise.
18515         (cos_test_downward): Likewise.
18516         (cos_test_upward): Likewise.
18517         (cosh_test): Likewise.
18518         (cosh_test_tonearest): Likewise.
18519         (cosh_test_towardzero): Likewise.
18520         (cosh_test_downward): Likewise.
18521         (cosh_test_upward): Likewise.
18522         (cpow_test): Likewise.
18523         (csin_test): Likewise.
18524         (csinh_test): Likewise.
18525         (csqrt_test): Likewise.
18526         (ctan_test): Likewise.
18527         (ctan_test_tonearest): Likewise.
18528         (ctan_test_towardzero): Likewise.
18529         (ctan_test_downward): Likewise.
18530         (ctan_test_upward): Likewise.
18531         (ctanh_test): Likewise.
18532         (ctanh_test_tonearest): Likewise.
18533         (ctanh_test_towardzero): Likewise.
18534         (ctanh_test_downward): Likewise.
18535         (ctanh_test_upward): Likewise.
18536         (erf_test): Likewise.
18537         (erfc_test): Likewise.
18538         (exp_test): Likewise.
18539         (exp_test_tonearest): Likewise.
18540         (exp_test_towardzero): Likewise.
18541         (exp_test_downward): Likewise.
18542         (exp_test_upward): Likewise.
18543         (exp10_test): Likewise.
18544         (exp2_test): Likewise.
18545         (expm1_test): Likewise.
18546         (fmod_test): Likewise.
18547         (gamma_test): Likewise.
18548         (hypot_test): Likewise.
18549         (j0_test): Likewise.
18550         (j1_test): Likewise.
18551         (jn_test): Likewise.
18552         (lgamma_test): Likewise.
18553         (log_test): Likewise.
18554         (log10_test): Likewise.
18555         (log1p_test): Likewise.
18556         (log2_test): Likewise.
18557         (logb_test_downward): Likewise.
18558         (pow_test): Likewise.
18559         (pow_test_tonearest): Likewise.
18560         (pow_test_towardzero): Likewise.
18561         (pow_test_downward): Likewise.
18562         (pow_test_upward): Likewise.
18563         (remainder_test): Likewise.
18564         (remquo_test): Likewise.
18565         (sin_test): Likewise.
18566         (sin_test_tonearest): Likewise.
18567         (sin_test_towardzero): Likewise.
18568         (sin_test_downward): Likewise.
18569         (sin_test_upward): Likewise.
18570         (sincos_test): Likewise.
18571         (sinh_test): Likewise.
18572         (sinh_test_tonearest): Likewise.
18573         (sinh_test_towardzero): Likewise.
18574         (sinh_test_downward): Likewise.
18575         (sinh_test_upward): Likewise.
18576         (sqrt_test): Likewise.
18577         (tan_test): Likewise.
18578         (tan_test_tonearest): Likewise.
18579         (tan_test_towardzero): Likewise.
18580         (tan_test_downward): Likewise.
18581         (tan_test_upward): Likewise.
18582         (tanh_test): Likewise.
18583         (tgamma_test): Likewise.
18584         (y0_test): Likewise.
18585         (y1_test): Likewise.
18586         (yn_test): Likewise.
18587
18588         * math/gen-libm-test.pl (adjust_arg): Remove function.
18589         (special_function): Remove argument $in_func.  Only handle
18590         generating output for tables of tests, not inside functions.
18591         (parse_args): Likewise.
18592         (generate_testfile): Remove variable $in_func.  Update call to
18593         parse_args.
18594         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18595         (MINUS_ZERO_INIT): Rename macro to minus_zero.
18596         (PLUS_INFTY_INIT): Rename macro to plus_infty.
18597         (MINUS_INFTY_INIT): Rename macro to minus_infty.
18598         (QNAN_VALUE_INIT): Rename macro to qnan_value.
18599         (MAX_VALUE_INIT): Rename macro to max_value.
18600         (MIN_VALUE_INIT): Rename macro to min_value.
18601         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18602         (plus_zero): Remove variable.
18603         (minus_zero): Likewise.
18604         (plus_infty): Likewise.
18605         (minus_infty): Likewise.
18606         (qnan_value): Likewise.
18607         (max_value): Likewise.
18608         (min_value): Likewise.
18609         (min_subnorm_value): Likewise.
18610
18611 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18612
18613         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18614         uint64_t or uint32_t usage.
18615         * crypt/sha256-block.c: Likewise.
18616         * crypt/sha256-crypt.c: Likewise.
18617         * crypt/sha256.c: Likewise.
18618         * crypt/sha512-block.c: Likewise.
18619         * crypt/sha512-crypt.c: Likewise.
18620         * crypt/sha512.c: Likewise.
18621         * debug/backtrace-tst.c: Likewise.
18622         * debug/pcprofiledump.c: Likewise.
18623         * elf/cache.c: Likewise.
18624         * elf/dl-cache.c: Likewise.
18625         * elf/dl-misc.c: Likewise.
18626         * elf/dl-profile.c: Likewise.
18627         * elf/dl-support.c: Likewise.
18628         * elf/ldconfig.c: Likewise.
18629         * elf/sprof.c: Likewise.
18630         * iconv/dummy-repertoire.c: Likewise.
18631         * iconv/iconv_charmap.c: Likewise.
18632         * iconv/skeleton.c: Likewise.
18633         * iconvdata/8bit-generic.c: Likewise.
18634         * iconvdata/cp737.h: Likewise.
18635         * iconvdata/cp775.h: Likewise.
18636         * iconvdata/ibm1008.h: Likewise.
18637         * iconvdata/ibm1025.h: Likewise.
18638         * iconvdata/ibm1046.h: Likewise.
18639         * iconvdata/ibm1097.h: Likewise.
18640         * iconvdata/ibm1112.h: Likewise.
18641         * iconvdata/ibm1122.h: Likewise.
18642         * iconvdata/ibm1123.h: Likewise.
18643         * iconvdata/ibm1124.h: Likewise.
18644         * iconvdata/ibm1129.h: Likewise.
18645         * iconvdata/ibm1130.h: Likewise.
18646         * iconvdata/ibm1132.h: Likewise.
18647         * iconvdata/ibm1133.h: Likewise.
18648         * iconvdata/ibm1137.h: Likewise.
18649         * iconvdata/ibm1140.h: Likewise.
18650         * iconvdata/ibm1141.h: Likewise.
18651         * iconvdata/ibm1142.h: Likewise.
18652         * iconvdata/ibm1143.h: Likewise.
18653         * iconvdata/ibm1144.h: Likewise.
18654         * iconvdata/ibm1145.h: Likewise.
18655         * iconvdata/ibm1146.h: Likewise.
18656         * iconvdata/ibm1147.h: Likewise.
18657         * iconvdata/ibm1148.h: Likewise.
18658         * iconvdata/ibm1149.h: Likewise.
18659         * iconvdata/ibm1153.h: Likewise.
18660         * iconvdata/ibm1154.h: Likewise.
18661         * iconvdata/ibm1155.h: Likewise.
18662         * iconvdata/ibm1156.h: Likewise.
18663         * iconvdata/ibm1157.h: Likewise.
18664         * iconvdata/ibm1158.h: Likewise.
18665         * iconvdata/ibm1160.h: Likewise.
18666         * iconvdata/ibm1161.h: Likewise.
18667         * iconvdata/ibm1162.h: Likewise.
18668         * iconvdata/ibm1163.h: Likewise.
18669         * iconvdata/ibm1164.h: Likewise.
18670         * iconvdata/ibm1166.h: Likewise.
18671         * iconvdata/ibm1167.h: Likewise.
18672         * iconvdata/ibm12712.h: Likewise.
18673         * iconvdata/ibm1390.h: Likewise.
18674         * iconvdata/ibm1399.h: Likewise.
18675         * iconvdata/ibm16804.h: Likewise.
18676         * iconvdata/ibm4517.h: Likewise.
18677         * iconvdata/ibm4899.h: Likewise.
18678         * iconvdata/ibm4909.h: Likewise.
18679         * iconvdata/ibm4971.h: Likewise.
18680         * iconvdata/ibm5347.h: Likewise.
18681         * iconvdata/ibm803.h: Likewise.
18682         * iconvdata/ibm856.h: Likewise.
18683         * iconvdata/ibm901.h: Likewise.
18684         * iconvdata/ibm902.h: Likewise.
18685         * iconvdata/ibm9030.h: Likewise.
18686         * iconvdata/ibm9066.h: Likewise.
18687         * iconvdata/ibm921.h: Likewise.
18688         * iconvdata/ibm922.h: Likewise.
18689         * iconvdata/ibm9448.h: Likewise.
18690         * iconvdata/isiri-3342.h: Likewise.
18691         * iconvdata/jis0201.h: Likewise.
18692         * include/link.h: Likewise.
18693         * include/netdb.h: Likewise.
18694         * inet/check_native.c: Likewise.
18695         * inet/check_pf.c: Likewise.
18696         * inet/getipv4sourcefilter.c: Likewise.
18697         * inet/getnameinfo.c: Likewise.
18698         * inet/getsourcefilter.c: Likewise.
18699         * inet/htonl.c: Likewise.
18700         * inet/setipv4sourcefilter.c: Likewise.
18701         * inet/setsourcefilter.c: Likewise.
18702         * inet/test-inet6_opt.c: Likewise.
18703         * inet/tst-network.c: Likewise.
18704         * locale/C-collate.c: Likewise.
18705         * locale/C-ctype.c: Likewise.
18706         * locale/C-time.c: Likewise.
18707         * locale/C-translit.h: Likewise.
18708         * locale/loadarchive.c: Likewise.
18709         * locale/programs/3level.h: Likewise.
18710         * locale/programs/charmap.c: Likewise.
18711         * locale/programs/charmap.h: Likewise.
18712         * locale/programs/ld-address.c: Likewise.
18713         * locale/programs/ld-collate.c: Likewise.
18714         * locale/programs/ld-ctype.c: Likewise.
18715         * locale/programs/ld-identification.c: Likewise.
18716         * locale/programs/ld-measurement.c: Likewise.
18717         * locale/programs/ld-messages.c: Likewise.
18718         * locale/programs/ld-monetary.c: Likewise.
18719         * locale/programs/ld-name.c: Likewise.
18720         * locale/programs/ld-numeric.c: Likewise.
18721         * locale/programs/ld-paper.c: Likewise.
18722         * locale/programs/ld-telephone.c: Likewise.
18723         * locale/programs/ld-time.c: Likewise.
18724         * locale/programs/linereader.c: Likewise.
18725         * locale/programs/locale.c: Likewise.
18726         * locale/programs/locarchive.c: Likewise.
18727         * locale/programs/locfile.h: Likewise.
18728         * locale/programs/repertoire.c: Likewise.
18729         * locale/programs/simple-hash.c: Likewise.
18730         * locale/programs/simple-hash.h: Likewise.
18731         * malloc/memusage.c: Likewise.
18732         * malloc/memusagestat.c: Likewise.
18733         * nis/nis_defaults.c: Likewise.
18734         * nis/nis_hash.c: Likewise.
18735         * nis/nis_print.c: Likewise.
18736         * nis/nis_xdr.c: Likewise.
18737         * nscd/connections.c: Likewise.
18738         * nscd/hstcache.c: Likewise.
18739         * nscd/nscd_gethst_r.c: Likewise.
18740         * nscd/nscd_getserv_r.c: Likewise.
18741         * nscd/nscd_helper.c: Likewise.
18742         * nscd/servicescache.c: Likewise.
18743         * nss/makedb.c: Likewise.
18744         * nss/nss_db/db-XXX.c: Likewise.
18745         * nss/nss_db/db-initgroups.c: Likewise.
18746         * nss/nss_db/db-netgrp.c: Likewise.
18747         * nss/nss_files/files-network.c: Likewise.
18748         * nss/nss_files/files-parse.c: Likewise.
18749         * posix/bug-regex5.c: Likewise.
18750         * posix/fnmatch_loop.c: Likewise.
18751         * posix/regcomp.c: Likewise.
18752         * posix/regexec.c: Likewise.
18753         * posix/tst-rfc3484-2.c: Likewise.
18754         * posix/tst-rfc3484-3.c: Likewise.
18755         * posix/tst-rfc3484.c: Likewise.
18756         * resolv/nss_dns/dns-canon.c: Likewise.
18757         * resolv/nss_dns/dns-network.c: Likewise.
18758         * resolv/res_init.c: Likewise.
18759         * resolv/res_mkquery.c: Likewise.
18760         * resolv/tst-aton.c: Likewise.
18761         * stdlib/cxa_atexit.c: Likewise.
18762         * stdlib/cxa_finalize.c: Likewise.
18763         * stdlib/gen-fpioconst.c: Likewise.
18764         * stdlib/strtol_l.c: Likewise.
18765         * string/tst-endian.c: Likewise.
18766         * sunrpc/auth_des.c: Likewise.
18767         * sunrpc/clnt_udp.c: Likewise.
18768         * sunrpc/rtime.c: Likewise.
18769         * sunrpc/svcauth_des.c: Likewise.
18770         * sunrpc/xdr.c: Likewise.
18771         * sunrpc/xdr_intXX_t.c: Likewise.
18772         * sunrpc/xdr_rec.c: Likewise.
18773         * sysdeps/generic/ldconfig.h: Likewise.
18774         * sysdeps/generic/ldsodefs.h: Likewise.
18775         * sysdeps/generic/memusage.h: Likewise.
18776         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18777         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18778         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18779         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18780         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18781         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18782         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18783         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18784         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18785         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18786         * sysdeps/posix/getaddrinfo.c: Likewise.
18787         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18788         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18789         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18790         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18791         * sysdeps/powerpc/test-gettimebase.c: Likewise.
18792         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18793         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18794         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18795         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18796         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18797         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18798         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18799         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18800         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18801         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18802         * sysdeps/x86_64/dl-tls.h: Likewise.
18803         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18804         * time/alt_digit.c: Likewise.
18805         * time/era.c: Likewise.
18806         * wcsmbs/tst-c16c32-1.c: Likewise.
18807
18808 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18809
18810         * math/libm-test.inc (struct test_sincos_data): New type.
18811         (RUN_TEST_LOOP_sincos): New macro.
18812         (sincos_test_data): New variable.
18813         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18814
18815 2013-05-16  Richard Henderson  <rth@redhat.com>
18816
18817         * math/atest-exp2.c (LIMB64): New macro.
18818         (CONSTSZ): New macro.
18819         (mp_exp1, mp_exp_m1, mp_log2): New variables.
18820         (hexdig): Move ...
18821         (print_mpn_fp): ... to function scope.
18822         (read_mpn_hex): Remove.
18823         (get_log2): Remove.
18824         (exp2_mpn): Use mp_log2.
18825         (main): Use mp_exp1.
18826
18827 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18828
18829         * math/libm-test.inc: Remove comment about not testing "inexact"
18830         exceptions.
18831         (INEXACT_EXCEPTION): New macro.
18832         (NO_INEXACT_EXCEPTION): Likewise.
18833         (INVALID_EXCEPTION_OK): Update value.
18834         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18835         (OVERFLOW_EXCEPTION_OK): Likewise.
18836         (UNDERFLOW_EXCEPTION_OK): Likewise.
18837         (IGNORE_ZERO_INF_SIGN): Likewise.
18838         (ERRNO_UNCHANGED): Likewise.
18839         (ERRNO_EDOM): Likewise.
18840         (ERRNO_ERANGE): Likewise.
18841         (test_exceptions): Handle testing "inexact" exceptions.
18842         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18843         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18844         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18845         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18846         INEXACT_EXCEPTION.
18847         (rint_towardzero_test_data): Likewise.
18848         (rint_downward_test_data): Likewise.
18849         (rint_upward_test_data): Likewise.
18850
18851         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18852         with OVERFLOW_EXCEPTION.
18853         (exp10_test_data): Likewise.
18854         (exp2_test_data): Likewise.
18855         (expm1_test_data): Likewise.
18856         (lgamma_test_data): Likewise.
18857         (pow_test_data): Likewise.
18858         (tgamma_test_data): Likewise.
18859         (yn_test_data): Remove duplicate test of overflow.
18860
18861         * math/libm-test.inc (struct test_cc_c_data): New type.
18862         (RUN_TEST_LOOP_cc_c): New macro.
18863         (cpow_test_data): New variable.
18864         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18865
18866         * math/libm-test.inc (struct test_f_L_data): New type.
18867         (RUN_TEST_LOOP_f_L): New macro.
18868         (llrint_test_data): New variable.
18869         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18870         (llrint_tonearest_test_data): New variable.
18871         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18872         (llrint_towardzero_test_data): New variable.
18873         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18874         (llrint_downward_test_data): New variable.
18875         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18876         (llrint_upward_test_data): New variable.
18877         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18878         (llround_test_data): New variable.
18879         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18880
18881 2013-05-13  Peter Collingbourne  <pcc@google.com>
18882
18883         * math/atest-exp2.c (get_log2): Remove const attribute.
18884
18885 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18886
18887         * math/libm-test.inc (struct test_f_l_data): New type.
18888         (RUN_TEST_LOOP_f_l): New macro.
18889         (lrint_test_data): New variable.
18890         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18891         (lrint_tonearest_test_data): New variable.
18892         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18893         (lrint_towardzero_test_data): New variable.
18894         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18895         (lrint_downward_test_data): New variable.
18896         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18897         (lrint_upward_test_data): New variable.
18898         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18899         (lround_test_data): New variable.
18900         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18901
18902 2013-05-15  Peter Collingbourne  <pcc@google.com>
18903
18904         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18905         (EXTRACT_WORDS64) Use where appropriate.
18906         (INSERT_WORDS64) Likewise.
18907
18908         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18909         constraints with x constraints.
18910         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18911
18912         * malloc/obstack.c (_obstack_compat): Add initializer.
18913
18914 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18915
18916         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18917         si_trapno and add si_addr_lsb to _sifields.sigfault.
18918         (si_trapno): Remove macro.
18919         (si_addr_lsb): Define new macro.
18920         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18921
18922 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18923
18924         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18925         instead of TEST_f_l.
18926         (llrint_test_tonearest): Likewise.
18927         (llrint_test_towardzero): Likewise.
18928         (llrint_test_downward): Likewise.
18929         (llrint_test_upward): Likewise.
18930         (llround_test): Likewise.
18931
18932         * math/libm-test.inc (struct test_f_i_data): Add comment.
18933         (RUN_TEST_LOOP_f_b): New macro.
18934         (RUN_TEST_LOOP_f_b_tg): Likewise.
18935         (finite_test_data): New variable.
18936         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18937         (isfinite_test_data): New variable.
18938         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18939         (isinf_test_data): New variable.
18940         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18941         (isnan_test_data): New variable.
18942         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18943         (isnormal_test_data): New variable.
18944         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18945         (issignaling_test_data): New variable.
18946         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18947         (signbit_test_data): New variable.
18948         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18949
18950         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18951         with INVALID_EXCEPTION.
18952         (acosh_test_data): Likewise.
18953         (asin_test_data): Likewise.
18954         (atanh_test_data): Likewise.
18955         (fmod_test_data): Likewise.
18956         (log_test_data): Likewise.
18957         (log10_test_data): Likewise.
18958         (log2_test_data): Likewise.
18959         (pow_test_data): Likewise.
18960         (sqrt_test_data): Likewise.
18961         (y0_test_data): Likewise.
18962         (y1_test_data): Likewise.
18963         (yn_test_data): Likewise.
18964
18965         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18966         function contents.
18967
18968         * math/libm-test.inc (struct test_ff_i_data): New type.
18969         (RUN_TEST_LOOP_ff_i_tg): New macro.
18970         (isgreater_test_data): New variable.
18971         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18972         (isgreaterequal_test_data): New variable.
18973         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18974         (isless_test_data): New variable.
18975         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18976         (islessequal_test_data): New variable.
18977         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18978         (islessgreater_test_data): New variable.
18979         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18980         (isunordered_test_data): New variable.
18981         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18982
18983 2013-05-14  David S. Miller  <davem@davemloft.net>
18984
18985         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18986
18987 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
18988
18989         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18990
18991         * math/libm-test.inc (struct test_fF_f1_data): Change type of
18992         extra_test to int.
18993         (struct test_f_i_data): Change type of max_ulp to int.
18994
18995         * math/libm-test.inc (test_ffI_f1_data): New type.
18996         (RUN_TEST_LOOP_ffI_f1): New macro.
18997         (remquo_test_data): New variable.
18998         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18999
19000         * setjmp/tst-setjmp-fp.c: New file.
19001         * setjmp/Makefile (tests): Add tst-setjmp-fp.
19002         (link-libm): New variable.
19003         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19004
19005         * math/libm-test.inc (struct test_f_i_data): New type.
19006         (RUN_TEST_LOOP_f_i): New macro.
19007         (RUN_TEST_LOOP_f_i_tg): Likewise.
19008         (fpclassify_test_data): New variable.
19009         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19010         (ilogb_test_data): New variable.
19011         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19012
19013         * math/libm-test.inc (scalbln_test): Correct function name in END
19014         call.
19015
19016         * math/libm-test.inc (struct test_f_f1_data): Add comment.
19017         (RUN_TEST_LOOP_fI_f1): New macro.
19018         (frexp_test_data): New variable.
19019         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19020
19021         * math/libm-test.inc (struct test_fF_f1_data): New type.
19022         (RUN_TEST_LOOP_fF_f1): New macro.
19023         (modf_test_data): New variable.
19024         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19025
19026         * math/libm-test.inc (struct test_f_f1_data): New type.
19027         (RUN_TEST_LOOP_f_f1): New macro.
19028         (gamma_test_data): New variable.
19029         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19030         (lgamma_test_data): New variable.
19031         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19032
19033 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
19034
19035         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19036         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19037         (main): Comment "tls" pseudo-hwcap.
19038
19039 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
19040
19041         * math/libm-test.inc (struct test_fl_f_data): New type.
19042         (RUN_TEST_LOOP_fl_f): New variable.
19043         (scalbln_test_data): New variable.
19044         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19045
19046         * math/libm-test.inc (struct test_fi_f_data): New type.
19047         (RUN_TEST_LOOP_fi_f): New macro.
19048         (ldexp_test_data): New variable.
19049         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19050         (scalbn_test_data): New variable.
19051         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19052
19053         * math/libm-test.inc (struct test_c_f_data): New type.
19054         (RUN_TEST_LOOP_c_f): New macro.
19055         (cabs_test_data): New variable.
19056         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19057         (carg_test_data): New variable.
19058         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19059         (cimag_test_data): New variable.
19060         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19061         (creal_test_data): New variable.
19062         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19063
19064         * math/libm-test.inc (struct test_if_f_data): New type.
19065         (RUN_TEST_LOOP_if_f): New macro.
19066         (jn_test_data): New variable.
19067         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19068         (yn_test_data): New variable.
19069         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19070
19071         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19072
19073 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19074
19075         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19076         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19077
19078 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19079
19080         * benchtests/Makefile (CPPFLAGS-nonlib): Add
19081         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19082         (bench-deps): Add bench-timing.h.
19083         * benchtests-bench-skeleton.c: Include bench-timing.h.
19084         (main): Use TIMING_* macros instead of clock_gettime.
19085         * benchtests/bench-timing.h: New file.
19086
19087         [BZ #14582]
19088         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19089         Renamed from _LIB_VERSION.
19090         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19091
19092 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
19093
19094         * math/libm-test.inc (struct test_fff_f_data): New type.
19095         (RUN_TEST_LOOP_fff_f): New macro.
19096         (fma_test_data): New variable.
19097         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19098         (fma_towardzero_test_data): New variable.
19099         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19100         (fma_downward_test_data): New variable.
19101         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19102         (fma_upward_test_data): New variable.
19103         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19104
19105         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19106         (struct test_c_c_data): New type.
19107         (RUN_TEST_LOOP_c_c): New macro.
19108         (cacos_test_data): New variable.
19109         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19110         (cacosh_test_data): New variable.
19111         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19112         (casin_test_data): New variable.
19113         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19114         (casinh_test_data): New variable.
19115         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19116         (catan_test_data): New variable.
19117         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19118         (catanh_test_data): New variable.
19119         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19120         (ccos_test_data): New variable.
19121         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19122         (ccosh_test_data): New variable.
19123         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19124         (cexp_test_data): New variable.
19125         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19126         (clog_test_data): New variable.
19127         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19128         (clog10_test_data): New variable.
19129         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19130         (conj_test_data): New variable.
19131         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19132         (cproj_test_data): New variable.
19133         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19134         (csin_test_data): New variable.
19135         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19136         (csinh_test_data): New variable.
19137         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19138         (csqrt_test_data): New variable.
19139         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19140         (ctan_test_data): New variable.
19141         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19142         (ctan_tonearest_test_data): New variable.
19143         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19144         (ctan_towardzero_test_data): New variable.
19145         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19146         (ctan_downward_test_data): New variable.
19147         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19148         (ctan_upward_test_data): New variable.
19149         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19150         (ctanh_test_data): New variable.
19151         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19152         (ctanh_tonearest_test_data): New variable.
19153         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19154         (ctanh_towardzero_test_data): New variable.
19155         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19156         (ctanh_downward_test_data): New variable.
19157         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19158         (ctanh_upward_test_data): New variable.
19159         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19160         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19161         of BUILD_COMPLEX.
19162
19163         * math/libm-test.inc (struct test_ff_f_data): New type.
19164         (struct test_ff_f_data_nexttoward): Likewise.
19165         (RUN_TEST_LOOP_2_f): New macro.
19166         (RUN_TEST_LOOP_ff_f): Likewise.
19167         (atan2_test_data): New variable.
19168         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19169         (copysign_test_data): New variable.
19170         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19171         (fdim_test_data): New variable.
19172         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19173         (fmax_test_data): New variable.
19174         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19175         (fmin_test_data): New variable.
19176         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19177         (fmod_test_data): New variable.
19178         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19179         (hypot_test_data): New variable.
19180         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19181         (nextafter_test_data): New variable.
19182         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19183         (nexttoward_test_data): New variable.
19184         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19185         (pow_test_data): New variable.
19186         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19187         (pow_tonearest_test_data): New variable.
19188         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19189         (pow_towardzero_test_data): New variable.
19190         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19191         (pow_downward_test_data): New variable.
19192         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19193         (pow_upward_test_data): New variable.
19194         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19195         (remainder_test_data): New variable.
19196         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19197         (scalb_test_data): New variable.
19198         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19199         * sysdeps/i386/fpu/libm-test-ulps: Update.
19200
19201 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
19202
19203         * math/libm-test.inc (fma_test): Use max_value instead of local
19204         variable fltmax.
19205         (nextafter_test): Likewise.
19206
19207         * math/libm-test.inc (acos_towardzero_test_data): New variable.
19208         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19209         (acos_downward_test_data): New variable.
19210         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19211         (acos_upward_test_data): New variable.
19212         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19213         (acosh_test_data): New variable.
19214         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19215         (asin_test_data): New variable.
19216         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19217         (asin_tonearest_test_data): New variable.
19218         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19219         (asin_towardzero_test_data): New variable.
19220         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19221         (asin_downward_test_data): New variable.
19222         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19223         (asin_upward_test_data): New variable.
19224         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19225         (asinh_test_data): New variable.
19226         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19227         (atan_test_data): New variable.
19228         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19229         (atanh_test_data): New variable.
19230         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19231         (cbrt_test_data): New variable.
19232         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19233         (ceil_test_data): New variable.
19234         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19235         (cos_test_data): New variable.
19236         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19237         (cos_tonearest_test_data): New variable.
19238         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19239         (cos_towardzero_test_data): New variable.
19240         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19241         (cos_downward_test_data): New variable.
19242         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19243         (cos_upward_test_data): New variable.
19244         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19245         (cosh_test_data): New variable.
19246         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19247         (cosh_tonearest_test_data): New variable.
19248         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19249         (cosh_towardzero_test_data): New variable.
19250         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19251         (cosh_downward_test_data): New variable.
19252         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19253         (cosh_upward_test_data): New variable.
19254         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19255         (erf_test_data): New variable.
19256         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19257         (erfc_test_data): New variable.
19258         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19259         (exp_test_data): New variable.
19260         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19261         (exp_tonearest_test_data): New variable.
19262         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19263         (exp_towardzero_test_data): New variable.
19264         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19265         (exp_downward_test_data): New variable.
19266         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19267         (exp_upward_test_data): New variable.
19268         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19269         (exp10_test_data): New variable.
19270         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19271         (exp2_test_data): New variable.
19272         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19273         (expm1_test_data): New variable.
19274         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19275         (fabs_test_data): New variable.
19276         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19277         (floor_test_data): New variable.
19278         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19279         (j0_test_data): New variable.
19280         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19281         (j1_test_data): New variable.
19282         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19283         (log_test_data): New variable.
19284         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19285         (log10_test_data): New variable.
19286         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19287         (log1p_test_data): New variable.
19288         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19289         (log2_test_data): New variable.
19290         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19291         (logb_test_data): New variable.
19292         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19293         (logb_downward_test_data): New variable.
19294         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19295         (nearbyint_test_data): New variable.
19296         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19297         (rint_test_data): New variable.
19298         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19299         (rint_tonearest_test_data): New variable.
19300         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19301         (rint_towardzero_test_data): New variable.
19302         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19303         (rint_downward_test_data): New variable.
19304         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19305         (rint_upward_test_data): New variable.
19306         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19307         (round_test_data): New variable.
19308         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19309         (sin_test_data): New variable.
19310         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19311         (sin_tonearest_test_data): New variable.
19312         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19313         (sin_towardzero_test_data): New variable.
19314         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19315         (sin_downward_test_data): New variable.
19316         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19317         (sin_upward_test_data): New variable.
19318         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19319         (sinh_test_data): New variable.
19320         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19321         (sinh_tonearest_test_data): New variable.
19322         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19323         (sinh_towardzero_test_data): New variable.
19324         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19325         (sinh_downward_test_data): New variable.
19326         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19327         (sinh_upward_test_data): New variable.
19328         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19329         (sqrt_test_data): New variable.
19330         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19331         (tan_test_data): New variable.
19332         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19333         (tan_tonearest_test_data): New variable.
19334         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19335         (tan_towardzero_test_data): New variable.
19336         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19337         (tan_downward_test_data): New variable.
19338         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19339         (tan_upward_test_data): New variable.
19340         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19341         (tanh_test_data): New variable.
19342         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19343         (tgamma_test_data): New variable.
19344         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19345         (trunc_test_data): New variable.
19346         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19347         (y0_test_data): New variable.
19348         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19349         (y1_test_data): New variable.
19350         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19351         (significand_test_data): New variable.
19352         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19353
19354 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19355
19356         [BZ #12387]
19357         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19358
19359 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19360
19361         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19362
19363 2013-05-10  Andreas Jaeger  <aj@suse.de>
19364
19365         [BZ #15448]
19366         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19367         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19368
19369 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19370
19371         * math/gen-libm-test.pl (adjust_arg): New function.
19372         (special_functions): Handle generating output in both functions
19373         and arrays.
19374         (parse_args): Likewise.
19375         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19376         $in_func argument to parse_args.
19377         * math/libm-test.inc (struct test_f_f_data): New type.
19378         (IF_ROUND_INIT_): New macro.
19379         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19380         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19381         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19382         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19383         (ROUND_RESTORE_): Likewise.
19384         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19385         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19386         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19387         (ROUND_RESTORE_FE_UPWARD): Likewise.
19388         (RUN_TEST_LOOP_f_f): New macro.
19389         (acos_test_data): New variable.
19390         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19391         (acos_tonearest_test_data): New variable.
19392         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19393
19394 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19395
19396         * benchtests/bench-skeleton.c (startup): Fix coding style.
19397
19398 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19399
19400         [BZ #6809]
19401         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19402         negative infinity argument.
19403         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19404         negative infinity argument.
19405         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19406         negative infinity argument.
19407         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19408         domain errors.
19409
19410 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19411
19412         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19413         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19414         * iconv/iconv_prog.c (main): Likewise.
19415         * locale/programs/charmap-dir.c (charmap_readdir)
19416         (fopen_uncompressed): Likewise.
19417         * locale/programs/locfile.c (siblings_uncached)
19418         (write_locale_data): Use lstat64 instead of lstat.
19419         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19420         stat.
19421
19422 2013-05-10  Andreas Jaeger  <aj@suse.de>
19423
19424         [BZ #15395]
19425         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19426         localization.
19427         Include <locale.h>.
19428
19429 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
19430
19431         * elf/dl-close.c (_dl_close_worker): Add comments.
19432
19433 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
19434
19435         [BZ #15359]
19436         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19437         high part of pi/2.
19438         (__ieee754_rem_pio2l): Update comments.
19439
19440         [BZ #15429]
19441         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19442         high part of pi/2.
19443         (__ieee754_rem_pio2l): Update comments.
19444
19445         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19446         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19447
19448         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19449         M_PI_4l.
19450
19451         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19452         (M_PI_34_LOG10El): Likewise.
19453         (M_PI2_LOG10El): Likewise.
19454         (M_PI4_LOG10El): Likewise.
19455         (M_PI_LOG10El): Likewise.
19456
19457 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19458
19459         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19460
19461 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
19462
19463         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19464         (MINUS_ZERO_INIT): Likewise.
19465         (PLUS_INFTY_INIT): Likewise.
19466         (MINUS_INFTY_INIT): Likewise.
19467         (QNAN_VALUE_INIT): Likewise.
19468         (MAX_VALUE_INIT): Likewise.
19469         (MIN_VALUE_INIT): Likewise.
19470         (MIN_SUBNORM_VALUE_INIT): Likewise.
19471         (plus_zero): Initialize with PLUS_ZERO_INIT.
19472         (minus_zero): Initialize with MINUS_ZERO_INIT.
19473         (plus_infty): Initialize with PLUS_INFTY_INIT.
19474         (minus_infty): Initialize with MINUS_INFTY_INIT.
19475         (qnan_value): Initialize with QNAN_VALUE_INIT.
19476         (max_value): Initialize with MAX_VALUE_INIT.
19477         (min_value): Initialize with MIN_VALUE_INIT.
19478         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19479
19480         * math/libm-test.inc (RUN_TEST_if_f): New macro.
19481         (jn_test): Use TEST_if_f instead of TEST_ff_f.
19482         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19483         (yn_test): Use TEST_if_f instead of TEST_ff_f.
19484
19485         * math/libm-test.inc (RUN_TEST_f_f): New macro.
19486         (RUN_TEST_2_f): Likewise.
19487         (RUN_TEST_ff_f): Likewise.
19488         (RUN_TEST_fi_f): Likewise.
19489         (RUN_TEST_fl_f): Likewise.
19490         (RUN_TEST_fff_f): Likewise.
19491         (RUN_TEST_c_f): Likewise.
19492         (RUN_TEST_f_f1): Likewise.
19493         (RUN_TEST_fF_f1): Likewise.
19494         (RUN_TEST_fI_f1): Likewise.
19495         (RUN_TEST_ffI_f1): Likewise.
19496         (RUN_TEST_c_c): Likewise.
19497         (RUN_TEST_cc_c): Likewise.
19498         (RUN_TEST_f_i): Likewise.
19499         (RUN_TEST_f_i_tg): Likewise.
19500         (RUN_TEST_ff_i_tg): Likewise.
19501         (RUN_TEST_f_b): Likewise.
19502         (RUN_TEST_f_b_tg): Likewise.
19503         (RUN_TEST_f_l): Likewise.
19504         (RUN_TEST_f_L): Likewise.
19505         (RUN_TEST_sincos): Likewise.
19506         * math/gen-libm-test.pl (new_test): Take new argument to indicate
19507         whether to show exceptions.  Do not include ");\n" in return
19508         value.
19509         (special_functions): Output call to RUN_TEST_sincos instead of
19510         check_float calls.  Update calls to new_test.
19511         (parse_args): Output call to single RUN_TEST_* macro instead of
19512         check_* calls and other assignments.  Update calls to new_test.
19513
19514         [BZ #2546]
19515         [BZ #2560]
19516         [BZ #5159]
19517         [BZ #15426]
19518         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19519         input to result for tgamma overflow.
19520         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19521         (gamma_coeff): New variable.
19522         (NCOEFF): New macro.
19523         (gamma_positive): New function.
19524         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19525         underflow here.  Use gamma_positive instead of exp (lgamma) for
19526         other arguments.
19527         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19528         (gamma_coeff): New variable.
19529         (NCOEFF): New macro.
19530         (gammaf_positive): New function.
19531         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19532         underflow here.  Use gamma_positive instead of exp (lgamma) for
19533         other arguments.
19534         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19535         (gamma_coeff): New variable.
19536         (NCOEFF): New macro.
19537         (gammal_positive): New function.
19538         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19539         underflow here.  Use gamma_positive instead of exp (lgamma) for
19540         other arguments.
19541         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19542         (gamma_coeff): New variable.
19543         (NCOEFF): New macro.
19544         (gammal_positive): New function.
19545         (__ieee754_gammal_r): Handle positive infinity, overflow and
19546         underflow here.  Handle NaN the same as positive infinity.  Remove
19547         check x < 0xffffffff for negative integers.  Use gamma_positive
19548         instead of exp (lgamma) for other arguments.
19549         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19550         (gamma_coeff): New variable.
19551         (NCOEFF): New macro.
19552         (gammal_positive): New function.
19553         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19554         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19555         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19556         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19557         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19558         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19559         * sysdeps/generic/math_private.h (__gamma_productf): New
19560         prototype.
19561         (__gamma_product): Likewise.
19562         (__gamma_productl): Likewise.
19563         * math/Makefile (libm-calls): Add gamma_product.
19564         * math/libm-test.inc (tgamma_test): Add more tests.
19565         * sysdeps/i386/fpu/libm-test-ulps: Update.
19566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19567
19568 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
19569
19570         * benchtests/bench-skeleton.c (main): Preheat CPU.
19571
19572 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
19573
19574         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19575
19576 2013-05-07  Roland McGrath  <roland@hack.frob.com>
19577
19578         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19579         and _dl_skip_args_internal.
19580
19581 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
19582
19583         * manual/message.texi (Message Translation): Talk about users.
19584         Message to key mapping impacts design.
19585
19586 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19587
19588         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19589
19590         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19591
19592         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19593         * sysdeps/wordsize-64/glob64.c: ... here.
19594
19595         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19596         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19597         New macros.
19598
19599         * debug/getlogin_r_chk.c: Moved to ...
19600         * login/getlogin_r_chk.c: ... here.
19601         * debug/Makefile (routines): Move getlogin_r_chk to ...
19602         * login/Makefile (routines): ... here.
19603         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19604         * login/Versions (libc: GLIBC_2.4): ... here.
19605
19606         * io/poll.c (__poll): Renamed from poll.
19607         Add libc_hidden_def.
19608         (poll): Define as weak alias.
19609
19610         * debug/ptsname_r_chk.c: Moved to ...
19611         * login/ptsname_r_chk.c: ... here.
19612         * debug/Makefile (routines): Move ptsname_r_chk to ...
19613         * login/Makefile (routines): ... here.
19614         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19615         * login/Versions (libc: GLIBC_2.4): ... here.
19616
19617         * posix/getlogin.c: Moved to ...
19618         * login/getlogin.c: ... here.
19619         * posix/getlogin_r.c: Moved to ...
19620         * login/getlogin_r.c: ... here.
19621         * posix/getlogin_r.c: Moved to ...
19622         * login/getlogin_r.c: ... here.
19623         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19624         * login/Makefile (routines): ... here.
19625         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19626         * login/Versions (libc: GLIBC_2.0): ... here.
19627
19628         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19629         (setrlimit): Define as weak alias.
19630
19631         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19632         Call __ names for open, ftruncate, and close.
19633         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19634         (truncate): Define as weak alias.
19635
19636 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
19637
19638         * math/gen-libm-test.pl (parse_args): Initialize x before each
19639         test of frexp, modf and remquo.
19640
19641         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19642         test signgam value.
19643
19644 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19645
19646         [BZ #15418]
19647         [BZ #15419]
19648         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19649         internal tests.
19650         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19651
19652 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19653
19654         * elf/dl-writev.h: New file.
19655         * elf/dl-misc.c: Include it.
19656         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19657         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19658
19659 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
19660
19661         * math/libm-test.inc (noXFails): Remove variable.
19662         (noXPasses): Likewise.
19663         (BUILD_COMPLEX_INT): Remove macro.
19664         (print_screen): Remove xfail argument.
19665         (print_screen_max_error): Likewise.
19666         (update_stats): Likewise.
19667         (print_max_error): Likewise.  Update calls to other affected
19668         functions.
19669         (print_complex_max_error): Likewise.
19670         (test_single_exception): Update calls to print_screen.
19671         (test_single_errno): Likewise.
19672         (check_float_internal): Remove xfail argument.  Update calls to
19673         other affected functions.
19674         (check_float): Likewise.
19675         (check_complex): Likewise.
19676         (check_int): Likewise.
19677         (check_long): Likewise.
19678         (check_bool): Likewise.
19679         (check_longlong): Likewise.
19680         (main): Don't print noXFails and noXPasses.
19681         * math/gen-libm-test.pl (top level): Don't mention expected
19682         failure handling in comment.
19683         (new_test): Don't handle expected failures.
19684         (parse_args): Don't mention expected failure handling in comment.
19685         (generate_testfile): Don't handle expected failures.
19686         (parse_ulps): Likewise.
19687         (print_ulps_file): Likewise.
19688         (get_failure): Remove function.
19689         (output_test): Don't handle expected failures.
19690         * make/README.libm-test: Don't mention expected failure handling.
19691
19692         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
19693         (minus_zero): Likewise.
19694         (plus_infty): Likewise.
19695         (minus_infty): Likewise.
19696         (qnan_value): Likewise.
19697         (max_value): Likewise.
19698         (min_value): Likewise.
19699         (min_subnorm_value): Likewise.
19700         (initialize): Do not initialize those variables dynamically.
19701
19702 2013-05-03  Roland McGrath  <roland@hack.frob.com>
19703
19704         * io/open.c (__open_2): Moved to ...
19705         * io/open_2.c: ... this new file.
19706         * io/open64.c (__open64_2): Moved to ...
19707         * io/open64_2.c: ... this new file.
19708         * io/openat.c (__openat_2): Moved to ...
19709         * io/openat_2.c: ... this new file.
19710         * io/openat64.c (__openat64_2): Moved to ...
19711         * io/openat64_2.c: ... this new file.
19712         * io/Makefile (routines): Add them.
19713         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19714         * sysdeps/unix/sysv/linux/open_2.c: File removed.
19715         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19716         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19717         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19718         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19719         (__openat64): Add hidden_ver.
19720         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19721         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19722
19723         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19724         Separately conditionalize setting of GLRO(dl_sysinfo) so
19725         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19726         as well, but the actual setting is only under [NEED_DL_SYSINFO].
19727
19728 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19729
19730         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19731         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19732         definition.
19733         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19734         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19735         (_libc_vdso_platform_setup): Add __vdso_time initialization.
19736         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19737         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19738
19739 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
19740
19741         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19742         test signgam value.
19743
19744         * math/libm-test.inc (hypot_test): Do not use
19745         IGNORE_ZERO_INF_SIGN.
19746
19747 2013-05-03  Andreas Jaeger  <aj@suse.de>
19748
19749         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19750         Linux 3.9.
19751         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19752         (PF_MAX): Adjust for VSOCK change.
19753
19754 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19755
19756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19757
19758 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
19759
19760         [BZ #15264]
19761         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19762         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19763         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19764
19765 2013-05-02  David S. Miller  <davem@davemloft.net>
19766
19767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19768
19769 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
19770
19771         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19772
19773 2013-05-01  Roland McGrath  <roland@hack.frob.com>
19774
19775         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19776
19777 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
19778
19779         [BZ #14952]
19780         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19781         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19782         Use __attribute__ ((__gnu_inline__)).
19783         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19784         Don't use __attribute__ ((__gnu_inline__)).
19785
19786 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
19787
19788         [BZ #15423]
19789         * math/s_catan.c (__catan): Handle small real or imaginary part of
19790         input specially to avoid spurious underflow.
19791         * math/s_catanf.c (__catanf): Likewise.
19792         * math/s_catanh.c (__catanh): Likewise.
19793         * math/s_catanhf.c (__catanhf): Likewise.
19794         * math/s_catanhl.c (__catanhl): Likewise.
19795         * math/s_catanl.c (__catanl): Likewise.
19796         * math/libm-test.inc (catan_test): Add more tests.
19797         (catanh_test): Likewise.
19798         * sysdeps/i386/fpu/libm-test-ulps: Update.
19799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19800
19801 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19802
19803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19804
19805 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
19806
19807         [BZ #15416]
19808         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19809         accurately for denominator in atan2.
19810         * math/s_catanf.c (__catanf): Likewise.
19811         * math/s_catanh.c (__catanh): Likewise.
19812         * math/s_catanhf.c (__catanhf): Likewise.
19813         * math/s_catanhl.c (__catanhl): Likewise.
19814         * math/s_catanl.c (__catanl): Likewise.
19815         * math/libm-test.inc (catan_test): Add more tests.
19816         (catanh_test): Likewise.
19817         * sysdeps/i386/fpu/libm-test-ulps: Update.
19818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19819
19820 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19821
19822         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19823
19824         * benchtests/Makefile (bench): Remove slow benchmarks.
19825         * benchtests/atan-inputs: Add slow benchmark inputs.
19826         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19827         (BENCH_FUNC): Accept variant offset.
19828         (VARIANT): Define.
19829         * benchtests/bench-skeleton.c (main): Run benchmark for each
19830         variant.
19831         * benchtests/cos-inputs: Add slow benchmark inputs.
19832         * benchtests/exp-inputs: Likewise.
19833         * benchtests/pow-inputs: Likewise.
19834         * benchtests/sin-inputs: Likewise.
19835         * benchtests/slowatan-inputs: Remove.
19836         * benchtests/slowatan.c: Remove.
19837         * benchtests/slowcos-inputs: Remove.
19838         * benchtests/slowcos.c: Remove.
19839         * benchtests/slowexp-inputs: Remove.
19840         * benchtests/slowexp.c: Remove.
19841         * benchtests/slowpow-inputs: Remove.
19842         * benchtests/slowpow.c: Remove.
19843         * benchtests/slowsin-inputs: Remove.
19844         * benchtests/slowsin.c: Remove.
19845         * benchtests/slowtan-inputs: Remove.
19846         * benchtests/slowtan.c: Remove.
19847         * benchtests/tan-inputs: Add slow benchmark inputs.
19848         * scripts/bench.pl: Parse comments and directives.
19849
19850         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
19851         in CPPFLAGS.
19852         ($(objpfx)bench-%.c): Remove *-ITER.
19853         * benchtests/bench-modf.c: Remove definition of ITER.
19854         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19855         (main): Loop for DURATION seconds instead of fixed number of
19856         iterations.
19857         * scripts/bench.pl: Don't expect iterations in parameters.
19858
19859 2013-04-29  Roland McGrath  <roland@hack.frob.com>
19860
19861         * io/fchdir.c (__fchdir): Renamed from fchdir.
19862         (fchdir): Define as weak alias.
19863
19864 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19865
19866         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19867         (ERRNO_EDOM): Likewise.
19868         (ERRNO_ERANGE): Likewise.
19869         (noErrnoTests): New variable.
19870         (init_max_error): Set errno to 0.
19871         (test_single_errno): New function.
19872         (test_errno): Likewise.
19873         (check_float_internal): Call test_errno.  Set errno to 0.
19874         (check_complex): Refer to errno tests in comment.
19875         (check_int): Call test_errno.  Set errno to 0.
19876         (check_long): Likewise.
19877         (check_bool): Likewise.
19878         (check_longlong): Likewise.
19879         (cos_test): Use ERRNO_* flags for errno tests instead of
19880         check_int.
19881         (expm1_test): Likewise.
19882         (fmod_test): Likewise.
19883         (ilogb_test): Likewise.
19884         (lgamma_test): Likewise.
19885         (pow_test): Likewise.
19886         (remainder_test): Likewise.
19887         (sin_test): Likewise.
19888         (tan_test): Likewise.
19889         (yn_test): Likewise.
19890         (initialize): Set errno to 0.
19891         (main): Print number of errno tests.
19892         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19893
19894 2013-04-29  Andreas Jaeger  <aj@suse.de>
19895
19896         [BZ #15084]
19897         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19898         and RES_USEVC.
19899
19900         [BZ #15085]
19901         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19902         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19903         unimplemented.
19904
19905         [BZ #15380]
19906         * stdlib/random.c (__initstate): Return NULL if
19907         __initstate fails.
19908
19909         [BZ #15086]
19910         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19911         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19912         RES_SNGLKUPREOP.
19913
19914 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19915
19916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19917
19918 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19919
19920         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19921         of individual tests.
19922         (casin_test): Likewise.
19923         (casinh_test): Likewise.
19924
19925 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
19926
19927         [BZ #15409]
19928         * math/s_catan.c (__catan): Handle arguments with large real or
19929         imaginary part separately without squaring.
19930         * math/s_catanf.c (__catanf): Likewise.
19931         * math/s_catanh.c (__catanh): Likewise.
19932         * math/s_catanhf.c (__catanhf): Likewise.
19933         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19934         and redefine.
19935         (__catanhl): Handle arguments with large real or imaginary part
19936         separately without squaring.
19937         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19938         and redefine.
19939         (__catanl): Handle arguments with large real or imaginary part
19940         separately without squaring.
19941         * math/libm-test.inc (catan_test): Add more tests.
19942         (catanh_test): Likewise.
19943         * sysdeps/i386/fpu/libm-test-ulps: Update.
19944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19945
19946 2013-04-27  Andreas Jaeger  <aj@suse.de>
19947
19948         [BZ #15007]
19949         * stdlib/stdlib.h: Update guards for qecvt.
19950         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19951         <stdlib.h>.
19952
19953 2013-04-27  Allan McRae  <allan@archlinux.org>
19954
19955         * sysdeps/i386/fpu/libm-test-ulps: Update.
19956
19957 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
19958
19959         [BZ #15406]
19960         * math/s_catan.c: Include <float.h>.
19961         (__catan): Ensure underflow exception occurs for underflowed
19962         result.
19963         * math/s_catanf.c: Include <float.h>.
19964         (__catanf): Ensure underflow exception occurs for underflowed
19965         result.
19966         * math/s_catanh.c: Include <float.h>.
19967         (__catanh): Ensure underflow exception occurs for underflowed
19968         result.
19969         * math/s_catanhf.c: Include <float.h>.
19970         (__catanhf): Ensure underflow exception occurs for underflowed
19971         result.
19972         * math/s_catanhl.c: Include <float.h>.
19973         (__catanhl): Ensure underflow exception occurs for underflowed
19974         result.
19975         * math/s_catanl.c: Include <float.h>.
19976         (__catanl): Ensure underflow exception occurs for underflowed
19977         result.
19978         * math/libm-test.inc (catan_test): Add more tests.
19979         (catanh_test): Likewise.
19980
19981         [BZ #15405]
19982         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19983         underflowed result.
19984         * math/s_ccoshf.c (__ccoshf): Likewise.
19985         * math/s_ccoshl.c (__ccoshl): Likewise.
19986         * math/s_csin.c (__csin): Likewise.
19987         * math/s_csinf.c (__csinf): Likewise.
19988         * math/s_csinh.c (__csinh): Likewise.
19989         * math/s_csinhf.c (__csinhf): Likewise.
19990         * math/s_csinhl.c (__csinhl): Likewise.
19991         * math/s_csinl.c (__csinl): Likewise.
19992         * math/libm-test.inc (ccos_test): Add more tests.
19993         (ccosh_test): Likewise.
19994         (csin_test): Likewise.
19995         (csinh_test): Likewise.
19996
19997 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19998
19999         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20000         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20001         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20002         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20003         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20004         powerpc/power5+/fpu folders.
20005         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20006
20007
20008 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20009
20010         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20011
20012 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
20013
20014         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20015         additions to variable.
20016         [$(config-machine) = x86_64] (modules-names): Likewise.
20017         ($(objpfx)tst-audit3): Remove dependency.
20018         ($(objpfx)tst-audit3.out): Likewise.
20019         ($(objpfx)tst-audit4): Likewise.
20020         ($(objpfx)tst-audit4.out): Likewise.
20021         ($(objpfx)tst-audit5): Likewise.
20022         ($(objpfx)tst-audit5.out): Likewise.
20023         ($(objpfx)tst-audit6): Likewise.
20024         ($(objpfx)tst-audit6.out): Likewise.
20025         ($(objpfx)tst-audit7): Likewise.
20026         ($(objpfx)tst-audit7.out): Likewise.
20027         (tst-audit3-ENV): Remove variable.
20028         (tst-audit4-ENV): Likewise.
20029         (tst-audit5-ENV): Likewise.
20030         (tst-audit6-ENV): Likewise.
20031         (tst-audit7-ENV): Likewise.
20032         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20033         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20034         addition to variable.
20035         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20036         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20037         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20038         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20039         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20040         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20041         tst-audit3, tst-audit4 and tst-audit5.
20042         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20043         tst-audit6 and tst-audit7.
20044         [$(subdir) = elf] (modules-names): Add audit modules for those
20045         tests.
20046         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20047         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20048         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20049         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20050         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20051         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20052         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20053         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20054         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20055         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20056         [$(subdir) = elf] (tst-audit3-ENV): New variable.
20057         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20058         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20059         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20060         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20061         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20062         Likewise.
20063         [$(subdir) = elf && $(config-cflags-avx) = yes]
20064         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20065         [$(subdir) = elf && $(config-cflags-avx) = yes]
20066         (CFLAGS-tst-auditmod4a.c): Likewise.
20067         [$(subdir) = elf && $(config-cflags-avx) = yes]
20068         (CFLAGS-tst-auditmod4b.c): Likewise.
20069         [$(subdir) = elf && $(config-cflags-avx) = yes]
20070         (CFLAGS-tst-auditmod6b.c): Likewise.
20071         [$(subdir) = elf && $(config-cflags-avx) = yes]
20072         (CFLAGS-tst-auditmod6c.c): Likewise.
20073         [$(subdir) = elf && $(config-cflags-avx) = yes]
20074         (CFLAGS-tst-auditmod7b.c): Likewise.
20075         * elf/tst-audit3.c: Move to ...
20076         * sysdeps/x86_64/tst-audit3.c: ... here.
20077         * elf/tst-audit4.c: Move to ...
20078         * sysdeps/x86_64/tst-audit4.c: ... here.
20079         * elf/tst-audit5.c: Move to ...
20080         * sysdeps/x86_64/tst-audit5.c: ... here.
20081         * elf/tst-audit6.c: Move to ...
20082         * sysdeps/x86_64/tst-audit6.c: ... here.
20083         * elf/tst-audit7.c: Move to ...
20084         * sysdeps/x86_64/tst-audit7.c: ... here.
20085         * elf/tst-auditmod3a.c: Move to ...
20086         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20087         * elf/tst-auditmod3b.c: Move to ...
20088         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20089         * elf/tst-auditmod4a.c: Move to ...
20090         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20091         * elf/tst-auditmod4b.c: Move to ...
20092         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20093         * elf/tst-auditmod5a.c: Move to ...
20094         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20095         * elf/tst-auditmod5b.c: Move to ...
20096         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20097         * elf/tst-auditmod6a.c: Move to ...
20098         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20099         * elf/tst-auditmod6b.c: Move to ...
20100         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20101         * elf/tst-auditmod6c.c: Move to ...
20102         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20103         * elf/tst-auditmod7a.c: Move to ...
20104         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20105         * elf/tst-auditmod7b.c: Move to ...
20106         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20107
20108 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
20109
20110         [BZ #15366]
20111         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20112         define unconditionally.
20113         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20114         define unconditionally.
20115         (INT8_C, INT16_C, etc.): Likewise.
20116
20117 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
20118
20119         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20120         __ehdr_start with hidden visibility.
20121
20122         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20123
20124 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
20125
20126         * math/libm-test.inc (cos_test): Use accurate hex constants.
20127         (sincost_test): Likewise.
20128
20129 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
20130
20131         * math/libm-test.inc (catan_test): Add more tests.
20132         (catanh_test): Likewise.
20133
20134         * math/s_catanf.c (__catanf): Use suffixed floating-point
20135         constants.
20136         * math/s_catanhf.c (__catanhf): Likewise.
20137         * math/s_catanhl.c (__catanhl): Likewise.
20138         * math/s_catanl.c (__catanl): Likewise.
20139
20140         [BZ #15394]
20141         * math/s_catan.c (__catan): Calculate imaginary part of result
20142         with log1p not log unless computing log of number close to 0.
20143         * math/s_catanf.c (__catanf): Likewise.
20144         * math/s_catanl.c (__catanl): Likewise.
20145         * math/s_catanh.c (__catanh): Calculate real part of result with
20146         log1p not log unless computing log of number close to 0.
20147         * math/s_catanhf.c (__catanhf): Likewise.
20148         * math/s_catanhl.c (__catanhl): Likewise.
20149         * math/libm-test.inc (catan_test): Add more tests.
20150         (catanh_test): Likewise.
20151         * sysdeps/i386/fpu/libm-test-ulps: Update.
20152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20153
20154 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20155
20156         * benchtests/Makefile: Mention files in which fast and slow
20157         paths of math functions are implemented.
20158
20159 2013-04-23  Roland McGrath  <roland@hack.frob.com>
20160
20161         * sysdeps/posix/timespec_get.c: New file.
20162
20163 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20164
20165         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20166         POWER.
20167         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20168         for POWER.
20169         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20170         powerpc/power5/fpu folders.
20171         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20172         * benchtests/Makefile: Add modf testcase.
20173         * benchtests/bench-modf.c: New file: Benchmark test for mo
20174
20175 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20176
20177         [BZ #14888]
20178         * time/Makefile (tests): Add tst-strptime-whitespace.
20179         * time/strptime_l.c (get_number): Use ISSPACE.
20180         (__strptime_internal): Likewise.
20181         * time/tst-strptime-whitespace.c: New test case.
20182
20183 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
20184
20185         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20186         member.
20187         (_nss_files_init): Set it here.
20188
20189 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
20190
20191         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20192         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20193         unsigned.
20194
20195 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
20196
20197         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20198
20199 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20200
20201         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20202         size just once.
20203
20204 2013-04-21  David S. Miller  <davem@davemloft.net>
20205
20206         * po/ru.po: Update Russion translation from translation project.
20207
20208 2013-04-17  Adam Conrad  <adconrad@0c3.net>
20209
20210         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20211         and setfsgid.
20212
20213 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
20214
20215         * configure.in: Remove i386 configure warning. Remove i386 case.
20216         * configure: Regenerate.
20217         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20218         Add example to error message.
20219         * sysdeps/i386/configure: Regenerate.
20220
20221 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20222
20223         * benchtests/Makefile (bench): Add cos, tan, slowcos and
20224         slowtan.
20225         * benchtests/cos-inputs: New file.
20226         * benchtests/slowcos-inputs: New file.
20227         * benchtests/slowcos.c: New file.
20228         * benchtests/slowtan-inputs: New file.
20229         * benchtests/slowtan.c: New file.
20230         * benchtests/tan-inputs: New file.
20231
20232 2013-04-16  Roland McGrath  <roland@hack.frob.com>
20233
20234         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20235         considered kosher.
20236
20237 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20238
20239         * benchtests/Makefile: Include cppflags-iterator.mk to add
20240         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20241
20242         * Makefile.in (bench-clean): New target.
20243         * benchtests/Makefile (bench-clean): Likewise.
20244
20245 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
20246
20247         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20248
20249 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
20250
20251         * stdio-common/tstdiomisc.c: Fix coding-style violation.
20252
20253 2013-04-15  Andreas Schwab  <schwab@suse.de>
20254
20255         * nscd/grpcache.c (cache_addgr): Properly check for short write.
20256         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20257         * nscd/pwdcache.c (cache_addpw): Likewise.
20258         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
20259         more than recsize.
20260
20261 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20262
20263         * benchtests/Makefile (bench): Write all output to
20264         bench-out.tmp together.
20265
20266 2013-04-15  Andreas Schwab  <schwab@suse.de>
20267
20268         * nscd/nscd.c (main): Don't fork again after closing files.
20269
20270 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20271
20272         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20273
20274         * benchtests/Rules (bench-deps): Collect dependencies into a
20275         single variable.  Add Makefile to dependencies.
20276         ($(objpfx)bench-%.c): Depend on bench-deps.
20277
20278 2013-04-12  Roland McGrath  <roland@hack.frob.com>
20279             Xavier Roche  <roche+kml2@exalead.com>
20280
20281         [BZ #15361]
20282         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20283         just that it's a file descriptor.
20284         * manual/llio.texi (Synchronizing AIO Operations): Update description
20285         for EBADF error from aio_fsync.
20286
20287 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20288
20289         * Rules (bench): Move target definition...
20290         * benchtests/Makefile: ... here.
20291
20292 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20293
20294         * math/libm-test.inc (cos_test): Fix PI/2 test.
20295         (sincos_test): Likewise.
20296         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20297         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20298
20299 2013-04-11  Andreas Schwab  <schwab@suse.de>
20300
20301         [BZ #13988]
20302         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20303         accept exponent character only when digits were seen.
20304         * stdio-common/Makefile (tests): Add bug26.
20305         * stdio-common/bug26.c: New file.
20306
20307         [BZ #14293]
20308         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20309         non-freeable.
20310
20311 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20312
20313         * Makeconfig (rtld-prefix): Define built linker prefix.
20314         * Rules (run-bench): Use it.
20315         * math/Makefile (run-regen-ulps): Likewise.
20316
20317         * Rules (bench): Remove eval.
20318
20319 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20320             Roland McGrath  <roland@hack.frob.com>
20321             Ondrej Bilka  <neleai@seznam.cz>
20322
20323         [BZ #15346]
20324         * time/getdate.c: Include ctype.h and alloca.h.
20325         (__getdate_r): Trim leading and trailing spaces of input.
20326         * time/tst-getdate.c (tests): Add tests with leading and
20327         trailing spaces.
20328
20329 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20330
20331         [BZ #14280]
20332         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20333         when computing value.
20334
20335 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20336
20337         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20338         Use testrun.sh to run libm tests.
20339
20340         [BZ #15309]
20341         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20342
20343 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20344
20345         [BZ #15264]
20346         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20347
20348 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20349
20350         * Makefile.in (regen-ulps): New target.
20351         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20352         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20353         [ifneq (no,$(PERL)] (regen-ulps): New target.
20354         [ifeq (no,$(PERL)] (regen-ulps): New target.
20355         * math/libm-test.inc (ulps_file_name): Define.
20356         (output_dir): New variable.
20357         (options): Add "output-dir" option.
20358         (parse_opt): Handle 'o' case.
20359         (main): If output_dir is non-NULL use it as a prefix
20360         otherwise use "".
20361         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20362
20363 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20364
20365         [BZ #10060, #10062]
20366         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20367         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20368         fail configure if __sync_val_compare_and_swap is not inlined.
20369         * sysdeps/i386/configure: Regenerate.
20370         * configure.in: Build for i686 when configured for i386.
20371         * configure: Regenerate.
20372         * README: Remove i386 reference.
20373
20374 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20375
20376         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20377         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20378
20379 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20380
20381         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20382         (lmsnanval): New variables.
20383         (F): Add conversion tests.
20384         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20385         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20386
20387         * stdio-common/tstdiomisc.c (F): Properly collect individual
20388         tests' results.
20389
20390         [BZ #14686, #15336]
20391         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20392         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20393         Instead, use input NaN values or generate a qNaN by arithmetic
20394         operation.  Also fix bugs to comply with the standard.
20395         * math/libm-test.inc (remainder_test): Add more tests.
20396
20397         [BZ #15335, #15342]
20398         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20399         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20400         input NaN values or generate a qNaN by arithmetic operation.
20401
20402         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20403         unreachable code.
20404
20405         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20406         definitions.
20407
20408 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20409
20410         [BZ #14478]
20411         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20412         underflowed result.
20413         * math/s_cexpf.c (__cexpf): Likewise.
20414         * math/s_cexpl.c (__cexpl): Likewise.
20415         * math/libm-test.inc (cexp_test): Add more tests.
20416
20417 2013-04-03  Andreas Schwab  <schwab@suse.de>
20418
20419         [BZ #15330]
20420         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20421         order arrays from heap if bigger than alloca cutoff.
20422
20423 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
20424
20425         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20426         (SNAN_TESTS_double): Refer to GCC PR56831.
20427         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20428         GCC PR56828.
20429
20430 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20431
20432         * Rules (bench): Move bench.out after the run is complete.
20433
20434         * Rules (bench): Echo currently running benchmark.
20435
20436         * benchtests/Makefile (bench): Add atan and slowatan.
20437         * benchtests/atan-inputs: New file.
20438         * benchtests/slowatan-inputs: New file.
20439         * benchtests/slowatan.c: New file.
20440
20441         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20442         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20443         its value.
20444
20445         [BZ #15305]
20446         * sysdeps/unix/sysv/linux/kernel-features.h
20447         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20448         __ASSUME_XFS_RESTRICTED_CHOWN.
20449         * sysdeps/unix/sysv/linux/pathconf.c
20450         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20451         Save and restore errno.
20452
20453 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
20454
20455         [BZ #15327]
20456         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20457         arguments using __kernel_casinh.
20458         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20459         arguments using __kernel_casinhf.
20460         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20461         arguments using __kernel_casinhl.
20462         * math/libm-test.inc (cacosh_test): Add more tests.
20463         * sysdeps/i386/fpu/libm-test-ulps: Update.
20464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20465
20466 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20467
20468         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20469         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20470
20471         * bench/Makefile (bench): Add sin and slowsin.
20472         * benchtests/sin-inputs: New file.
20473         * benchtests/slowsin-inputs: New file.
20474         * benchtests/slowsin.c: New file.
20475
20476         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20477         (bench): Add slowexp and slowpow.
20478         (exp-ITER): Increase iterations.
20479         (pow-ITER): Likewise.
20480         * benchtests/exp-inputs: Change input.
20481         * benchtests/pow-inputs: Likewise.
20482         * benchtests/slowexp-inputs: New file.
20483         * benchtests/slowexp.c: New file.
20484         * benchtests/slowpow-inputs: New file.
20485         * benchtests/slowpow.c: New file.
20486
20487 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20488
20489         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20490         instructions.
20491         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20492         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20493         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20494         * benchtests/Makefile: Add rint benchtest.
20495         * benchtests/rint-inputs: Input for rint benchtest.
20496
20497 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20498
20499         * Versions.def (libm): Add GLIBC_2.18.
20500         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20501         hidden libm prototypes.
20502         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20503         * math/Makefile (libm-calls): Add s_issignaling.
20504         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20505         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
20506         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20507         declaration.
20508         * math/math.h [__USE_GNU] (issignaling): New macro.
20509         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20510         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20511         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20512         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20513         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20514         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20515         * manual/arith.texi (issignaling): New section.
20516         * manual/libm-err-tab.pl (@all_functions): Update comment.
20517         * math/gen-libm-test.pl (parse_args): Apply special handling for
20518         issignaling.
20519         * math/libm-test.inc (print_float, issignaling_test): New
20520         functions.
20521         (check_float_internal): Add issignaling checks.
20522         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20523         default definition.
20524         * sysdeps/powerpc/math-tests.h: New file.
20525         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20526         tests.
20527         * math/test-snan.c (TEST_FUNC): Likewise.
20528
20529 2013-03-30  David S. Miller  <davem@davemloft.net>
20530
20531         * po/de.po: Update from translation team.
20532
20533 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
20534
20535         [BZ #10357]
20536         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20537         imaginary part less than 1.0 and real part less than 0.5
20538         specially.
20539         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20540         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20541         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20542         (cacos_test): Add more tests.
20543         (casin_test): Likewise.
20544         (casinh_test): Likewise.
20545         * sysdeps/i386/fpu/libm-test-ulps: Update.
20546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20547
20548 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20549
20550         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20551         ONE with its value.
20552
20553         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20554         (__pow_mp): Replace ONE and MONE with their values.
20555         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20556         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20557         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20558         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20559         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20560         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20561
20562         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20563
20564         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20565         (__pow_mp): Replace ZERO and MZERO with their values.
20566         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20567         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20568         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20569         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20570         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20571         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20572         (__sqr): Likewise.
20573
20574         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20575
20576         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20577
20578 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20579
20580         * include/stdlib.h [!SHARED] (__call_tls_dtors):
20581         Declare with __attribute__ ((weak)).
20582         * stdlib/exit.c (__libc_atexit) [!SHARED]:
20583         Call __call_tls_dtors only if it's not NULL.
20584
20585 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20586
20587         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20588         didn't do it already, then set _dl_phdr and _dl_phnum based on the
20589         magic __ehdr_start linker symbol if it's defined.
20590         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20591         them up here if it was already done.
20592
20593         * elf/dl-support.c (_dl_phdr): Make pointer to const.
20594         (_dl_aux_init): Use const in cast when setting it.
20595         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20596         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20597         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20598
20599         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20600         Declare them here.
20601         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20602         * csu/libc-tls.c: Nor here.
20603         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20604
20605         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20606         (__libc_message): Never call vsyslog.
20607
20608 2013-03-28  Alan Modra  <amodra@gmail.com>
20609
20610         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20611         Define as empty.
20612         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20613         Likewise.
20614
20615 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20616
20617         [BZ #15214]
20618         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20619         underflow.
20620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20621
20622 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20623
20624         [BZ #15304]
20625         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20626         Don't add gid passed as argument.
20627
20628         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20629
20630 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
20631
20632         [BZ #15307]
20633         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20634         imaginary part between 1.0 and 1.5 and real part less than 0.5
20635         specially.
20636         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20637         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20638         * math/libm-test.inc (cacos_test): Add more tests.
20639         (casin_test): Likewise.
20640         (casinh_test): Likewise.
20641         * sysdeps/i386/fpu/libm-test-ulps: Update.
20642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20643
20644 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20645
20646         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20647         constants.
20648         (norm): Likewise.
20649         (denorm): Likewise.
20650         (__dbl_mp): Likewise.
20651         (add_magnitudes): Likewise.
20652         (sub_magnitudes): Likewise.
20653         (__add): Likewise.
20654         (__sub): Likewise.
20655         (__mul): Likewise.
20656         (__sqr): Likewise.
20657         (__inv): Likewise.
20658         (__dvd): Likewise.
20659
20660         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20661         commented code.
20662         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20663         (__dubcos): Likewise.
20664         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20665         (__ieee754_acos): Likewise.
20666         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20667         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20668         (__exp1): Likewise.
20669         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20670         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20671         (log1): Likewise.
20672         (my_log2): Likewise.
20673         (checkint): Likewise.
20674         * sysdeps/ieee754/dbl-64/e_remainder.c
20675         (__ieee754_remainder): Likewise.
20676         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20677         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20678         (bsloww): Likewise.
20679         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20680
20681         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20682         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20683         MANTISSA_STORE_T to store computations on mantissa.  Use
20684         macros for rounding and division.
20685         (denorm): Likewise.
20686         (__dbl_mp): Likewise.
20687         (add_magnitudes): Likewise.
20688         (sub_magnitudes): Likewise.
20689         (__mul): Likewise.
20690         (__sqr): Likewise.
20691         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20692         powers of two in terms of TWOPOW macro.
20693         (mp_no): Make type of mantissa as MANTISSA_T.
20694         [!RADIXI]: Define RADIXI.
20695         [!TWO52]: Define TWO52.
20696         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20697
20698 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20699
20700         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20701         llroundl symbol when building for PPC32.
20702
20703 2013-03-24  Mark H Weaver  <mhw@netris.org>
20704
20705         * manual/arith.texi (Normalization Functions): Fix prototypes for
20706         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20707
20708 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20709
20710         [BZ #13889]
20711         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20712         high value to check if expl overflow.
20713         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20714         to check for underflow and overflow.
20715         * math/libm-test.inc: Add exp test.
20716
20717 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
20718
20719         [BZ #11120]
20720         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20721         with NOT_IN_libc.
20722
20723 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20724
20725         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20726         symbol.
20727
20728 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20729
20730         * math/gen-libm-test.pl (parse_args, special_functions): Properly
20731         wrap blocks consisting of several statements.
20732
20733         * sysdeps/generic/math-tests.h: New file.
20734         * sysdeps/i386/fpu/math-tests.h: Likewise.
20735         * math/test-snan.c: Include it.
20736         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20737
20738 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20739
20740         [BZ #15285]
20741         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20742         (__ieee754_j0l): Do not improve calculations using cos of twice
20743         input for inputs above LDBL_MAX / 2.0L.
20744         (__ieee754_y0l): Likewise.
20745         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20746         (__ieee754_j1l): Do not improve calculations using cos of twice
20747         input for inputs above LDBL_MAX / 2.0L.
20748         (__ieee754_y1l): Likewise.
20749         * math/libm-test.inc (j0_test): Add another test.
20750         (j1_test): Likewise.
20751         (y0_test): Likewise.
20752         (y1_test): Likewise.
20753         * sysdeps/i386/fpu/libm-test-ulps: Update.
20754
20755 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20756
20757         * Rules ($(objpfx)bench-%.c): Include code from a C source
20758         file.
20759
20760 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20761
20762         [BZ #15287]
20763         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20764         imaginary part 1.0 and real part less than 0.5 specially.
20765         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20766         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20767         * math/libm-test.inc (cacos_test): Add more tests.
20768         (casin_test): Likewise.
20769         (casinh_test): Likewise.
20770         * sysdeps/i386/fpu/libm-test-ulps: Update.
20771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20772
20773 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20774
20775         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20776         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20777
20778 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
20779
20780         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20781         * config.make.in (config-cflags-sse4): Remove variable.
20782         (config-cflags-avx): Likewise.
20783         (config-cflags-sse2avx): Likewise.
20784         (config-cflags-novzeroupper): Likewise.
20785         (config-asflags-i686): Likewise.
20786         (have-mfma4): Likewise.
20787         (have-as-vis3): Likewise.
20788         (MIG): Likewise.
20789         * configure.in (MIG): Do not AC_SUBST.
20790         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20791         (libc_cv_cc_sse4): Do not AC_SUBST.
20792         (libc_cv_cc_avx): Likewise.
20793         (libc_cv_cc_sse2avx): Likewise.
20794         (libc_cv_cc_novzeroupper): Likewise.
20795         (libc_cv_cc_fma4): Likewise.
20796         (libc_cv_as_i686): Likewise.
20797         (libc_cv_sparc_as_vis3): Likewise.
20798         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20799         LIBC_CONFIG_VAR.
20800         (config-asflags-i686): Likewise.
20801         (config-cflags-avx): Likewise.
20802         (config-cflags-sse2avx): Likewise.
20803         (have-mfma4): Likewise.
20804         (config-cflags-novzeroupper): Likewise.
20805         * sysdeps/mach/configure.in (MIG): Likewise.
20806         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20807         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20808         LIBC_CONFIG_VAR.
20809         (config-cflags-avx): Likewise.
20810         (config-cflags-sse2avx): Likewise.
20811         (have-mfma4): Likewise.
20812         (config-cflags-novzeroupper): Likewise.
20813         * configure: Regenerated.
20814         * sysdeps/i386/configure: Likewise.
20815         * sysdeps/mach/configure: Likewise.
20816         * sysdeps/sparc/configure: Likewise.
20817         * sysdeps/x86_64/configure: Likewise.
20818
20819 2013-03-20  Roland McGrath  <roland@hack.frob.com>
20820
20821         [BZ #14812]
20822         * locale/programs/localedef.c (options): Put N_ translation marker
20823         on argument names, not just descriptions.
20824
20825 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20826
20827         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20828
20829 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
20830
20831         [BZ #14176]
20832         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20833
20834 2013-03-19  Roland McGrath  <roland@hack.frob.com>
20835
20836         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20837         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20838         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20839         [!BEFORE_ABORT] (before_abort): New function.
20840         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20841         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20842         (writev_for_fatal): New function.
20843         (WRITEV_FOR_FATAL): New macro; call that.
20844         (backtrace_and_maps): New function.
20845         (BEFORE_ABORT): New macro; call that.
20846         (struct str_list): Type removed.
20847         (__libc_message, __libc_fatal): Functions removed.
20848         Include <sysdeps/posix/libc_fatal.c> instead.
20849
20850 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
20851
20852         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20853         constants.
20854         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20855         double constants.
20856
20857 2013-03-19  Andreas Schwab  <schwab@suse.de>
20858
20859         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20860         * sysdeps/gnu/configure: Regenerate.
20861
20862         * configure.in: Substitute libc_cv_rtlddir.
20863         * configure: Regenerate.
20864         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20865         * Makeconfig (rtlddir, inst_rtlddir): New variables.
20866         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20867         * elf/Makefile (install-others, CFLAGS-interp.c)
20868         (ldso_install, common-ldd-rewrite): Likewise.
20869         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20870         $(inst_slibdir)/$(rtld-installed-name).
20871         * scripts/rellns-sh: Add -p option.
20872         * Makerules (make-shlib-link): Use rellns-sh to get relative name
20873         for source.
20874
20875 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20876
20877         * manual/nptl.texi: Renamed to ...
20878         * manual/threads.texi: ... this.
20879         * manual/Makefile (chapters): Update.
20880
20881 2013-03-18  Roland McGrath  <roland@hack.frob.com>
20882
20883         [BZ #14812]
20884         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20885         on argument names, not just descriptions.
20886         * malloc/memusagestat.c (options): Likewise.
20887         * nss/getent.c (options): Likewise.
20888
20889 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
20890
20891         [BZ #14812]
20892         * iconv/iconv_prog.c (options): Put N_ translation marker
20893         on argument names, not just descriptions.
20894         * iconv/iconvconfig.c (options): Likewise.
20895
20896 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
20897
20898         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20899         implementation which is faster on all x86_64 architectures.
20900         Tested on AMD, Intel Nehalem, SNB, IVB.
20901         * sysdeps/x86_64/strnlen.S: Likewise.
20902
20903         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20904         Remove all multiarch strlen and strnlen versions.
20905         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20906         Remove strlen and strnlen related parts.
20907
20908         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20909         Inline strlen part.
20910         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20911
20912         * sysdeps/x86_64/multiarch/strlen.S: Remove.
20913         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20914         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20915         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20916         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20917         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20918
20919 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
20920
20921         * manual/memory.texi (Malloc Tunable Parameters):
20922         Sort parameters alphabetically. Add comments for missing entries.
20923
20924 2013-03-17  David S. Miller  <davem@davemloft.net>
20925
20926         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20927
20928 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
20929
20930         [BZ #15283]
20931         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20932         for arguments at most half maximum finite value.
20933         * math/libm-test.inc (j0_test): Add more tests.
20934         (j1_test): Likewise.
20935         (y0_test): Likewise.
20936         (y1_test): Likewise.
20937         * sysdeps/i386/fpu/libm-test-ulps: Update.
20938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20939
20940         [BZ #14155]
20941         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20942         1 / x and functions P and Q for arguments above 0x1p256L.
20943         (__ieee754_y0l): Likewise.
20944         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20945         (__ieee754_y1l): Likewise.
20946         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20947         (j1_test): Likewise.
20948         (y0_test): Likewise.
20949         (y1_test): Likewise.
20950
20951 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
20952
20953         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20954         variable.
20955
20956 2013-03-15  Roland McGrath  <roland@hack.frob.com>
20957
20958         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20959         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20960         zero since it's initialized to EXEC_PAGESIZE.
20961
20962         * sysdeps/unix/sysv/linux/ldsodefs.h
20963         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20964         * sysdeps/generic/ldsodefs.h: ... here.
20965
20966 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
20967
20968         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20969
20970         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20971         math/test-snan.c.
20972         * math/test-snan.c: Renamed from
20973         sysdeps/powerpc/fpu/test-powerpc-snan.c.
20974         * math/Makefile (tests): Add test-snan.
20975         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20976         test-powerpc-snan.
20977
20978         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20979         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
20980         functions.
20981         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
20982         __builtin_nan family of functions.
20983         * math/libm-test.inc (initialize): Initialize qnan_value with
20984         __builtin_nan family of functions.
20985         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20986         Remove variables.
20987         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20988         Remove functions.
20989         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
20990         storage class.  Initialize qNaN_var and sNaN_var with
20991         __builtin_nan and __builtin_nans families of functions,
20992         respectively.
20993
20994         * math/libm-test.inc (acosh_test): Also test with qNaN input.
20995         (sqrt_test): Remove duplicate test with qNaN input.
20996         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20997         (round_test, signbit_test, significand_test): Note missing +/-Inf
20998         as well as qNaN tests.
20999
21000         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21001         qNaN_var.  Fix a few strings, too.
21002         * math/libm-test.inc (nan_value): Rename to qnan_value.
21003         * math/gen-libm-test.pl (%beautify): Adjust to that.
21004         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21005         * math/test-misc.c (main): Likewise.
21006         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21007         to __qnan_bytes, and __qnan_union, respectively.
21008         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21009         Likewise.
21010         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21011         and lqnanval, respectively.
21012         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21013         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21014         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21015         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21016
21017         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21018         * math/test-misc.c (main) [__x86_64__]: Enable test for long
21019         doubles.
21020
21021         * math/test-misc.c (main): Fix copy'n'pastos.
21022         * misc/tst-efgcvt.c (special): Likewise.
21023
21024         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21025         Remove declarations.
21026
21027 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21028
21029         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21030         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21031         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21032         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21033
21034 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21035
21036         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21037         macro to return vdso values correctly in IFUNC implementations.
21038         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21039         Optimization by using IFUNC.
21040
21041 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21042             Richard Henderson  <rth@redhat.com>
21043             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21044
21045         * Makefile.in (bench): New target.
21046         * NEWS: Mention the benchmark framework.
21047         * Rules (bench): Likewise.
21048         (binaries-bench): Generate binaries for functions to
21049         benchmark.
21050         * benchtests/Makefile: New makefile for benchmark tests.
21051         * benchtests/bench-skeleton.c: New skeleton file for benchmark
21052         programs.
21053         * benchtests/exp-inputs: New input file for EXP function.
21054         * benchtests/pow-inputs: New input file for POW function.
21055         * scripts/bench.pl: New script to generate source files for
21056         benchmark programs.
21057
21058 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21059
21060         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21061         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21062         computations on mantissa.  Use macros for rounding and
21063         division.
21064         (denorm): Likewise.
21065         (__dbl_mp): Likewise.
21066         (add_magnitudes): Likewise.
21067         (sub_magnitudes): Likewise.
21068         (__mul): Likewise.
21069         (__sqr): Likewise.
21070         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21071         powers of two in terms of TWOPOW macro.
21072         (mp_no): Make type of mantissa as MANTISSA_T.
21073         [!RADIXI]: Define RADIXI.
21074         [!TWO52]: Define TWO52.
21075         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21076
21077         * manual/nptl.texi (cindex): Modify threads to pthreads.
21078
21079 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
21080
21081         * sysdeps/x86_64/preconfigure: Regenerated.
21082
21083 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
21084
21085         [BZ #14155]
21086         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21087         0x1p28 and above.
21088         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21089         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21090         0x1p28 and above.
21091         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21092         * math/libm-test.inc (j0_test): Do not allow one spurious
21093         underflow exception.
21094         (y1_test): Likewise.
21095
21096 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21097
21098         * manual/Makefile (chapters): Add nptl.
21099         * manual/debug.texi (Debugging Support): Add link to Threads
21100         chapter.
21101         * manual/nptl.texi: New file.
21102
21103         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21104
21105 2013-03-14  Petr Baudis  <pasky@ucw.cz>
21106
21107         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21108         for non-NULL pointer before the memory validity test. Pointed
21109         out by Holger Brunck <holger.brunck@keymile.com>.
21110
21111 2013-03-13  Andreas Schwab  <schwab@suse.de>
21112
21113         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21114         instead of .os.
21115
21116 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
21117
21118         * timezone/zic.c: Update from tzcode 2013b.
21119
21120 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
21121
21122         * manual/install.texi (Configuring and compiling):
21123         Mention i686 and i586.
21124         * INSTALL: Regenerate.
21125
21126 2013-03-12  Roland McGrath  <roland@hack.frob.com>
21127
21128         * sysdeps/init_array/elf-init.c: New file.
21129         * csu/elf-init.c
21130         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21131         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21132
21133         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21134         __gmon_start__ as global, but as static with a .preinit_array pointer.
21135         * sysdeps/init_array/gmon-start.c: New file.  Use that.
21136         * sysdeps/init_array/crti.S: New file, empty except for comments.
21137         * sysdeps/init_array/crtn.S: Likewise.
21138
21139 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
21140
21141         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21142         definining bcopy.
21143         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21144         Remove Prefer_SSE_for_memop.
21145         * sysdeps/x86_64/multiarch/init-arch.h: Remove
21146         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21147         HAS_PREFER_SSE_FOR_MEMOP.
21148         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21149         memset-x86-64.
21150         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21151         Remove bzero, memset ifunc support.
21152         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21153         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21154         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21155         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21156
21157 2013-03-11  Andreas Schwab  <schwab@suse.de>
21158
21159         [BZ #15234]
21160         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21161         by SHLIB_COMPAT.
21162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21163         (GLIBC_2.16): Remove pthread_atfork.
21164
21165 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21166
21167         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21168         (ptestcases.h): Likewise.
21169
21170 2013-03-08  Roland McGrath  <roland@hack.frob.com>
21171
21172         * Makeconfig ($(common-objpfx)config.status): Depend on
21173         sysdeps/*/preconfigure{,.in} too.
21174
21175 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
21176
21177         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21178         (__free_hook): Use void * instead of __malloc_ptr_t.
21179         (__malloc_hook): Likewise.
21180         (__realloc_hook): Likewise.
21181         (__memalign_hook): Likewise.
21182         (__after_morecore_hook): Likewise.
21183         * malloc/arena.c (save_malloc_hook): Likewise.
21184         (save_free_hook): Likewise.
21185         * malloc/hooks.c (malloc_hook_ini): Likewise.
21186         (realloc_hook_ini): Likewise.
21187         (memalign_hook_ini): Likewise.
21188         * malloc/malloc.c (malloc_hook_ini): Likewise.
21189         (realloc_hook_ini): Likewise.
21190         (memalign_hook_ini): Likewise.
21191         (__free_hook): Likewise.
21192         (__malloc_hook): Likewise.
21193         (__realloc_hook): Likewise.
21194         (__memalign_hook): Likewise.
21195         (__libc_malloc): Likewise.
21196         (__libc_free): Likewise.
21197         (__libc_realloc): Likewise.
21198         (__libc_memalign): Likewise.
21199         (__libc_valloc): Likewise.
21200         (__libc_pvalloc): Likewise.
21201         (__libc_calloc): Likewise.
21202         (__posix_memalign): Likewise.
21203         * malloc/morecore.c (__sbrk): Likewise.
21204         (__default_morecore): Likewise.
21205
21206         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21207
21208         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21209         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21210         __malloc_ptrdiff_t.
21211
21212         * malloc/malloc.h (__malloc_size_t): Remove macro.
21213         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21214         __malloc_size_t.
21215         (old_memalign_hook): Likewise.
21216         (old_realloc_hook): Likewise.
21217         (struct hdr): Likewise.
21218         (flood): Likewise.
21219         (mallochook): Likewise.
21220         (memalignhook): Likewise.
21221         (reallochook): Likewise.
21222         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21223         (tr_old_realloc_hook): Likewise.
21224         (tr_old_memalign_hook): Likewise.
21225         (tr_mallochook): Likewise.
21226         (tr_reallochook): Likewise.
21227         (tr_memalignhook): Likewise.
21228
21229 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21230
21231         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21232         default_ldbl_pack and using as default implementation.
21233         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21234         implementation.
21235         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21236         redundant definition.
21237         (ldbl_insert_mantissa): Likewise.
21238         (ldbl_canonicalize): Likewise.
21239         (ldbl_nearbyint): Likewise.
21240         (ldbl_pack): Rename to ldbl_pack_ppc.
21241         (ldbl_unpack): Rename to ldbl_unpack_ppc.
21242         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21243         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21244
21245 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21246
21247         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21248         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21249         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21250         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21251         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21252         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21253         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21254         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21255
21256 2013-03-07  Andreas Jaeger  <aj@suse.de>
21257
21258         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21259         bits/mman-linux.h.
21260
21261 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21262
21263         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21264         Include mpa.h and declare __MPEXP.
21265         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21266         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21267         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21268         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21269         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21270         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21271         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21272
21273         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21274         (__slowpow): Use long double EXPL and LOGL functions to
21275         compute POW.
21276         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21277         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21278         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21279         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21280         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21281         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21282
21283         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21284         intermediate variable to calculate exponent.
21285         (__sqr): Likewise.
21286         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21287         Likewise.
21288         (__sqr): Likewise.
21289
21290         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21291         [!NO__SQR]: Define __sqr.
21292         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21293         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21294         sysdeps/ieee754/dbl-64/mpa.c.
21295         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21296
21297         [BZ #12723]
21298         * posix/Makefile (tests): Add tst-pathconf.
21299         * posix/tst-pathconf.c: New test case.
21300         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21301         _PC_PIPE_BUF.
21302         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21303
21304 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21305
21306         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21307
21308 2013-03-06  Andreas Jaeger  <aj@suse.de>
21309
21310         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21311         definition via __MAP_ANONYMOUS.
21312
21313         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21314         it's not part of Linux headers.
21315
21316         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21317         (MAP_HUGE_MASK): Define.
21318
21319         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21320         Define.
21321         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21322         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21323         Define.
21324         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21325         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21326         Define.
21327         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21328         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21329         Define.
21330         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21331
21332         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21333         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21334         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21335         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21336         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21337         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21338
21339         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21340         Handle f2fs.
21341
21342         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21343         Handle f2fs and efivarfs.
21344
21345         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21346         f2fs.
21347
21348         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21349         (EFIVARFS_MAGIC): Add.
21350         (F2FS_LINK_MAX): Add.
21351
21352 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21353
21354         * stdio-common/vfprintf.c: Replace __builtin_expect with
21355         __glibc_unlikely.
21356
21357 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21358
21359         [BZ #13550]
21360         * sysdeps/generic/bp-sym.h: Remove file.
21361         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21362         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21363         <bp-sym.h> and <bp-asm.h>.
21364         (__longjmp): Don't use BP_SYM.
21365         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21366         and <bp-asm.h>.
21367         (memcpy): Don't use BP_SYM.
21368         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21369         <bp-sym.h> and <bp-asm.h>.
21370         (memcpy): Don't use BP_SYM.
21371         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21372         <bp-asm.h>.
21373         (memcpy): Don't use BP_SYM.
21374         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21375         <bp-asm.h>.
21376         (memset): Don't use BP_SYM.
21377         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21378         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21379         (__bzero): Don't use BP_SYM.
21380         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21381         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21382         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21383         <bp-sym.h> and <bp-asm.h>.
21384         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21385         pointers.
21386         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21387         <bp-sym.h> and <bp-asm.h>.
21388         (memcpy): Don't use BP_SYM.
21389         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21390         <bp-sym.h> and <bp-asm.h>.
21391         (memset): Don't use BP_SYM.
21392         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21393         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21394         (__bzero): Don't use BP_SYM.
21395         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21396         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21397         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21398         <bp-sym.h> and <bp-asm.h>.
21399         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21400         pointers.
21401         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21402         <bp-sym.h> and <bp-asm.h>.
21403         (memcpy): Don't use BP_SYM.
21404         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21405         <bp-sym.h> and <bp-asm.h>.
21406         (memset): Don't use BP_SYM.
21407         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21408         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21409         (__bzero): Don't use BP_SYM.
21410         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21411         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21412         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21413         <bp-sym.h> and <bp-asm.h>.
21414         (__memchr): Don't use BP_SYM.
21415         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21416         <bp-sym.h> and <bp-asm.h>.
21417         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21418         pointers.
21419         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21420         <bp-sym.h> and <bp-asm.h>.
21421         (memcpy): Don't use BP_SYM.
21422         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21423         <bp-sym.h> and <bp-asm.h>.
21424         (__mempcpy): Don't use BP_SYM.
21425         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21426         <bp-sym.h> and <bp-asm.h>.
21427         (__memrchr): Don't use BP_SYM.
21428         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21429         <bp-sym.h> and <bp-asm.h>.
21430         (memset): Don't use BP_SYM.
21431         (__bzero): Likewise.
21432         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21433         <bp-sym.h> and <bp-asm.h>.
21434         (__rawmemchr): Don't use BP_SYM.
21435         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21436         <bp-sym.h> and <bp-asm.h>.
21437         (__STRCMP): Don't use BP_SYM.
21438         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21439         <bp-sym.h> and <bp-asm.h>.
21440         (strchr): Don't use BP_SYM.
21441         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21442         <bp-sym.h> and <bp-asm.h>.
21443         (__strchrnul): Don't use BP_SYM.
21444         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21445         <bp-sym.h> and <bp-asm.h>.
21446         (strlen): Don't use BP_SYM.
21447         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21448         <bp-sym.h> and <bp-asm.h>.
21449         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21450         pointers.
21451         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21452         <bp-sym.h> and <bp-asm.h>.
21453         (__strnlen): Don't use BP_SYM.
21454         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21455         <bp-sym.h> and <bp-asm.h>.
21456         (__GI__setjmp): Don't use BP_SYM.
21457         (_setjmp): Likewise.
21458         (__sigsetjmp): Likewise.
21459         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21460         (L(start_addresses)): Don't use BP_SYM.
21461         (_start): Likewise.
21462         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21463         <bp-asm.h>.
21464         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21465         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21466         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21467         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21468         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21469         <bp-asm.h>.
21470         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21471         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
21472         about bounded pointers.
21473         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21474         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21475         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21476         <bp-asm.h>.
21477         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21478         about bounded pointers.  Remove GKM FIXME comments.
21479         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21480         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21481         <bp-asm.h>.
21482         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21483         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
21484         Remove GKM FIXME comments.
21485         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21486         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21487         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21488         <bp-asm.h>.
21489         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21490         about bounded pointers.  Remove GKM FIXME comment.
21491         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21492         and <bp-asm.h>.
21493         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21494         pointers.
21495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21496         <bp-sym.h> and <bp-asm.h>.
21497         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21499         <bp-sym.h> and <bp-asm.h>.
21500         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21501         comment.
21502
21503 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21504
21505         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21506         call free(NULL).
21507
21508 2013-03-05  David S. Miller  <davem@davemloft.net>
21509
21510         * po/es.po: Update from translation team.
21511
21512 2013-03-05  Andreas Jaeger  <aj@suse.de>
21513
21514         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21515         <bits/mman-linux.h>.
21516         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21517         is fine.
21518         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21519         <bits/mman-linux.h> to end of file.
21520         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21521         is fine.
21522         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21523         <bits/mman-linux.h> to end of file.
21524         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21525         is fine.
21526         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21527         <bits/mman-linux.h> to end of file.
21528
21529         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21530         (MCL_CURRENT, MCL_FUTURE): Define here.
21531
21532 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21533
21534         [BZ #15232]
21535         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21536         attribute_hidden.
21537         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21538
21539 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21540
21541         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21542         fourth parameter needed for rt_sigprocmask syscall.
21543         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21544         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21545         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21546         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21547         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21548         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21549
21550 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
21551
21552         [BZ #13550]
21553         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21554         comment about bounded pointers.
21555         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21556         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21557
21558 2013-03-04  Andreas Jaeger  <aj@suse.de>
21559
21560         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21561         common definitions.
21562
21563         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21564         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21565         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21566         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21567         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21568         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21569
21570 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21571
21572         [BZ #15055]
21573         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21574         __ieee754_sqrl instead of __sqrl.
21575
21576 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
21577
21578         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21579         * sysdeps/powerpc/fpu_control.h: ... here.
21580         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21581         * sysdeps/powerpc/bits/fenvinline.h: ... here.
21582         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21583         * sysdeps/powerpc/bits/mathinline.h: ... here.
21584
21585 2013-03-01  Roland McGrath  <roland@hack.frob.com>
21586
21587         * elf/dl-hwcaps.c (_dl_important_hwcaps):
21588         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21589         to just [NEED_DL_SYSINFO_DSO].
21590         * elf/dl-support.c: Likewise.
21591         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21592         * elf/rtld.c (dl_main): Likewise.
21593         * elf/setup-vdso.h (setup_vdso): Likewise.
21594         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21595         * sysdeps/unix/sysv/linux/dl-sysdep.c
21596         (_dl_discover_osversion): Likewise.
21597
21598 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
21599
21600         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21601         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21602
21603 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21604
21605         * NEWS: Mention libm performance improvements and non-x86 PI
21606         futex support.
21607
21608         * csu/libc-start.c (__pthread_initialize_minimal): Change
21609         function arguments.
21610         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21611
21612 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
21613
21614         [BZ #13550]
21615         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21616         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21617         <bp-sym.h> and <bp-asm.h>.
21618         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21619         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21620         and <bp-asm.h>.
21621         (memcpy): Don't use BP_SYM.
21622         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21623         <bp-asm.h>.
21624         (__mpn_add_n): Don't use BP_SYM.
21625         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21626         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21627         and <bp-asm.h>.
21628         (__mpn_addmul_1): Don't use BP_SYM.
21629         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21630         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21631         <bp-sym.h>.
21632         (_setjmp): Don't use BP_SYM.
21633         (__novmx_setjmp): Likewise.
21634         (__GI__setjmp): Likewise.
21635         (__vmx_setjmp): Likewise.
21636         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21637         <bp-sym.h>.
21638         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21639         (__bzero): Don't use BP_SYM.
21640         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21641         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21642         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21643         <bp-sym.h> and <bp-asm.h>.
21644         (memcpy): Don't use BP_SYM.
21645         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21646         <bp-sym.h> and <bp-asm.h>.
21647         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21648         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21649         <bp-sym.h> and <bp-asm.h>.
21650         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21651         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21652         <bp-asm.h>.
21653         (__mpn_lshift): Don't use BP_SYM.
21654         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21655         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21656         <bp-asm.h>.
21657         (memset): Don't use BP_SYM.
21658         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21659         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21660         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21661         <bp-asm.h>.
21662         (__mpn_mul_1): Don't use BP_SYM.
21663         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21664         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21665         <bp-sym.h> and <bp-asm.h>.
21666         (memcmp): Don't use BP_SYM.
21667         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21668         <bp-sym.h> and <bp-asm.h>.
21669         (memcpy): Don't use BP_SYM.
21670         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21671         <bp-sym.h> and <bp-asm.h>.
21672         (memset): Don't use BP_SYM.
21673         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21674         <bp-sym.h> and <bp-asm.h>.
21675         (strncmp): Don't use BP_SYM.
21676         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21677         <bp-sym.h> and <bp-asm.h>.
21678         (memcpy): Don't use BP_SYM.
21679         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21680         <bp-sym.h> and <bp-asm.h>.
21681         (memset): Don't use BP_SYM.
21682         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21683         <bp-sym.h> and <bp-asm.h>.
21684         (__memchr): Don't use BP_SYM.
21685         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21686         <bp-sym.h> and <bp-asm.h>.
21687         (memcmp): Don't use BP_SYM.
21688         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21689         <bp-sym.h> and <bp-asm.h>.
21690         (memcpy): Don't use BP_SYM.
21691         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21692         <bp-sym.h> and <bp-asm.h>.
21693         (__mempcpy): Don't use BP_SYM.
21694         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21695         <bp-sym.h> and <bp-asm.h>.
21696         (__memrchr): Don't use BP_SYM.
21697         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21698         <bp-sym.h> and <bp-asm.h>.
21699         (memset): Don't use BP_SYM.
21700         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21701         <bp-sym.h> and <bp-asm.h>.
21702         (__rawmemchr): Don't use BP_SYM.
21703         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21704         <bp-sym.h> and <bp-asm.h>.
21705         (__STRCMP): Don't use BP_SYM.
21706         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21707         <bp-sym.h> and <bp-asm.h>.
21708         (strchr): Don't use BP_SYM.
21709         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21710         <bp-sym.h> and <bp-asm.h>.
21711         (__strchrnul): Don't use BP_SYM.
21712         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21713         <bp-sym.h> and <bp-asm.h>.
21714         (strlen): Don't use BP_SYM.
21715         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21716         <bp-sym.h> and <bp-asm.h>.
21717         (strncmp): Don't use BP_SYM.
21718         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21719         <bp-sym.h> and <bp-asm.h>.
21720         (__strnlen): Don't use BP_SYM.
21721         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21722         <bp-asm.h>.
21723         (__mpn_rshift): Don't use BP_SYM.
21724         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21725         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21726         <bp-sym.h> and <bp-asm.h>.
21727         (__sigsetjmp): Don't use BP_SYM.
21728         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21729         (L(start_addresses)): Don't use BP_SYM.
21730         (_start): Likewise.
21731         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21732         <bp-asm.h>.
21733         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21734         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21735         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21736         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21737         <bp-asm.h>.
21738         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21739         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21740         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21741         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21742         <bp-asm.h>.
21743         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21744         comments.
21745         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21746         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21747         <bp-asm.h>.
21748         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
21749         FIXME comments.
21750         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21751         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21752         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21753         <bp-asm.h>.
21754         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21755         comment.
21756         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21757         and <bp-asm.h>.
21758         (strncmp): Don't use BP_SYM,
21759         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21760         <bp-asm.h>.
21761         (__mpn_sub_n): Don't use BP_SYM.
21762         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21763         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21764         and <bp-asm.h>.
21765         (__mpn_submul_1): Don't use BP_SYM.
21766         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21768         <bp-sym.h> and <bp-asm.h>.
21769         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21771         <bp-sym.h> and <bp-asm.h>.
21772         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21773         comment.
21774
21775 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21776
21777         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21778         Use ZK to minimize writes to Z.
21779         (sub_magnitudes): Simplify code a bit.
21780         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21781         Use ZK to minimize writes to Z.
21782         (sub_magnitudes): Simplify code a bit.
21783
21784 2013-02-27  Roland McGrath  <roland@hack.frob.com>
21785
21786         * csu/gmon-start.c: Add special exception to license text.
21787
21788 2013-02-27  Richard Henderson  <rth@redhat.com>
21789
21790         * scripts/config.guess: Update from config.git.
21791         * scripts/config.sub: Likewise.
21792
21793 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21794
21795         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21796
21797         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21798
21799         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21800
21801         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21802
21803         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21804
21805 2013-02-26  Roland McGrath  <roland@hack.frob.com>
21806
21807         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21808         [$(build-shared = yes].
21809
21810 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21811
21812         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21813         (__mul): Reduce iterations for calculating mantissa.
21814
21815         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21816         MPTWO.
21817         (__mpranred): Likewise.
21818
21819         [BZ #15160]
21820         * malloc/memusagestat.c (main): Draw graphs for heap and stack
21821         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21822
21823 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
21824
21825         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21826         Define __attribute__.
21827
21828 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21829
21830         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21831         unused.
21832         * posix/regex_internal.h (__attribute): Remove.
21833         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21834         (re_string_context_at): Likewise.
21835         (bitset_not): Use __attribute__ and mark function as possibly
21836         unused.
21837         (bitset_merge): Likewise.
21838         (bitset_mask): Likewise.
21839         (re_string_char_size_at): Likewise.
21840         (re_string_wchar_at): Likewise.
21841         (re_string_elem_size_at): Likewise.
21842
21843 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21844
21845         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21846         code.
21847         (cc32): Likewise.
21848
21849         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21850         (__acr): Likewise.
21851         (__cpy): Likewise.
21852         (norm): Likewise.
21853         (denorm): Likewise.
21854         (__dbl_mp): Likewise.
21855         (add_magnitudes): Likewise.
21856         (sub_magnitudes): Likewise.
21857         (__mul): Likewise.
21858         (__inv): Likewise.
21859
21860         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21861         style.
21862
21863         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21864         style.
21865
21866         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21867         code.
21868
21869         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21870         up changes with default code.
21871         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21872         Likewise.
21873
21874 2013-02-24  Allan McRae  <allan@archlinux.org>
21875
21876         * manual/socket.texi (The Internet Namespace): Order menu items
21877         to match that in the file.
21878
21879         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21880         node listing of the info page menu.
21881
21882 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
21883
21884         [BZ #13550]
21885         * sysdeps/i386/bp-asm.h: Remove file.
21886         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21887         (PARMS): Do not use macros from bp-asm.h.
21888         (S1): Likewise.
21889         (S2): Likewise.
21890         (SIZE): Likewise.
21891         (__mpn_add_n): Do not use BP_SYM
21892         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21893         "bp-asm.h".
21894         (PARMS): Do not use macros from bp-asm.h.
21895         (S1): Likewise.
21896         (SIZE): Likewise.
21897         (__mpn_addmul_1): Do not use BP_SYM
21898         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21899         "bp-asm.h".
21900         (PARMS): Do not use macros from bp-asm.h.
21901         (SIGMSK): Likewise.
21902         (_setjmp): Likewise.  Do not use BP_SYM.
21903         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21904         "bp-asm.h".
21905         (PARMS): Do not use macros from bp-asm.h.
21906         (SIGMSK): Likewise.
21907         (setjmp): Likewise.  Do not use BP_SYM.
21908         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21909         "bp-asm.h".
21910         (PARMS): Do not use macros from bp-asm.h.
21911         (__frexp): Do not use BP_SYM.
21912         (frexp): Likewise.
21913         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21914         "bp-asm.h".
21915         (PARMS): Do not use macros from bp-asm.h.
21916         (__frexpf): Do not use BP_SYM.
21917         (frexpf): Likewise.
21918         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21919         "bp-asm.h".
21920         (PARMS): Do not use macros from bp-asm.h.
21921         (__frexpl): Do not use BP_SYM.
21922         (frexpl): Likewise.
21923         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21924         "bp-asm.h".
21925         (PARMS): Do not use macros from bp-asm.h.
21926         (__remquo): Do not use BP_SYM.
21927         (remquo): Likewise.
21928         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21929         "bp-asm.h".
21930         (PARMS): Do not use macros from bp-asm.h.
21931         (__remquof): Do not use BP_SYM.
21932         (remquof): Likewise.
21933         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21934         "bp-asm.h".
21935         (PARMS): Do not use macros from bp-asm.h.
21936         (__remquol): Do not use BP_SYM.
21937         (remquol): Likewise.
21938         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21939         "bp-asm.h".
21940         (PARMS): Do not use macros from bp-asm.h.
21941         (DEST): Likewise.
21942         (SRC): Likewise.
21943         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
21944         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21945         "bp-asm.h".
21946         (PARMS): Do not use macros from bp-asm.h.
21947         (strlen): Do not use BP_SYM.
21948         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21949         "bp-asm.h".
21950         (PARMS): Do not use macros from bp-asm.h.
21951         (S1): Likewise.
21952         (S2): Likewise.
21953         (SIZE): Likewise.
21954         (__mpn_add_n): Do not use BP_SYM.
21955         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21956         "bp-asm.h".
21957         (PARMS): Do not use macros from bp-asm.h.
21958         (S1): Likewise.
21959         (SIZE): Likewise.
21960         (__mpn_addmul_1): Do not use BP_SYM.
21961         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21962         weak_alias.
21963         (bzero): Likewise.
21964         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21965         "bp-asm.h".
21966         (PARMS): Do not use macros from bp-asm.h.
21967         (S): Likewise.
21968         (SIZE): Likewise.
21969         (__mpn_lshift): Do not use BP_SYM.
21970         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21971         "bp-asm.h".
21972         (PARMS): Do not use macros from bp-asm.h.
21973         (DEST): Likewise.
21974         (SRC): Likewise.
21975         (LEN): Likewise.
21976         (memcpy): Likewise.  Do not use BP_SYM.
21977         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21978         libc_hidden_def and weak_alias.
21979         (mempcpy): Do not use BP_SYM in weak_alias.
21980         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21981         "bp-asm.h".
21982         (PARMS): Do not use macros from bp-asm.h.
21983         (DEST): Likewise.
21984         (LEN): Likewise.
21985         [!BZERO_P] (CHR): Likewise.
21986         (memset): Likewise.  Do not use BP_SYM.
21987         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21988         "bp-asm.h".
21989         (PARMS): Do not use macros from bp-asm.h.
21990         (S1): Likewise.
21991         (SIZE): Likewise.
21992         (__mpn_mul_1): Do not use BP_SYM.
21993         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21994         "bp-asm.h".
21995         (PARMS): Do not use macros from bp-asm.h.
21996         (S): Likewise.
21997         (SIZE): Likewise.
21998         (__mpn_rshift): Do not use BP_SYM.
21999         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22000         "bp-asm.h".
22001         (PARMS): Do not use macros from bp-asm.h.
22002         (STR): Likewise.
22003         (CHR): Likewise.
22004         (strchr): Likewise.  Do not use BP_SYM.
22005         (index): Do not use BP_SYM in weak_alias.
22006         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22007         "bp-asm.h".
22008         (PARMS): Do not use macros from bp-asm.h.
22009         (DEST): Likewise.
22010         (SRC): Likewise.
22011         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
22012         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22013         "bp-asm.h".
22014         (PARMS): Do not use macros from bp-asm.h.
22015         (strlen): Do not use BP_SYM.
22016         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22017         "bp-asm.h".
22018         (PARMS): Do not use macros from bp-asm.h.
22019         (S1): Likewise.
22020         (S2): Likewise.
22021         (SIZE): Likewise.
22022         (__mpn_sub_n): Do not use BP_SYM.
22023         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22024         "bp-asm.h".
22025         (PARMS): Do not use macros from bp-asm.h.
22026         (S1): Likewise.
22027         (SIZE): Likewise.
22028         (__mpn_submul_1): Do not use BP_SYM.
22029         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22030         "bp-asm.h".
22031         (PARMS): Do not use macros from bp-asm.h.
22032         (S1): Likewise.
22033         (S2): Likewise.
22034         (SIZE): Likewise.
22035         (__mpn_add_n): Do not use BP_SYM.
22036         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22037         weak_alias.
22038         (bzero): Likewise.
22039         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22040         "bp-asm.h".
22041         (PARMS): Do not use macros from bp-asm.h.
22042         (BLK2): Likewise.
22043         (LEN): Likewise.
22044         (memcmp): Do not use BP_SYM.
22045         (bcmp): Do not use BP_SYM in weak_alias.
22046         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22047         "bp-asm.h".
22048         (PARMS): Do not use macros from bp-asm.h.
22049         (DEST): Likewise.
22050         (SRC): Likewise.
22051         (LEN): Likewise.
22052         (memcpy): Likewise.  Do not use BP_SYM.
22053         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22054         "bp-asm.h".
22055         (PARMS): Do not use macros from bp-asm.h.
22056         (DEST): Likewise.
22057         (SRC): Likewise.
22058         (LEN): Likewise.
22059         (memmove): Likewise.  Do not use BP_SYM.
22060         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22061         "bp-asm.h".
22062         (PARMS): Do not use macros from bp-asm.h.
22063         (DEST): Likewise.
22064         (SRC): Likewise.
22065         (LEN): Likewise.
22066         (__mempcpy): Likewise.  Do not use BP_SYM.
22067         (mempcpy): Do not use BP_SYM in weak_alias.
22068         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22069         "bp-asm.h".
22070         (PARMS): Do not use macros from bp-asm.h.
22071         (DEST): Likewise.
22072         (LEN): Likewise.
22073         [!BZERO_P] (CHR): Likewise.
22074         (memset): Likewise.  Do not use BP_SYM.
22075         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22076         "bp-asm.h".
22077         (PARMS): Do not use macros from bp-asm.h.
22078         (STR2): Likewise.
22079         (strcmp): Do not use BP_SYM.
22080         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22081         "bp-asm.h".
22082         (PARMS): Do not use macros from bp-asm.h.
22083         (STR): Likewise.
22084         (DELIM): Likewise.
22085         [USE_AS_STRTOK_R] (SAVE): Likewise.
22086         (FUNCTION): Likewise.  Do not use BP_SYM.
22087         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22088         aliases.
22089         (strtok_r): Likewise.
22090         (__GI___strtok_r): Likewise.
22091         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22092         (PARMS): Do not use macros from bp-asm.h.
22093         (S): Likewise.
22094         (SIZE): Likewise.
22095         (__mpn_lshift): Do not use BP_SYM.
22096         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22097         (PARMS): Do not use macros from bp-asm.h.
22098         (STR): Likewise.
22099         (CHR): Likewise.
22100         (__memchr): Do not use BP_SYM.
22101         (memchr): Do not use BP_SYM in weak_alias.
22102         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22103         (PARMS): Do not use macros from bp-asm.h.
22104         (BLK2): Likewise.
22105         (LEN): Likewise.
22106         (memcmp): Do not use BP_SYM.
22107         (bcmp): Do not use BP_SYM in weak_alias.
22108         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22109         (PARMS): Do not use macros from bp-asm.h.
22110         (S1): Likewise.
22111         (SIZE): Likewise.
22112         (__mpn_mul_1): Do not use BP_SYM.
22113         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22114         "bp-asm.h".
22115         (PARMS): Do not use macros from bp-asm.h.
22116         (STR): Likewise.
22117         (CHR): Likewise.
22118         (__rawmemchr): Do not use BP_SYM.
22119         (rawmemchr): Do not use BP_SYM in weak_alias.
22120         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22121         (PARMS): Do not use macros from bp-asm.h.
22122         (S): Likewise.
22123         (SIZE): Likewise.
22124         (__mpn_rshift): Do not use BP_SYM.
22125         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22126         (PARMS): Do not use macros from bp-asm.h.
22127         (SIGMSK): Likewise.
22128         (__sigsetjmp): Likewise.  Do not use BP_SYM.
22129         * sysdeps/i386/start.S: Do not include "bp-sym.h".
22130         (_start): Do not use BP_SYM.
22131         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22132         (PARMS): Do not use macros from bp-asm.h.
22133         (DEST): Likewise.
22134         (SRC): Likewise.
22135         (__stpcpy): Likewise.  Do not use BP_SYM.
22136         (stpcpy): Do not use BP_SYM in weak_alias.
22137         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22138         "bp-asm.h".
22139         (PARMS): Do not use macros from bp-asm.h.
22140         (DEST): Likewise.
22141         (SRC): Likewise.
22142         (LEN): Likewise.
22143         (__stpncpy): Likewise.  Do not use BP_SYM.
22144         (stpncpy): Do not use BP_SYM in weak_alias.
22145         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22146         (PARMS): Do not use macros from bp-asm.h.
22147         (STR): Likewise.
22148         (CHR): Likewise.
22149         (strchr): Likewise.  Do not use BP_SYM.
22150         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22151         "bp-asm.h".
22152         (PARMS): Do not use macros from bp-asm.h.
22153         (STR): Likewise.
22154         (CHR): Likewise.
22155         (__strchrnul): Likewise.  Do not use BP_SYM.
22156         (strchrnul): Do not use BP_SYM in weak_alias.
22157         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22158         "bp-asm.h".
22159         (PARMS): Do not use macros from bp-asm.h.
22160         (STOP): Likewise.
22161         (strcspn): Do not use BP_SYM.
22162         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22163         "bp-asm.h".
22164         (PARMS): Do not use macros from bp-asm.h.
22165         (STR): Likewise.
22166         (STOP): Likewise.
22167         (strpbrk): Likewise.  Do not use BP_SYM.
22168         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22169         "bp-asm.h".
22170         (PARMS): Do not use macros from bp-asm.h.
22171         (STR): Likewise.
22172         (CHR): Likewise.
22173         (strrchr): Likewise.  Do not use BP_SYM.
22174         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22175         (PARMS): Do not use macros from bp-asm.h.
22176         (SKIP): Likewise.
22177         (strspn): Do not use BP_SYM.
22178         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22179         (PARMS): Do not use macros from bp-asm.h.
22180         (STR): Likewise.
22181         (DELIM): Likewise.
22182         (SAVE): Likewise.
22183         (FUNCTION): Likewise.  Do not use BP_SYM.
22184         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22185         aliases.
22186         (strtok_r): Likewise.
22187         (__GI___strtok_r): Likewise.
22188         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22189         (PARMS): Do not use macros from bp-asm.h.
22190         (S1): Likewise.
22191         (S2): Likewise.
22192         (SIZE): Likewise.
22193         (__mpn_sub_n): Do not use BP_SYM.
22194         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22195         "bp-asm.h".
22196         (PARMS): Do not use macros from bp-asm.h.
22197         (S1): Likewise.
22198         (SIZE): Likewise.
22199         (__mpn_submul_1): Do not use BP_SYM.
22200         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22201         <bp-sym.h>.
22202         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22203         and <bp-asm.h>.
22204         (PARMS): Do not use macros from bp-asm.h.
22205         (FLAGS): Likewise.
22206         (PTID): Likewise.
22207         (TLS): Likewise.
22208         (CTID): Likewise.
22209         (__clone): Do not use BP_SYM.
22210         (clone): Do not use BP_SYM in weak_alias.
22211         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22212         and <bp-asm.h>.
22213         (PARMS): Do not use macros from bp-asm.h.
22214         (LEN): Likewise.
22215         (__mmap64): Do not use BP_SYM.
22216         (mmap64): Do not use BP_SYM in weak_alias.
22217         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22218         <bp-sym.h> and <bp-asm.h>.
22219         (PARMS): Do not use macros from bp-asm.h.
22220         (__posix_fadvise64_l64): Do not use BP_SYM.
22221         * sysdeps/unix/sysv/linux/i386/semtimedop.S
22222         (PARMS): Do not use macros from bp-asm.h.
22223         (NSOPS): Likewise.
22224         (semtimedop): Do not use BP_SYM.
22225         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22226         and <bp-asm.h>.
22227
22228 2013-02-21  Allan McRae  <allan@archlinux.org>
22229
22230         * manual/message.texi (Charset conversion in gettext):
22231         Move @end statement to beginning of line.
22232
22233 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22234
22235         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22236         static.
22237         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22238         Likewise.
22239
22240         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22241         (denorm): Likewise.
22242         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22243         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22244
22245 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22246
22247         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22248         tail-call to the resolved function if pltexit isn't needed.
22249
22250 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22251
22252         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22253         or Y being zero as being unlikely.
22254         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22255         Likewise.
22256
22257 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
22258
22259         * manual/nss.texi (System Databases and Name Service Switch):
22260         Remove frobnicate @pxref.
22261
22262 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22263
22264         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22265         __attribute__ ((unused)) to __attribute__ ((__unused__)).
22266
22267 2013-02-20  Petr Machata  <pmachata@redhat.com>
22268
22269         * elf/elf.h (R_ARM_TARGET1): New macro.
22270         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22271         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22272         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22273         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22274         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22275         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22276         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22277         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22278         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22279         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22280         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22281         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22282         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22283         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22284         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22285         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22286         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22287         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22288         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22289         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22290         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22291         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22292         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22293         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22294         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22295         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22296         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22297         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22298         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22299         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22300         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22301         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22302         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22303         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22304         (R_ARM_THM_GOT_BREL12): Likewise.
22305         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22306         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22307         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22308         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22309         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22310         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22311         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22312         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22313         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22314
22315 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22316
22317         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22318         __attribute_used__ to __attribute__ ((unused)).
22319
22320 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22321
22322         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22323         powerpc mpa.c.
22324         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22325         comment formatting.
22326         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22327
22328 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22329
22330         [BZ #13550]
22331         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22332         Remove macro.
22333         (ENTER): Remove both macro definitions.
22334         (LEAVE): Likewise.
22335         (CHECK_BOUNDS_LOW): Likewise.
22336         (CHECK_BOUNDS_HIGH): Likewise.
22337         (CHECK_BOUNDS_BOTH): Likewise.
22338         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22339         (RETURN_BOUNDED_POINTER): Likewise.
22340         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22341         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22342         (POP_ERRNO_LOCATION_RETURN): Likewise.
22343         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22344         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22345         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22346         macros.
22347         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22348         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22349         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22350         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22351         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22352         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22353         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22354         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22355         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22356         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22357         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22358         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22359         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22360         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22361         removed macros.
22362         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22363         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22364         macros.
22365         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22366         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22367         * sysdeps/i386/i586/memset.S (memset): Likewise.
22368         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22369         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22370         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22371         macros.
22372         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22373         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22374         Change uses of L(2) to L(out).
22375         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22376         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22377         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22378         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22379         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22380         removed macros.
22381         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22382         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22383         macros.
22384         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22385         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22386         (RETURN): Do not use macro LEAVE.
22387         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22388         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22389         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22390         * sysdeps/i386/i686/memset.S (memset): Likewise.
22391         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22392         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22393         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22394         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22395         Likewise.
22396         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22397         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22398         L(1_2) and L(1_3) into L(1).
22399         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22400         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22401         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22402         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22403         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22404         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22405         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22406         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22407         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22408         macros.
22409         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22410         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22411         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22412         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22413         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22414         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22415         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22416         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22417         * sysdeps/i386/strcspn.S (strcspn): Likewise.
22418         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22419         * sysdeps/i386/strrchr.S (strrchr): Likewise.
22420         * sysdeps/i386/strspn.S (strspn): Likewise.
22421         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22422         conditional code.
22423         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22424         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22425         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22426         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
22427         L(1_3) into L(1_1).
22428         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22429         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22430         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22431         macros.
22432         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22433
22434 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
22435
22436         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22437         macro.
22438
22439 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22440
22441         * math/atest-exp.c (exp_mpn): Remove ROUND.
22442         * math/atest-exp2.c (exp_mpn): Likewise.
22443         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22444
22445         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22446         * stdlib/tst-tls-atexit-lib.c: Likewise.
22447         * stdlib/tst-tls-atexit.c: Likewise.
22448
22449 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22450
22451         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22452         and __attribute_alloc_size__.
22453
22454 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22455
22456         * include/programs/xmalloc.h: Change __attribute_alloc_size to
22457         __attribute_alloc_size__.
22458         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22459         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22460
22461 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22462
22463         * include/programs/xmalloc.h: New file.
22464         * catgets/gencat.c: Include it.
22465         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22466         * elf/pldd.c: Likewise.
22467         * iconv/iconv_charmap.c: Likewise.
22468         * iconv/iconvconfig.c: Likewise.
22469         * iconv/strtab.c: Likewise.
22470         * locale/programs/locale.c: Likewise.
22471         * locale/programs/localedef.h: Likewise.
22472         * locale/programs/simple-hash.c: Likewise.
22473         * nscd/nscd.h: Likewise.
22474         * nss/makedb.c: Likewise.
22475         * sysdeps/generic/ldconfig.h: Likewise.
22476
22477 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22478
22479         * Versions.def: Add GLIBC_2.18.
22480         * include/link.h (struct link_map): New member l_tls_dtor_count.
22481         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22482         (__call_tls_dtors): Likewise.
22483         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22484         __cxa_thread_atexit_impl.
22485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22486         Likewise.
22487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22488         Likewise.
22489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22490         Likewise.
22491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22492         Likewise.
22493         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22495         Likewise.
22496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22497         Likewise.
22498         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22499         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22500         Likewise.
22501         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22502         (tests): Add test case tst-tls-atexit.
22503         (modules-names): Add shared library for tst-tls-atexit.
22504         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22505         (GLIBC_PRIVATE): Add __call_tls_dtors.
22506         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22507         for libstdc++.
22508         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22509         * stdlib/tst-tls-atexit.c: New test case.
22510         * stdlib/tst-tls-atexit-lib.c: New test case.
22511
22512         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22513
22514         * elf/Versions (ld): Add _dl_find_dso_for_object.
22515         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22516         * elf/dl-open.c (_dl_find_dso_for_object): New function.
22517         (dl_open_worker): Use _dl_find_dso_for_object.
22518         * elf/dl-sym.c (do_sym): Likewise.
22519         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22520
22521 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22522
22523         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22524         Syntactic changes only.
22525         (_dl_runtime_profile): Do a tail-call to the resolved function.
22526
22527 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
22528
22529         [BZ #13550]
22530         * sysdeps/x86_64/bp-asm.h: Remove file.
22531         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22532         <bp-sym.h> and <bp-asm.h>.
22533         (__clone): Do not use BP_SYM.
22534         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22535         <bp-sym.h> and <bp-asm.h>.
22536         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22537         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22538         "bp-asm.h".
22539         (_setjmp): Do not use BP_SYM.
22540         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22541         "bp-asm.h".
22542         (setjmp): Do not use BP_SYM.
22543         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22544         libc_hidden_def.
22545         (mempcpy): Do not use BP_SYM in weak_alias.
22546         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22547         "bp-asm.h".
22548         (strchr): Do not use BP_SYM.
22549         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22550         "bp-asm.h".
22551         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22552         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22553         (_start): Do not use BP_SYM.
22554         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22555         "bp-asm.h".
22556         (strcat): Do not use BP_SYM.
22557         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22558         "bp-asm.h".
22559         (STRCMP): Do not use BP_SYM.
22560         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22561         "bp-asm.h".
22562         (STRCPY): Do not use BP_SYM.
22563         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22564         "bp-asm.h".
22565         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22566         "bp-asm.h".
22567         (FUNCTION): Do not use BP_SYM.
22568         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22569         weak_alias.
22570         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22571
22572 2013-02-17  Andreas Jaeger  <aj@suse.de>
22573
22574         * time/Versions: Sort entries.
22575         * string/Versions: Likewise.
22576         * resolv/Versions: Likewise.
22577         * posix/Versions: Likewise.
22578         * iconv/Versions: Likewise.
22579         * elf/Versions: Likewise.
22580         * wcsmbs/Versions: Likewise.
22581
22582 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22583
22584         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22585         loop termination condition.
22586
22587         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22588         variable to calculate EZ.
22589         (__sqr): Likewise.
22590
22591         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22592         the lower precision input.
22593
22594 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
22595
22596         [BZ #13550]
22597         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22598         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22599         (run-via-rtld-prefix): Do not handle %-bp tests.
22600         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22601         (all-object-suffixes): Remove .ob.
22602         (bppfx): Remove variable.
22603         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22604         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22605         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22606         [$(build-bounded) = yes] (libtype.ob): Likewise.
22607         * Makerules (elide-routines.ob): Remove variable.
22608         (do-tests-clean): Do not handle *-bp.out.
22609         (common-mostlyclean): Do not handle *-bp and *-bp.out.
22610         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22611         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22612         (tests): Do not include $(tests-bp.out).
22613         (xtests): Do not include $(xtests-bp.out).
22614         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22615         [$(build-bounded) = yes] ($(addprefix
22616         $(objpfx),$(binaries-bounded))): Remove rule.
22617         ($(objpfx)%-bp.out): Remove rule.
22618         * config.make.in (build-bounded): Remove variable.
22619         * crypt/Makefile [$(build-bounded) = yes]
22620         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22621         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22622         append to variable.
22623         [$(build-bounded) = yes] (install-lib): Likewise.
22624         [$(build-bounded) = yes] (generated): Likewise.
22625         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22626         Remove rule.
22627         * intl/Makefile [$(build-bounded) = yes]
22628         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22629         * math/Makefile [$(build-bounded) = yes]
22630         ($(tests:%=$(objpfx)%-bp): Likewise.
22631         * misc/Makefile [$(build-bounded) = yes]
22632         ($(objpfx)tst-tsearch-bp): Likewise.
22633         * nptl/Makeconfig (bounded-thread-library): Remove variable.
22634         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22635         Remove dependency.
22636         * string/Makefile (o-objects.ob): Remove variable.
22637         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22638         (CFLAGS-.ob): Remove variable.
22639         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22640         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22641         both definitions of variable.
22642         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22643         (ASFLAGS-.ob): Remove variable.
22644
22645 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
22646
22647         [BZ #13550]
22648         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22649         Remove __BOUNDED_POINTERS__ from condition.
22650         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22651         * string/bits/string2.h [!__NO_STRING_INLINES &&
22652         !__BOUNDED_POINTERS__]: Likewise.
22653         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22654         Likewise.
22655         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22656         Remove conditional code.
22657         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22658         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22659         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22660         condition.
22661
22662         [BZ #13550]
22663         * csu/libc-start.c: Do not include <bp-sym.h>.
22664         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22665         * elf/dl-open.c: Do not include <bp-sym.h>.
22666         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22667         * math/fegetenv.c: Do not include <bp-sym.h>.
22668         (fegetenv): Do not use BP_SYM in versioned symbols.
22669         * nptl/sysdeps/pthread/bits/libc-lockP.h
22670         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22671         <bp-sym.h>.
22672         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22673         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22674         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22675         (__pthread_mutex_destroy): Likewise.
22676         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22677         (__pthread_mutex_lock): Likewise.
22678         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22679         (__pthread_mutex_trylock): Likewise.
22680         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22681         (__pthread_mutex_unlock): Likewise.
22682         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22683         (__pthread_mutexattr_init): Likewise.
22684         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22685         (__pthread_mutexattr_destroy): Likewise.
22686         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22687         (__pthread_mutexattr_settype): Likewise.
22688         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22689         (__pthread_rwlock_init): Likewise.
22690         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22691         (__pthread_rwlock_destroy): Likewise.
22692         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22693         (__pthread_rwlock_rdlock): Likewise.
22694         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22695         (__pthread_rwlock_tryrdlock): Likewise.
22696         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22697         (__pthread_rwlock_wrlock): Likewise.
22698         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22699         (__pthread_rwlock_trywrlock): Likewise.
22700         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22701         (__pthread_rwlock_unlock): Likewise.
22702         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22703         (__pthread_key_create): Likewise.
22704         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22705         (__pthread_setspecific): Likewise.
22706         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22707         (__pthread_getspecific): Likewise.
22708         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22709         Likewise.
22710         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22711         (_pthread_cleanup_push_defer): Likewise.
22712         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22713         (_pthread_cleanup_pop_restore): Likewise.
22714         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22715         (pthread_setcancelstate): Likewise.
22716         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22717         <bp-sym.h>.
22718         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22719         (memchr): Do not use BP_SYM in weak_alias.
22720         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22721         (fegetenv): Do not use BP_SYM in versioned symbols.
22722         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22723         (fesetenv): Do not use BP_SYM in versioned symbols.
22724         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22725         (feupdateenv): Do not use BP_SYM in versioned symbols.
22726         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22727         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22728         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22729         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22730         (open64): Do not use BP_SYM in weak_alias.
22731         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22732         (fegetenv): Do not use BP_SYM in versioned symbols.
22733         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22734         (fesetenv): Do not use BP_SYM in versioned symbols.
22735         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22736         (feupdateenv): Do not use BP_SYM in versioned symbols.
22737         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22738         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22739         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22740         (feraiseexcept): Do not use BP_SYM in versioned symbols.
22741         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22742         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22743         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22744         <bp-sym.h>.
22745         (__libc_start_main): Do not use BP_SYM.
22746
22747 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22748
22749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22750         redundant return line.
22751         (norm): Likewise.
22752         (denorm): Likewise.
22753         (dbl_mp): Likewise.
22754         (sub_magnitudes): Likewise.
22755         (__add): Likewise.
22756         (__sub): Likewise.
22757         (__mul): Likewise.
22758         (__inv): Likewise.
22759         (__dvd): Likewise.
22760         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22761         (norm): Likewise.
22762         (denorm): Likewise.
22763         (dbl_mp): Likewise.
22764         (sub_magnitudes): Likewise.
22765         (__add): Likewise.
22766         (__sub): Likewise.
22767         (__mul): Likewise.
22768         (__inv): Likewise.
22769         (__dvd): Likewise.
22770
22771         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22772         instead of __mul.
22773         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22774         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22775         (cc32): Likewise.
22776
22777         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22778         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22779         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22780         of __mul for squares.
22781         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22782         function
22783         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22784         Likewise.
22785         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22786         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22787
22788 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
22789
22790         [BZ #13550]
22791         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22792         code.
22793         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22794         prototype or function definition.  Rename ubp_* variables and
22795         parameters.  Remove argv definitions conditional on
22796         [__BOUNDED_POINTERS__].
22797         * debug/backtrace.c (__backtrace): Do not use __unbounded.
22798         * elf/dl-runtime.c (_dl_fixup): Likewise.
22799         * include/set-hooks.h (RUN_HOOK): Likewise.
22800         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22801         definition.
22802         * string/strcpy.c (strcpy): Do not use __unbounded.
22803         * sysdeps/generic/frame.h (struct layout): Likewise.
22804         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22805         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22806         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22807         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22808         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22809         (__backtrace): Likewise.
22810         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22811         use __ptrvalue.
22812         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22813         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22814         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22815         Likewise.
22816         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22817         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22818         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22819         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22820         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22821         Do not use __unbounded.
22822         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22823         Rename __unboundedrlimits parameter to rlimits in prototype.
22824         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22825         Do not use __unbounded.
22826         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22827         not use __ptrvalue.
22828         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22829         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22830         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22831         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22832         __ptrvalue or __unbounded.
22833         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22834         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22835         use __unbounded.
22836         (__new_msgctl): Do not use __ptrvalue.
22837         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22838         __unbounded.
22839         (__libc_msgrcv): Do not use __ptrvalue.
22840         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22841         startup_info): Do not use __unbounded.
22842         (__libc_start_main): Likewise.  Rename ubp_* variables and
22843         parameters.  Remove argv definitions conditional on
22844         [__BOUNDED_POINTERS__].
22845         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22846         __ptrvalue.
22847         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22848         use __unbounded.
22849         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22850         or __ptrvalue.
22851         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22852         use __unbounded.
22853         (__new_shmctl): Do not use __ptrvalue.
22854         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22855         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22856         Likewise.
22857         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22858         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22859         (__libc_sigaction): Likewise.
22860         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22861         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22862         Likewise.
22863         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22864
22865 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
22866
22867         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22868
22869         * string/mempcpy.c: Implement by calling memcpy.
22870
22871 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22872
22873         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22874
22875         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22876         evaluation.
22877
22878         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22879         values in the mantissa.
22880
22881         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22882         minimize writes to Z.
22883         (sub_magnitudes): Simplify code a bit.
22884
22885 2013-02-12  Roland McGrath  <roland@hack.frob.com>
22886
22887         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22888         from the message.  The linker prefixes all warnings with that already.
22889
22890 2013-02-12  Andreas Schwab  <schwab@suse.de>
22891
22892         [BZ #15078]
22893         * posix/regexec.c (extend_buffers): Add parameter min_len.
22894         (check_matching): Pass minimum needed length.
22895         (clean_state_log_if_needed): Likewise.
22896         (get_subexp): Likewise.
22897         * posix/Makefile (tests): Add bug-regex34.
22898         (bug-regex34-ENV): Define.
22899         * posix/bug-regex34.c: New file.
22900
22901         [BZ #11561]
22902         * posix/regcomp.c (parse_bracket_exp): When looking up collating
22903         elements compare against the byte sequence of it, not its name.
22904         * posix/Makefile (tests): Add bug-regex35.
22905         (bug-regex35-ENV): Define.
22906         * posix/bug-regex35.c: New file.
22907
22908 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22909
22910         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
22911         comment.
22912         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22913         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22914         (CHECK_EOL): Add undef.
22915
22916 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
22917
22918         * bits/stdlib-bsearch.h: New file.
22919         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22920         * stdlib/stdlib.h: Likewise.
22921
22922 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22923
22924         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22925         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22926         declaration.
22927         * manual/search.texi (Array Search Function): Add missing const in
22928         lfind prototype.
22929         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22930         declaration to use rlim_t.
22931         (Basic Scheduling Functions): Remove erroneous const from
22932         sched_getparam prototype.  Remove erroneous * from
22933         sched_get_priority_max and sched_get_priority_min prototypes.
22934         (Resource Usage): Fix summary @comment on vtimes to refer to
22935         sys/vtimes.h rather than vtimes.h.
22936         Add missing *s in vtimes prototype.
22937         (Limits on Resources): Fix ulimit prototype to return long int.
22938         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22939         prototypes to use long int rather than double.
22940         (BSD Random): Fix initstate and setstate to use char *, not void *.
22941         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22942         prototype to make second argument 'struct aiocb64 *const[]'.
22943         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22944         (Status of AIO Operations): Remove erroneous const in aio_return and
22945         aio_return64 prototypes.
22946         (Synchronizing I/O): Fix sync prototype to return void.
22947         * manual/startup.texi (Suboptions): Remove an erroneous const in
22948         getsubopt prototype.
22949         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22950         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22951         use size_t rather than int.
22952         (Scanning All Users): Likewise for getpwent_r.
22953         (Setting Groups): Add missing const to setgroups prototype.
22954         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22955         * manual/socket.texi (Host Names): Fix gethostbyaddr and
22956         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22957         'const void *' rather than 'const char *'.
22958         (Host Address Functions): Likewise for inet_ntop.
22959         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22960         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22961         ssize_t for return value.
22962         (Sending Data): Likewise for send, sendto, sendmsg.
22963         (Socket Option Functions): Add a missing const in setsockopt prototype.
22964         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22965         use wchar_t for the argument.
22966         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22967         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22968         take no arguments.
22969         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22970         double/float/long double for second argument.
22971         Fix return types of significand, significandf, significandl.
22972         * manual/filesys.texi (Setting Permissions): Use mode_t for second
22973         argument in fchmod prototype.
22974         (File Owner): Use uid_t and gid_t in fchown prototype.
22975         (File Times): Add const to utimes, futimes, and lutimes prototypes.
22976         (Making Special Files): Use mode_t and dev_t in mknod prototype.
22977         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22978         use 'const struct dirent **' as argument types to CMP function pointer
22979         argument.
22980         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22981         (File Times): Fix summary magic @comment for struct utimbuf and utime
22982         to refer to utime.h, not time.h.
22983         * manual/string.texi (Argz Functions): Add missing const in
22984         argz_extract and argz_next prototypes.
22985         (Finding Tokens in a String): Likewise for basename.
22986         (String/Array Comparison): Fix typo in wcscasecmp prototype.
22987         (Copying and Concatenation): Fix typo in wmemmove prototype.
22988         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22989         (Signal Stack): Remove erroneous const in sigstack prototype.
22990         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22991         prototype.
22992         (Simple Calendar Time): Likewise for stime.
22993         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22994         prototype.
22995         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22996         say sys/sysctl.h instead.
22997         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22998         and vsyslog prototypes.
22999
23000 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23001
23002         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23003         Remove.
23004
23005 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23006
23007         * misc/sys/mman.h: Fix typo in mremap comment.
23008
23009 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23010
23011         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23012         the '\0' terminator.
23013
23014 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23015
23016         [BZ #13550]
23017         * debug/segfault.c: Don't include <bp-checks.h>.
23018         * sysdeps/generic/bp-checks.h: Remove file.
23019         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23020         (__GETDENTS): Don't use CHECK_N.
23021         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23022         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23023         (__getgroups): Don't use CHECK_N.
23024         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23025         (setgroups): Don't use CHECK_N.
23026         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23027         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23028         (__libc_msgrcv): Don't use CHECK_N.
23029         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23030         (__libc_msgsnd): Don't use CHECK_N.
23031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23032         <bp-checks.h>.
23033         (__libc_pread): Don't use CHECK_N.
23034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23035         include <bp-checks.h>.
23036         (__libc_pread64): Don't use CHECK_N.
23037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23038         include <bp-checks.h>.
23039         (__libc_pwrite): Don't use CHECK_N.
23040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23041         include <bp-checks.h>.
23042         (__libc_pwrite64): Don't use CHECK_N.
23043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23044         <bp-checks.h>.
23045         (__libc_pread): Don't use CHECK_N.
23046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23047         include <bp-checks.h>.
23048         (__libc_pread64): Don't use CHECK_N.
23049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23050         include <bp-checks.h>.
23051         (__libc_pwrite): Don't use CHECK_N.
23052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23053         include <bp-checks.h>.
23054         (__libc_pwrite64): Don't use CHECK_N.
23055         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23056         (do_pread): Don't use CHECK_N.
23057         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23058         (do_pread64): Don't use CHECK_N.
23059         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23060         (do_pwrite): Don't use CHECK_N.
23061         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23062         (do_pwrite64): Don't use CHECK_N.
23063         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23064         (__libc_readv): Don't use CHECK_N.
23065         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23066         (semop): Don't use CHECK_N.
23067         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23068         <bp-checks.h>.
23069         (semtimedop): Don't use CHECK_N.
23070         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23071         (__libc_pread): Don't use CHECK_N.
23072         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23073         <bp-checks.h>.
23074         (__libc_pread64): Don't use CHECK_N.
23075         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23076         <bp-checks.h>.
23077         (__libc_pwrite): Don't use CHECK_N.
23078         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23079         <bp-checks.h>.
23080         (__libc_pwrite64): Don't use CHECK_N.
23081         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23082         <bp-checks.h>.
23083         (__libc_msgrcv): Don't use CHECK_N.
23084         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23085         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
23086         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23087         (__libc_writev): Don't use CHECK_N.
23088
23089 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23090
23091         * string/strcpy.c: Removed unused variable.
23092
23093         * Makeconfig (+sysdep-includes): Define with := rather than =.
23094         Use an existing include/ subdir of each sysdeps dir before it.
23095
23096 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23097
23098         * nscd/connection.c (register_traced_file): Comment function.
23099         [HAVE_INOTIFY] (union __inev): Define.
23100         [HAVE_INOTIFY] (inotify_check_files): New function.
23101         [HAVE_INOTIFY] (clear_db_cache): Likewise.
23102         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23103         clear_db_cache.
23104         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23105
23106 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23107
23108         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23109         loaded if not already and that a failure is permanent.
23110
23111 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23112
23113         [BZ #15006]
23114         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23115         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23116
23117 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23118
23119         [BZ #13550]
23120         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23121         (CHECK_1_NULL_OK): Likewise.
23122         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23123         (__fxstat): Do not use CHECK_1.
23124         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23125         <bp-checks.h>.
23126         (___fxstat64): Do not use CHECK_1.
23127         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23128         <bp-checks.h>.
23129         (__fxstatat): Do not use CHECK_1.
23130         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23131         <bp-checks.h>.
23132         (__fxstatat64): Do not use CHECK_1.
23133         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23134         <bp-checks.h>.
23135         (__fxstat): Do not use CHECK_1.
23136         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23137         <bp-checks.h>.
23138         (__fxstatat): Do not use CHECK_1.
23139         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23140         <bp-checks.h>.
23141         (__getresgid): Do not use CHECK_1.
23142         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23143         <bp-checks.h>.
23144         (__getresuid): Do not use CHECK_1.
23145         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23146         <bp-checks.h>.
23147         (__lxstat): Do not use CHECK_1.
23148         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23149         <bp-checks.h>.
23150         (__old_msgctl): Do not use CHECK_1.
23151         (__new_msgctl): Likewise.
23152         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23153         <bp-checks.h>.
23154         (__new_setrlimit): Do not use CHECK_1.
23155         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23156         <bp-checks.h>.
23157         (__old_shmctl): Do not use CHECK_1.
23158         (__new_shmctl): Likewise.
23159         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23160         <bp-checks.h>.
23161         (__xstat): Do not use CHECK_1.
23162         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23163         (__lxstat): Do not use CHECK_1.
23164         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23165         <bp-checks.h>.
23166         (___lxstat64): Do not use CHECK_1.
23167         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23168         (__old_msgctl): Do not use CHECK_1.
23169         (__new_msgctl): Likewise.
23170         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23171         <bp-checks.h>.
23172         (__gettimeofday): Do not use CHECK_1.
23173         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23174         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23175         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23176         <bp-checks.h>.
23177         (__gettimeofday): Do not use CHECK_1.
23178         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23179         (__old_shmctl): Do not use CHECK_1_NULL_OK.
23180         (__new_shmctl): Do not use CHECK_1.
23181         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23182         <bp-checks.h>.
23183         (do_sigtimedwait): Do not use CHECK_1.
23184         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23185         <bp-checks.h>.
23186         (do_sigwaitinfo): Do not use CHECK_1.
23187         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23188         <bp-checks.h>.
23189         (msgctl): Do not use CHECK_1.
23190         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23191         <bp-checks.h>.
23192         (shmctl): Do not use CHECK_1.
23193         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23194         (ustat): Do not use CHECK_1.
23195         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23196         <bp-checks.h>.
23197         (__fxstat): Do not use CHECK_1.
23198         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23199         <bp-checks.h>.
23200         (__fxstatat): Do not use CHECK_1.
23201         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23202         <bp-checks.h>.
23203         (__lxstat): Do not use CHECK_1.
23204         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23205         <bp-checks.h>.
23206         (__xstat): Do not use CHECK_1.
23207         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23208         (__xstat): Do not use CHECK_1.
23209         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23210         (___xstat64): Do not use CHECK_1.
23211
23212         [BZ #13550]
23213         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23214         definitions.
23215         (CHECK_BOUNDS_HIGH): Likewise.
23216         * string/strcpy.c: Do not include <bp-checks.h>.
23217         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23218
23219 2013-02-07  Roland McGrath  <roland@hack.frob.com>
23220
23221         * nscd/nscd-client.h (__nscd_drop_map_ref):
23222         Add __attribute__ ((unused)).
23223         * nis/nss-nisplus.h (niserr2nss): Likewise.
23224
23225         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23226         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23227
23228         * csu/libc-tls.c (init_static_tls, init_slotinfo):
23229         Remove inline keyword.
23230         * include/rounding-mode.h (round_away): Likewise.
23231         * libio/wfileops.c (adjust_wide_data): Likewise.
23232         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23233         (__m128i_strloadu_tolower): Likewise.
23234         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23235         (__m128i_strloadu_tolower): Likewise.
23236         * time/mktime.c (ydhms_diff): Likewise.
23237         * locale/elem-hash.h (elem_hash): Likewise.
23238         * locale/setlocale.c (setdata): Likewise.
23239         * posix/regex_internal.h (re_string_char_size_at): Likewise.
23240         (re_string_wchar_at): Likewise.
23241         (bitset_not, bitset_merge, bitset_mask): Likewise.
23242         [!(__GNUC__ > 3)] (inline): Remove macro.
23243         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23244         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23245         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23246         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23247         * string/memcmp.c (memcmp_bytes): Likewise.
23248         * locale/programs/locarchive.c (compute_hashval): Likewise.
23249         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23250         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23251         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23252         * nss/getent.c (print_rpc, print_protocols): Likewise.
23253         (print_passwd, print_group, print_aliases): Likewise.
23254         * nis/nss-nisplus.h (niserr2nss): Likewise.
23255         * nscd/connections.c (restart_p): Likewise.
23256         Change return type to bool.
23257
23258 2013-02-05  Roland McGrath  <roland@hack.frob.com>
23259
23260         * Makeconfig (all-Depend-files): Add existing
23261         $(sorted-subdirs:=/Depend) files.
23262         (all-subdirs): Remove nss.
23263         * sysdeps/unix/inet/Subdirs: Add it here instead.
23264         * hesiod/Depend: New file.
23265
23266         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23267         instead of calling alloca.
23268
23269         * io/lseek.c (__lseek): Rename to __libc_lseek.
23270         Define __lseek as an alias.
23271
23272         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23273
23274 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
23275
23276         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23277         else clause and remove check for non-standard endianness.
23278
23279 2013-02-04  David S. Miller  <davem@davemloft.net>
23280
23281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23282
23283 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23284
23285         [BZ #13550]
23286         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23287         (__ubp_memchr): Remove prototype.
23288         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23289         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23290         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23291         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23292         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23293         Remove alias.
23294         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23295         (__ubp_memchr): Likewise.
23296         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23297         (__ubp_memchr): Likewise.
23298         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23299         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23300         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23301         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23302         CHECK_STRING.
23303         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23304         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23305         (__getcwd): Do not use CHECK_STRING.
23306         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23307         <bp-checks.h>.
23308         (__real_chown): Do not use CHECK_STRING.
23309         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23310         <bp-checks.h>.
23311         (fchownat): Do not use CHECK_STRING.
23312         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23313         CHECK_STRING.
23314         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23315         <bp-checks.h>.
23316         (__lchown): Do not use CHECK_STRING.
23317         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23318         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23319         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23320         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23322         include <bp-checks.h>.
23323         (truncate64): Do not use CHECK_STRING.
23324         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23325         <bp-checks.h>.
23326         (__real_chown): Do not use CHECK_STRING.
23327         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23328         <bp-checks.h>.
23329         (__lchown): Do not use CHECK_STRING.
23330         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23331         <bp-checks.h>.
23332         (__chown): Do not use CHECK_STRING.
23333         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23334         <bp-checks.h>.
23335         (truncate64): Do not use CHECK_STRING.
23336         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23337         Likewise.
23338         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23339         (__xmknod): Do not use CHECK_STRING.
23340         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23341         <bp-checks.h>.
23342         (__xmknodat): Do not use CHECK_STRING.
23343         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23344         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23345
23346 2013-02-04  Andreas Schwab  <schwab@suse.de>
23347
23348         [BZ #14142]
23349         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23350         * include/netdb.h: Likewise for h_errno.
23351         * elf/tst-stackguard1.c: Include <tls.h>.
23352
23353 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23354
23355         * elf/link.h (struct link_map): Extend the l_addr comment.
23356         * include/link.h (struct link_map): Likewise.
23357
23358 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23359
23360         [BZ #13550]
23361         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23362         (BOUNDED_1): Remove macro.
23363         * debug/backtrace.c: Don't include <bp-checks.h>.
23364         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23365         (__backtrace): Likewise.
23366         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23367         <bp-checks.h>.
23368         (__backtrace): Don't use BOUNDED_1.
23369         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23370         <bp-checks.h>.
23371         (__backtrace): Don't use BOUNDED_1.
23372         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23373         (__backtrace): Don't use BOUNDED_1.
23374         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23375         (shmat): Don't use BOUNDED_N.
23376
23377 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23378
23379         [BZ #13550]
23380         * sysdeps/generic/bp-start.h: Remove file.
23381         * csu/libc-start.c: Don't include <bp-start.h>.
23382         (LIBC_START_MAIN): Set up __environ directly instead of using
23383         INIT_ARGV_and_ENVIRON.
23384         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23385         <bp-start.h>.
23386
23387         [BZ #13550]
23388         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23389         definitions.
23390         (CHECK_FCNTL): Likewise.
23391         (CHECK_N_PAGES): Likewise.
23392
23393         [BZ #13550]
23394         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23395         definitions.
23396         (CHECK_SIGSET_NULL_OK): Likewise.
23397         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23398         <bp-checks.h>.
23399         (sigpending): Don't use CHECK_SIGSET.
23400         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23401         <bp-checks.h>.
23402         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23403         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23404         <bp-checks.h>.
23405         (do_sigsuspend): Don't use CHECK_SIGSET.
23406         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23407         use CHECK_SIGSET.
23408         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23409         (do_sigwait): Don't use CHECK_SIGSET.
23410         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23411         use CHECK_SIGSET.
23412         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23413         include <bp-checks.h>.
23414         (sigpending): Don't use CHECK_SIGSET.
23415         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23416         include <bp-checks.h>.
23417         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23418         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23419         <bp-checks.h>.
23420         (sigpending): Don't use CHECK_SIGSET.
23421         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23422         <bp-checks.h>.
23423         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23424
23425         [BZ #13550]
23426         * sysdeps/generic/bp-semctl.h: Remove file.
23427         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23428         <bp-checks.h> and <bp-semctl.h>.
23429         (__old_semctl): Don't use CHECK_SEMCTL.
23430         (__new_semctl): Likewise.
23431         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23432         and <bp-semctl.h>.
23433         (__old_semctl): Don't use CHECK_SEMCTL.
23434         (__new_semctl): Likewise.
23435         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23436         <bp-checks.h> and <bp-semctl.h>.
23437         (__old_semctl): Don't use CHECK_SEMCTL.
23438         (__new_semctl): Likewise.
23439         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23440         <bp-checks.h> and <bp-semctl.h>.
23441         (semctl): Don't use CHECK_SEMCTL.
23442
23443         [BZ #13550]
23444         * Makerules (elide-bp-thunks): Remove variable.
23445         (elide-routines.oS): Don't use $(elide-bp-thunks).
23446         (elide-routines.os): Likewise.
23447         (elide-routines.o): Likewise.
23448         (elide-routines.op): Likewise.
23449         (elide-routines.og): Likewise.
23450         (objects): Don't use $(bp-thunks).
23451         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23452         include.
23453         (common-generated): Do not add s-proto-bp.d.
23454         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23455         (int): Likewise.
23456         (typ): Likewise.
23457         Do not generate makefile rules for bounded-pointer thunks.
23458         * sysdeps/generic/bp-thunks.h: Remove file.
23459         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23460         * sysdeps/unix/s-proto-bp.S: Likewise.
23461
23462         [BZ #15062]
23463         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23464         parts of result separately when argument is not close to line from
23465         -i to i and one part of argument is small.
23466         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23467         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23468         * math/libm-test.inc (cacos_test): Add more tests.
23469         (casin_test): Likewise.
23470         (casinh_test): Likewise.
23471         * sysdeps/i386/fpu/libm-test-ulps: Update.
23472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23473
23474 2013-01-31  David S. Miller  <davem@davemloft.net>
23475
23476         * po/de.po: Update from translation team.
23477
23478 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
23479
23480         * time/tzfile.c: Include stdint.h for SIZE_MAX.
23481
23482 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
23483
23484         * configure.in (_AC_PROG_CC_C89): New definition.
23485         * configure: Regenerate.
23486
23487         * configure.in (AC_PROG_CPP): New definition.
23488         * configure: Regenerate.
23489
23490 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23491
23492         * debug/tst-backtrace.h: New file.
23493         * debug/tst-backtrace2.c: Include tst-backtrace.h.
23494         (ret): Remove variable.
23495         (x): Likewise.
23496         (FAIL): Remove macro.
23497         (NO_INLINE): Likewise.
23498         (fn1): Use match function instead of strstr.
23499         * debug/tst-backtrace3.c: Include tst-backtrace.h.
23500         (ret): Remove variable.
23501         (x): Likewise.
23502         (FAIL): Remove macro.
23503         (NO_INLINE): Likewise.
23504         (fn): Use match function instead of strstr.
23505         * debug/tst-backtrace4.c: Include tst-backtrace.h.
23506         (ret): Remove variable.
23507         (x): Likewise.
23508         (FAIL): Remove macro.
23509         (NO_INLINE): Likewise.
23510         (handle_signal): Use match function instead of strstr.
23511         * debug/tst-backtrace5.c: Include tst-backtrace.h.
23512         (ret): Remove variable.
23513         (x): Likewise.
23514         (FAIL): Remove macro.
23515         (NO_INLINE): Likewise.
23516         (handle_signal): Use match function instead of strstr.
23517
23518 2013-01-23  Roland McGrath  <roland@hack.frob.com>
23519
23520         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23521
23522 2013-01-23  David S. Miller  <davem@davemloft.net>
23523
23524         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23525         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23526         argument of CAS if possible.
23527         * sysdeps/sparc/sparc64/bits/atomic.h
23528         (__arch_compare_and_exchange_val_32_acq): Likewise.
23529         (__arch_compare_and_exchange_val_64_acq): Likewise.
23530
23531 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
23532
23533         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23534         * sysdeps/posix/ulimit.c: ... this.
23535         Include <limits.h>.
23536         * sysdeps/unix/bsd/ulimit.c: Remove file.
23537
23538 2013-01-23  Adam Conrad  <adconrad@0c3.net>
23539
23540         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23541         (LDFLAGS-tst-array5): Likewise.
23542
23543 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23544
23545         [BZ #15036]
23546         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23547         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23548         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23549         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23550
23551 2013-01-21  David S. Miller  <davem@davemloft.net>
23552
23553         * sysdeps/sparc/backtrace.c: New file.
23554         * sysdeps/sparc/sparc32/backtrace.h: New file.
23555         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23556         * sysdeps/sparc/sparc64/backtrace.h: New file.
23557         * sysdeps/sparc/sparc64/backtrace.c: Delete.
23558         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23559         -funwind-tables.
23560
23561 2013-01-21  Andreas Schwab  <schwab@suse.de>
23562
23563         [BZ #15020]
23564         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23565         closed its stdout.
23566
23567 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
23568
23569         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23570         "mpa2.h".
23571         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23572
23573 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
23574             Mark Mitchell  <mark@codesourcery.com>
23575             Tom de Vries  <tom@codesourcery.com>
23576             Paul Pluzhnikov  <ppluzhnikov@google.com>
23577
23578         * debug/tst-backtrace2.c: New file.
23579         * debug/tst-backtrace3.c: Likewise.
23580         * debug/tst-backtrace4.c: Likewise.
23581         * debug/tst-backtrace5.c: Likewise.
23582         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23583         (CFLAGS-tst-backtrace3.c): Likewise.
23584         (CFLAGS-tst-backtrace4.c): Likewise.
23585         (CFLAGS-tst-backtrace5.c): Likewise.
23586         (LDFLAGS-tst-backtrace2): Likewise.
23587         (LDFLAGS-tst-backtrace3): Likewise.
23588         (LDFLAGS-tst-backtrace4): Likewise.
23589         (LDFLAGS-tst-backtrace5): Likewise.
23590         (tests): Add new tests tst-backtrace2, tst-backtrace3,
23591         tst-backtrace4 and tst-backtrace5.
23592
23593 2013-01-18  Anton Blanchard  <anton@samba.org>
23594             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23595
23596         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23597         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23598         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23599         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23601         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23602         "+r" and remove output regs list as redundant.  Add explicit inline
23603         asm to specify register of return val to work around compiler codegen
23604         bug.  Remove (int) cast on return value.  Add return type parameter to
23605         use in macro so that this macro does not truncate return value for
23606         64-bit values.
23607         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23608         pass to INTERNAL_VSYSCALL_NCS.
23609         (INLINE_VSYSCALL): Add 'long int' as return type to
23610         INTERNAL_VSYSCALL_NCS macro invocation.
23611         (INTERNAL_VSYSCALL): Add 'long int' as return type to
23612         INTERNAL_VSYSCALL_NCS macro invocation.
23613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23614
23615 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23616
23617         [BZ #14496]
23618         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23619         Fix application of SIMD FP exception mask.
23620
23621         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23622         mp_no from a power of two.
23623         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23624         __mpexp_twomm1.  Use __pow_mp.
23625
23626         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23627         multiplication.
23628
23629 2013-01-17  David S. Miller  <davem@davemloft.net>
23630
23631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23632
23633 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23634
23635         [BZ #15023]
23636         * include/complex.h: Condition contents on [!_COMPLEX_H].
23637         (__kernel_casinhf): New prototype.
23638         (__kernel_casinh): Likewise.
23639         (__kernel_casinhl): Likewise.
23640         * math/Makefile (libm_calls): Add k_casinh.
23641         * math/k_casinh.c: New file.
23642         * math/k_casinhf.c: Likewise.
23643         * math/k_casinhl.c: Likewise.
23644         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23645         finite nonzero arguments.
23646         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23647         finite nonzero arguments.
23648         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23649         finite nonzero arguments.
23650         * math/s_casinh.c: Do not include <float.h>.
23651         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23652         * math/s_casinhf.c: Do not include <float.h>.
23653         (__casinhf): Move code for finite nonzero arguments to
23654         k_casinhf.c.
23655         * math/s_casinhl.c: Do not include <float.h>.
23656         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23657         redefine.
23658         (__casinhl): Move code for finite nonzero arguments to
23659         k_casinhl.c.
23660         * math/libm-test.inc (cacos_test): Add more tests.
23661         * sysdeps/i386/fpu/libm-test-ulps: Update.
23662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23663
23664 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
23665
23666         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23667         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23668         [!HAVE_MREMAP]: Remove [defined linux] case.
23669         * malloc/arena.c: Do not include <malloc-sysdep.h>.
23670
23671 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23672
23673         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23674
23675 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
23676
23677         * elf/elf.h (R_386_SIZE32): New relocation.
23678         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23679         R_386_SIZE32.
23680         (elf_machine_rela): Likewise.
23681         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23682         R_X86_64_SIZE64 and R_X86_64_SIZE32.
23683
23684 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23685
23686         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23687         (FP_FAST_FMA): Do not define.
23688         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23689         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23690         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23691         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23692         !_SOFT_FLOAT]: Likewise.
23693         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23694         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23695         value.
23696         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23697         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23698         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23699         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23700         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23701         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23702         file.
23703
23704 2013-01-16  Andreas Schwab  <schwab@suse.de>
23705
23706         [BZ #14327]
23707         * include/stdlib.h (__mktemp): Add declaration.
23708         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23709         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23710
23711 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23712
23713         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23714         definitions.
23715         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23716         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23717         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23718         definitions here.
23719         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23720         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23721         definitions.
23722         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23723         and ONE.
23724         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23725         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23726         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23727         definitions.
23728         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23729         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23730         definitions.
23731         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23732
23733         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23734
23735 2013-01-15  David S. Miller  <davem@davemloft.net>
23736
23737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23738         trunc{,f} to libm-sysdep_routes.
23739         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23741         file.
23742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23744         file.
23745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23746         file.
23747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23749         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23750         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23751         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23752         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23753         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23754         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23755
23756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23757         nearbyint{,f} to libm-sysdep_routes.
23758         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23760         New file.
23761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23762         file.
23763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23764         New file.
23765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23766         file.
23767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23769         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23770         file.
23771         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23772         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23773         file.
23774         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23775         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23776         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23777
23778         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23779         libc_feholdexcept and libc_fesetenv.
23780
23781 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
23782
23783         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23784
23785 2013-01-14  David S. Miller  <davem@davemloft.net>
23786
23787         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23788         (SPARC_ASM_VIS2_IFUNC): Likewise.
23789         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23791         use of 'siam' instruction.
23792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23793         Likewise.
23794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23795         Likewise.
23796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23797         Likewise.
23798         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23799         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23800         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23801         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23803         file.
23804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23805         file.
23806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23807         file.
23808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23809         file.
23810         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23811         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23812         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23813         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23815         new VIS2 routines.
23816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23819         Likewise.
23820         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23821         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23822         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23823         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23825         routines to libm-sysdep_routines.
23826         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23827
23828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23829         fdim/fdimf to libm-sysdep_routines.
23830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23831         file.
23832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23834         file.
23835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23838         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23839         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23840         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23841         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23842
23843 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23844
23845         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23846         to optimize copies.
23847
23848         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23849         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23850         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23851
23852         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23853         local variable MPTWO.
23854         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23855         Likewise.
23856
23857 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23858
23859         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23860         GLOB_NOESCAPE.
23861
23862 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23863
23864         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23865
23866 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23867
23868         * manual/pattern.texi (glob_t): Document gl_flags.
23869         (glob64_t): Likewise.
23870
23871 2013-01-11  David S. Miller  <davem@davemloft.net>
23872
23873         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23874         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23875         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
23876         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23877         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23878         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23879         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23880         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23881         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23882         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23883         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23884         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23885         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23886
23887         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23888         sparc V9 rather than using V8 code.
23889         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23890         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23891
23892         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23893         Move to...
23894         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23895         Here.
23896
23897 2013-01-11  Roland McGrath  <roland@hack.frob.com>
23898
23899         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23900         not in the main loop.
23901         * configure: Regenerated.
23902
23903 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
23904
23905         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23906         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23907         to just #else.
23908         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
23909         [!__GLIBC_HAVE_LONG_LONG] case.
23910         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23911         condition to just #else.
23912         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23913         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23914         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23915         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23916         unconditional.
23917         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23918         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23919         #elif condition to just #else.
23920         * sysdeps/unix/sysv/linux/sys/sysmacros.h
23921         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23922         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23923         #elif condition to just #else.
23924
23925 2013-01-11  Steve Ellcey  <sellcey@mips.com>
23926
23927         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23928         (EF_MIPS_ARCH_64): Fix value.
23929         (EF_MIPS_ARCH_32R2): New.
23930         (EF_MIPS_ARCH_64R2): New.
23931
23932 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
23933
23934         * Makeconfig (+link-pie-before-libc): New.
23935         (+link-pie-after-libc): Likewise.
23936         (+link-pie-tests): Likewise.
23937         (+link-pie): Rewritten.
23938         (link-before-libc): Remove $(config-LDFLAGS).
23939         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23940         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23941         (config-LDFLAGS): Renamed to ...
23942         (rtld-LDFLAGS): This.
23943         (rtld-tests-LDFLAGS): New macro.
23944         (link-libc-rpath-link): Likewise.
23945         (link-libc-tests-rpath-link): Likewise.
23946         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23947         (link-libc): Prepand $(link-libc-rpath-link).
23948         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23949         (test-program-prefix): New macro.
23950         (test-via-rtld-prefix): Likewise.
23951         (test-program-cmd): Likewise.
23952         (host-test-program-cmd): Likewise.
23953         * Makefile ($(common-objpfx)testrun.sh): Replace
23954         $(run-program-prefix) with $(test-program-prefix).
23955         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23956         $(rtld-LDFLAGS).
23957         ($(common-objpfx)shlib.lds): Likewise.
23958         (build-module-helper): Likewise.
23959         ($(common-objpfx)format.lds): Likewise.
23960         * Rules (binaries-pie-tests): New.
23961         (binaries-pie-notests): Likewise.
23962         (binaries-pie): Rewritten.
23963         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23964         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23965         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23966         (make-test-out): Replace $(host-built-program-cmd) with
23967         $(host-test-program-cmd).
23968         * config.make.in (build-hardcoded-path-in-tests): New variable.
23969         * configure.in (--enable-hardcoded-path-in-tests): New configure
23970         option.
23971         (hardcoded_path_in_tests): New AC_SUBST.
23972         * configure: Regenerated.
23973         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23974         $(built-program-cmd) with $(test-program-cmd).
23975         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23976         (test_program_cmd): This.
23977         * elf/Makefile ($(objpfx)order.out): Run test with
23978         $(test-program-prefix).
23979         ($(objpfx)order2.out): Likewise.
23980         ($(objpfx)tst-initorder.out): Likewise.
23981         ($(objpfx)tst-initorder2.out): Likewise.
23982         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23983         $(test-program-cmd).
23984         ($(objpfx)tst-array1-static.out): Likewise.
23985         ($(objpfx)tst-array2.out): Likewise.
23986         ($(objpfx)tst-array3.out): Likewise.
23987         ($(objpfx)tst-array4.out): Likewise.
23988         ($(objpfx)tst-array5.out): Likewise.
23989         ($(objpfx)tst-array5-static.out): Likewise.
23990         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23991         $(test-program-cmd).
23992         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23993         $(run-program-prefix) with $(test-program-prefix).
23994         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23995         (test_program_prefix): This.
23996         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23997         $(run-program-prefix) with $(test-program-prefix).
23998         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23999         (test_program_prefix): This.
24000         * iconvdata/tst-tables.sh: Likewise.
24001         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24002         $(run-program-prefix) with $(test-program-prefix).
24003         ($(objpfx)tst-translit.out): Likewise.
24004         ($(objpfx)tst-gettext2.out): Likewise.
24005         ($(objpfx)tst-gettext4.out): Likewise.
24006         ($(objpfx)tst-gettext6.out): Likewise.
24007         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24008         (test_program_prefix): This.
24009         * intl/tst-gettext2.sh: Likewise.
24010         * intl/tst-gettext4.sh  Likewise.
24011         * intl/tst-gettext6.sh: Likewise.
24012         * intl/tst-translit.sh: Likewise.
24013         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24014         with $(test-program-cmd).
24015         * libio/Makefile ($(objpfx)test-freopen.out): Replace
24016         $(run-program-prefix) with $(test-program-prefix).
24017         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24018         (test_program_prefix): This.
24019         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24020         $(run-program-prefix) with $(test-program-prefix).
24021         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24022         (test_program_prefix): This.
24023         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24024         * posix/Makefile ($(objpfx)globtest.out): Replace
24025         $(run-via-rtld-prefix) and $(test-wrapper) with
24026         $(test-program-prefix) and $(test-via-rtld-prefix).
24027         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24028         $(test-program-prefix).
24029         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24030         $(host-test-program-cmd).
24031         (tst-spawn-ARGS): Likewise.
24032         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24033         $(test-program-prefix).
24034         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24035         (test_via_rtld_prefix): This.
24036         (test_wrapper): Renamed to ...
24037         (test_program_prefix): This.
24038         (run_program_prefix): Replaced by test_program_prefix.
24039         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24040         (test_program_prefix): This.
24041         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24042         with $(host-test-program-cmd).
24043         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24044         $(run-program-prefix) with $(test-program-prefix).
24045         ($(objpfx)tst-printf.out): Likewise.
24046         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24047         $(test-program-cmd).
24048         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24049         (test_program_prefix): This.
24050         * stdio-common/tst-unbputc.sh: Likewise.
24051         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24052         $(run-program-prefix) with $(test-program-prefix).
24053         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24054         (test_program_prefix): This.
24055         * string/Makefile ($(objpfx)tst-svc.out):  Replace
24056         $(built-program-cmd) with $(test-program-cmd).
24057
24058 2013-01-11  Andreas Jaeger  <aj@suse.de>
24059
24060         [BZ #15003]
24061         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24062         value. Sync with Linux 3.7.
24063
24064 2013-01-10  David S. Miller  <davem@davemloft.net>
24065
24066         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24067         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24068         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24069
24070 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24071
24072         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24073         never set.
24074         * configure: Regenerated.
24075
24076 2013-01-10  David S. Miller  <davem@davemloft.net>
24077
24078         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24079         sparc V9 rather than using V8 code.
24080         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24081         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24082
24083 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24084
24085         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24086         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24087         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24088         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24089         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24090         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24091         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24092         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24093         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24094         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24095         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24096         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24097         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24098         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24099         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24100         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24101         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24102         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24103         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24104         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24105         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24106         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24107         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24108         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24109         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24110         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24111         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24112
24113 2013-01-10  David S. Miller  <davem@davemloft.net>
24114
24115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24116
24117 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24118
24119         * posix/Makefile (tests-static): New variable.
24120         (tests): Add $(tests-static).
24121         (tst-exec-static-ARGS): New variable.
24122         (tst-spawn-static-ARGS): Likewise.
24123         * posix/tst-exec-static.c: New file.
24124         * posix/tst-spawn-static.c: Likewise.
24125         * posix/tst-exec.c: Support run directly.
24126         * posix/tst-spawn.c: Likewise.
24127
24128 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
24129
24130         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24131         long.
24132         * math/bits/mathcalls.h (llrint): Likewise.
24133         (llround): Likewise.
24134         * stdlib/stdlib.h (struct drand48_data): Likewise.
24135         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24136         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24137         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24138         Likewise.
24139         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24140         Likewise.
24141         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24142         (elf_greg_t): Likewise.
24143         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24144         (__jmp_buf): Likewise.
24145         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24146         definitions.
24147         (llrint): Likewise, for all definitions.
24148         (llrintl): Likewise.
24149
24150         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24151         Remove [__GNUC__] condition.
24152         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24153         condition to just [__USE_ISOC99].
24154         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24155
24156 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24157
24158         [BZ #14200]
24159         * sysdeps/unix/sysv/linux/x86/bits/environments.h
24160         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24161         defined.
24162         (_POSIX_V6_ILP32_OFF32): Likewise.
24163         (_XBS5_ILP32_OFF32): Likewise.
24164         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24165         (__ILP32_OFFBIG_LDFLAGS): Likewise.
24166
24167 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24168
24169         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24170
24171         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24172         doubles __mpexp_twomm1.  Adjust usage.
24173         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24174         Remove.
24175
24176 2013-01-10  Andreas Schwab  <schwab@suse.de>
24177
24178         [BZ #14964]
24179         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24180         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24181
24182 2013-01-09  David S. Miller  <davem@davemloft.net>
24183
24184         [BZ #15003]
24185         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24186         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24187         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24188         (TCP_FASTOPEN): Define.
24189         (tcp_repair_opt): New structure.
24190         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24191         enum values.
24192         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24193         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24194         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24195         (tcp_cookie_transactions): New structure.
24196
24197 2013-01-09  Anton Blanchard  <anton@samba.org>
24198
24199         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24200         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24201         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24202         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24203
24204 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
24205
24206         * include/features.h (__USE_ANSI): Remove.
24207
24208 2013-01-09  Roland McGrath  <roland@hack.frob.com>
24209
24210         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24211
24212         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24213
24214 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24215
24216         * sysdeps/s390/fpu/libm-test-ulps: Update.
24217
24218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24219
24220         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24221         (__acr): Likewise.
24222         (__cpy): Likewise.
24223         (norm): Likewise.
24224         (denorm): Likewise.
24225         (__mp_dbl): Likewise.
24226         (__dbl_mp): Likewise.
24227         (add_magnitudes): Likewise.
24228         (sub_magnitudes): Likewise.
24229         (__add): Likewise.
24230         (__sub): Likewise.
24231         (__mul): Likewise.
24232         (__inv): Likewise.
24233         (__dvd): Likewise.
24234         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24235         (__acr): Likewise.
24236         (__cpy): Likewise.
24237         (norm): Likewise.
24238         (denorm): Likewise.
24239         (__mp_dbl): Likewise.
24240         (__dbl_mp): Likewise.
24241         (add_magnitudes): Likewise.
24242         (sub_magnitudes): Likewise.
24243         (__add): Likewise.
24244         (__sub): Likewise.
24245         (__mul): Likewise.
24246         (__inv): Likewise.
24247         (__dvd): Likewise.
24248         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24249         (__acr): Likewise.
24250         (__cpy): Likewise.
24251         (norm): Likewise.
24252         (denorm): Likewise.
24253         (__mp_dbl): Likewise.
24254         (__dbl_mp): Likewise.
24255         (add_magnitudes): Likewise.
24256         (sub_magnitudes): Likewise.
24257         (__add): Likewise.
24258         (__sub): Likewise.
24259         (__mul): Likewise.
24260         (__inv): Likewise.
24261         (__dvd): Likewise.
24262
24263 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
24264
24265         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24266         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24267         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24268         2 && __USE_EXTERN_INLINES]: Likewise.
24269
24270 2013-01-08  Andreas Jaeger  <aj@suse.de>
24271
24272         [BZ# 14985]
24273         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24274         Remove.
24275         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24276         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24277
24278 2013-01-07  Anton Blanchard  <anton@samba.org>
24279
24280         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24281         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24282         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24283         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24284         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24285         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24286         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24287         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24288         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24289         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24290         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24291         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24292         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24293         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24294         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24295         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24296         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24297         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24298         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24299         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24300         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24301         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24302         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24303         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24304         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24305         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24306         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24307         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24308         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24309         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24310         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24311         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24312         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24313         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24314         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24315         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24316         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24317         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24318         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24319         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24320         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24321         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24322         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24323
24324 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24325
24326         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24327         (__MALLOC_PMT): Likewise.
24328         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24329         [__GNUC__], only on [_LIBC].
24330         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24331         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24332         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24333         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24334         forward declaration.
24335         (realloc_hook_ini): Likewise.
24336         (memalign_hook_ini): Likewise.
24337         (__libc_memalign): Do not use __MALLOC_PMT in variable
24338         declaration.
24339         (__libc_valloc): Likewise.
24340         (__libc_pvalloc): Likewise.
24341         (__libc_calloc): Likewise.
24342         (__posix_memalign): Likewise.
24343
24344         [BZ #14996]
24345         * math/s_casinh.c: Include <float.h>.
24346         (__casinh): Do not do computation with squaring and square root
24347         for large arguments.
24348         * math/s_casinhf.c: Include <float.h>.
24349         (__casinhf): Do not do computation with squaring and square root
24350         for large arguments.
24351         * math/s_casinhl.c: Include <float.h>.
24352         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24353         (__casinhl): Do not do computation with squaring and square root
24354         for large arguments.
24355         * math/libm-test.inc (casin_test): Add more tests.
24356         (casinh_test): Likewise.
24357         * sysdeps/i386/fpu/libm-test-ulps: Update.
24358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24359
24360 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24361
24362         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24363         (__x86_64_raw_data_cache_size): Likewise.
24364         (__x86_64_data_cache_size_half): Likewise.
24365         (__x86_64_raw_data_cache_size_half): Likewise.
24366         (__x86_64_shared_cache_size): Likewise.
24367         (__x86_64_raw_shared_cache_size): Likewise.
24368         (__x86_64_shared_cache_size_half): Likewise.
24369         (__x86_64_raw_shared_cache_size_half): Likewise.
24370         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24371         to ...
24372         (__x86_data_cache_size): This.
24373         (__x86_64_raw_data_cache_size): Renamed to ...
24374         (__x86_raw_data_cache_size): This.
24375         (__x86_64_data_cache_size_half): Renamed to ...
24376         (__x86_data_cache_size_half): This.
24377         (__x86_64_raw_data_cache_size_half): Renamed to ...
24378         (__x86_raw_data_cache_size_half): This.
24379         (__x86_64_shared_cache_size): Renamed to ...
24380         (__x86_shared_cache_size): This.
24381         (__x86_64_raw_shared_cache_size): Renamed to ...
24382         (__x86_raw_shared_cache_size): This.
24383         (__x86_64_shared_cache_size_half): Renamed to ...
24384         (__x86_shared_cache_size_half): This.
24385         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24386         (__x86_raw_shared_cache_size_half): This.
24387         * sysdeps/x86_64/memcpy.S: Updated.
24388         * sysdeps/x86_64/memset.S: Likewise.
24389         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24390         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24391         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24392
24393 2013-01-04  David S. Miller  <davem@davemloft.net>
24394
24395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24396
24397 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24398
24399         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24400         1 to avoid redefinition warning.
24401         (__USE_GNU): Don't define.
24402         (init_signaling_nan): Protoize.
24403
24404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24405
24406 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24407
24408         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24409         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24410         (__cpymn): Likewise.
24411         (norm): Remove commented code.
24412         (denorm): Likewise.
24413         (__mp_dbl): Likewise.
24414         (__inv): Likewise.
24415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24416         (__cpymn): Likewise.
24417         (norm): Remove commented code.
24418         (denorm): Likewise.
24419         (__mp_dbl): Likewise.
24420         (__inv): Likewise.
24421
24422         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24423         mp_no value for 1.0 and 2.0.
24424         (norm): Use RADIXI instead of radixi.d.
24425         (denorm): Likewise.
24426         (__mul): Use 0.0 instead of zero.d.
24427         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24428         mp_no value for 1.0 and 2.0.
24429         (norm): Use RADIXI instead of radixi.d.
24430         (denorm): Likewise.
24431         (__mul): Use 0.0 instead of zero.d.
24432
24433 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
24434
24435         [BZ #14994]
24436         * math/s_casinh.c (__casinh): Reduce finite argument to first
24437         quadrant then set signs of results at the end.
24438         * math/s_casinhf.c (__casinhf): Likewise.
24439         * math/s_casinhl.c (__casinhl): Likewise.
24440         * math/libm-test.inc (casin_test): Add more tests.
24441         (casinh_test): Likewise.
24442         * sysdeps/i386/fpu/libm-test-ulps: Update.
24443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24444
24445 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24446
24447         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24448
24449         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24450
24451         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24452         declarations.
24453         (denorm): Likewise.
24454         (__mp_dbl): Likewise.
24455         (__inv): Likewise.
24456
24457         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24458         and adjust the header comment.
24459
24460         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24461         variable name from declaration.
24462
24463 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
24464
24465         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24466         Initialize COMMON_CPUID_INDEX_7 element.
24467         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24468         (CPUID_RTM): Likewise.
24469         (HAS_RTM): Likewise.
24470         (COMMON_CPUID_INDEX_7): New enum.
24471
24472 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
24473
24474         [BZ #14981]
24475         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24476         size is zero, record memory as freed.
24477
24478 2013-01-03  Andreas Jaeger  <aj@suse.de>
24479
24480         * po/ia.po: Add new Interlingua translation.
24481
24482 2012-01-03  Allan McRae  <allan@archlinux.org>
24483
24484         * locale/programs/localedef.c: Fix description of '--posix' flag.
24485
24486 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
24487
24488         * NEWS: Update dates in second copyright notice.
24489         * README: Update copyright dates in example.
24490         * manual/libc.texinfo: Update copyright dates.
24491         * scripts/test-installation.pl: Update copyright date in --version
24492         output.
24493
24494         * hurd/ctty-input.c: Fix copyright notice formatting.
24495         * hurd/ctty-output.c: Likewise.
24496         * hurd/dtable.c: Likewise.
24497         * hurd/hurd-raise.c: Likewise.
24498         * hurd/hurdprio.c: Likewise.
24499         * hurd/msgportdemux.c: Likewise.
24500         * misc/sys/file.h: Likewise.
24501         * misc/sys/ioctl.h: Likewise.
24502         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24503         * sysdeps/mach/hurd/chdir.c: Likewise.
24504         * sysdeps/mach/hurd/fchdir.c: Likewise.
24505         * sysdeps/mach/hurd/rename.c: Likewise.
24506         * sysdeps/mach/hurd/rmdir.c: Likewise.
24507         * sysdeps/mach/hurd/seekdir.c: Likewise.
24508         * sysdeps/mach/hurd/setsid.c: Likewise.
24509         * sysdeps/posix/wait3.c: Likewise.
24510
24511         * All files with FSF copyright notices: Update copyright dates
24512         using scripts/update-copyrights.
24513         * intl/plural.c: Regenerated.
24514         * locale/programs/charmap-kw.h: Likewise.
24515         * locale/programs/locfile-kw.h: Likewise.
24516
24517 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24518
24519         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24520         four values.
24521
24522         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24523         calculation loop and add branch prediction.
24524
24525         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24526         check access beyond bounds of m1np.
24527
24528         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24529         MPTWO.
24530         (__inv): Remove local variable MPTWO to use the global
24531         constant.
24532         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24533         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24534         variable MPTWO.
24535         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24536         MP3HALFS static const.
24537
24538 2013-01-01  David S. Miller  <davem@davemloft.net>
24539
24540         * po/ca.po: Update from translation team.
24541
24542 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
24543
24544         * scripts/update-copyrights: New file.
24545         * Makeconfig: Reformat copyright notice.
24546         * ctype/ctype.h: Likewise.
24547         * debug/swprintf_chk.c: Likewise.
24548         * elf/dl-cache.c: Likewise.
24549         * elf/dl-debug.c: Likewise.
24550         * elf/dl-object.c: Likewise.
24551         * grp/initgroups.c: Likewise.
24552         * hurd/Makefile: Likewise.
24553         * hurd/hurd/signal.h: Likewise.
24554         * hurd/hurdfault.c: Likewise.
24555         * hurd/hurdioctl.c: Likewise.
24556         * hurd/hurdlookup.c: Likewise.
24557         * hurd/intr-msg.c: Likewise.
24558         * iconv/gconv_open.c: Likewise.
24559         * libio/swprintf.c: Likewise.
24560         * locale/lc-ctype.c: Likewise.
24561         * locale/nl_langinfo.c: Likewise.
24562         * mach/Machrules: Likewise.
24563         * mach/Makefile: Likewise.
24564         * malloc/obstack.h: Likewise.
24565         * manual/Makefile: Likewise.
24566         * manual/tsort.awk: Likewise.
24567         * misc/bits/stab.def: Likewise.
24568         * nis/nis_print_group_entry.c: Likewise.
24569         * nis/nis_table.c: Likewise.
24570         * nis/nss_compat/compat-pwd.c: Likewise.
24571         * nis/nss_compat/compat-spwd.c: Likewise.
24572         * po/Makefile: Likewise.
24573         * posix/fnmatch.c: Likewise.
24574         * posix/regex.h: Likewise.
24575         * resolv/Makefile: Likewise.
24576         * resolv/nss_dns/dns-network.c: Likewise.
24577         * resolv/res_hconf.c: Likewise.
24578         * scripts/gen-sorted.awk: Likewise.
24579         * soft-fp/soft-fp.h: Likewise.
24580         * stdio-common/printf.h: Likewise.
24581         * stdlib/monetary.h: Likewise.
24582         * stdlib/random.c: Likewise.
24583         * stdlib/random_r.c: Likewise.
24584         * sysdeps/generic/Makefile: Likewise.
24585         * sysdeps/gnu/Makefile: Likewise.
24586         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24587         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24588         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24589         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24590         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24591         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24592         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24593         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24594         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24595         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24596         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24597         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24598         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24599         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24600         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24601         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24602         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24603         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24604         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24605         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24606         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24607         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24608         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24609         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24610         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24611         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24612         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24613         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24614         * sysdeps/mach/hurd/errnos.awk: Likewise.
24615         * sysdeps/mach/hurd/fork.c: Likewise.
24616         * sysdeps/mach/hurd/getcwd.c: Likewise.
24617         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24618         * sysdeps/mach/hurd/mmap.c: Likewise.
24619         * sysdeps/mach/hurd/utimes.c: Likewise.
24620         * sysdeps/mach/hurd/xmknod.c: Likewise.
24621         * sysdeps/posix/profil.c: Likewise.
24622         * sysdeps/posix/readdir_r.c: Likewise.
24623         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24624         * sysdeps/powerpc/bits/setjmp.h: Likewise.
24625         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24626         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24627         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24628         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24629         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24630         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24631         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24632         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24633         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24634         * sysdeps/pthread/lio_listio.c: Likewise.
24635         * sysdeps/sparc/dl-procinfo.h: Likewise.
24636         * sysdeps/unix/i386/sysdep.S: Likewise.
24637         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24638         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24639         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24640         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24642         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24643         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24644         * sysdeps/unix/sysv/linux/speed.c: Likewise.
24645         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24646         * sysdeps/wordsize-32/divdi3.c: Likewise.
24647         * time/sys/time.h: Likewise.
24648         * wcsmbs/Makefile: Likewise.
24649
24650 2013-01-01  David S. Miller  <davem@davemloft.net>
24651
24652         * po/fr.po: Update from translation team.
24653
24654         * catgets/gencat.c: Update copyright year.
24655         * csu/version.c: Likewise.
24656         * debug/catchsegv.sh: Likewise.
24657         * debug/pcprofiledump.c: Likewise.
24658         * debug/xtrace.sh: Likewise.
24659         * elf/ldconfig.c: Likewise.
24660         * elf/ldd.bash.in: Likewise.
24661         * elf/pldd.c: Likewise.
24662         * elf/sotruss.ksh: Likewise.
24663         * elf/sprof.c: Likewise.
24664         * iconv/iconv_prog.c: Likewise.
24665         * iconv/iconvconfig.c: Likewise.
24666         * locale/programs/locale.c: Likewise.
24667         * locale/programs/localedef.c: Likewise.
24668         * login/programs/pt_chown.c: Likewise.
24669         * malloc/memusage.sh: Likewise.
24670         * malloc/memusagestat.c: Likewise.
24671         * malloc/mtrace.pl: Likewise.
24672         * nscd/nscd.c: Likewise.
24673         * nss/getent.c: Likewise.
24674         * nss/makedb.c: Likewise.
24675         * posix/getconf.c: Likewise.
24676
24677 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24678
24679         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24680         numbers.
24681
24682 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
24683
24684         * math/bits/mathcalls.h (modf): Use __nonnull.
24685
24686 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24687
24688         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24689         (split): Use macro CN instead of the bare value.
24690         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24691         could be used.
24692         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24693         instead of the bare value.
24694         (power1): Likewise.
24695
24696 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24697
24698         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24699         __ATAN_TWOM.
24700         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24701
24702         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24703         their values.
24704         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24705         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24706         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24707         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24708
24709 2012-12-28  Andreas Jaeger  <aj@suse.de>
24710
24711         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
24712         values are from Linux 3.7.
24713
24714         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24715         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
24716
24717 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24718
24719         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24720         TRUE case.
24721
24722         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24723         (norm): Likewise.
24724         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24725         variables with preprocessor constants.
24726         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24727         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24728         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24729
24730 2012-12-27  Bruno Haible  <bruno@clisp.org>
24731
24732         [BZ #14317]
24733         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24734         only if needed.
24735
24736 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24737
24738         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24739         and use variable directly.
24740         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24741
24742         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24743         MPONE.
24744         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24745         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24746         variable MPONE.
24747         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24748         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24749         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24750         include directive.  Remove local variable MPONE.
24751         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24752         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24753         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24754
24755 2012-12-25  David S. Miller  <davem@davemloft.net>
24756
24757         * version.h (RELEASE): Set to "development".
24758         (VERSION): Set to "2.17.90".
24759         * NEWS: Add 2.18 section.
24760
24761 2012-12-21  David S. Miller  <davem@davemloft.net>
24762
24763         * po/hr.po: Update from translation team.
24764
24765 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24766
24767         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24768
24769 2012-12-19  Steve Ellcey  <sellcey@mips.com>
24770
24771         * NEWS:  Mention new memcpy for MIPS.
24772
24773 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24774
24775         * manual/contrib.texi (Contributors): Spelling correction.
24776
24777 2012-12-15  David S. Miller  <davem@davemloft.net>
24778
24779         * po/ru.po: Update from translation team.
24780
24781 2012-12-13  David S. Miller  <davem@davemloft.net>
24782
24783         * NEWS: Mention IFUNC testsuite enhancements.
24784
24785         * po/pl.po: Update from translation team.
24786         * po/bg.po: Likewise.
24787
24788         * manual/contrib.texi (Contributors): Update entries for Hongjiu
24789         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
24790
24791 2012-12-11  David S. Miller  <davem@davemloft.net>
24792
24793         * po/sv.po: Update from translation team.
24794
24795         * po/vi.po: Update from translation team.
24796
24797         * po/cs.po: Update from translation team.
24798
24799         * po/de.po: Update from translation team.
24800         * po/eo.po: Likewise.
24801         * po/nl.po: Likewise.
24802
24803 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24804
24805         [BZ #14246]
24806         * manual/argp.texi (Argp Helper Functions): Move node to follow
24807         Argp Parsing State.
24808
24809         [BZ #14872]
24810         * manual/conf.texi (Limits on File System Capacity): Mention if
24811         terminating null is included in the max size.
24812
24813 2012-12-10  Andreas Jaeger  <aj@suse.de>
24814
24815         * po/cs.po: Update from translation team.
24816
24817 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24818
24819         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24820         void pointer and cast to uintptr_t.
24821         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24822         path.
24823         * sysdeps/s390/s390-64/memcpy.S: Likewise.
24824         * sysdeps/s390/s390-64/memset.S: Likewise.
24825
24826 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
24827
24828         [BZ #14833]
24829         * menual/message.texi (Message Translation): Fix typos.
24830         (Helper programs for gettext): Likewise.
24831
24832 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
24833
24834         [BZ #14898]
24835         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24836         Change to -1.
24837
24838 2012-12-07  David S. Miller  <davem@davemloft.net>
24839
24840         * po/libc.pot: Update.
24841
24842 2012-12-07  Richard Henderson  <rth@redhat.com>
24843
24844         [BZ #10114]
24845         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24846         normal/normal case to before the switch.
24847         (_FP_DIV): Likewise.
24848
24849 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
24850             Mike Frysinger  <vapier@gentoo.org>
24851
24852         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24853         check for __NR_fadvise64_64.
24854
24855 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
24856
24857         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24858         0, not just to plain "0" as a statement.
24859         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24860         with cw.
24861
24862 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
24863
24864         * NEWS: Use sourceware.org in Bugzilla URL.
24865
24866 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24867
24868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24869         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24870
24871         * stdio-common/tst-put-error.c (do_test): Add newline to the
24872         padded test to ensure flush.
24873
24874 2012-12-05  Jeff Law  <law@redhat.com>
24875
24876         * sunrpc/etc.rpc (fedfs_admin): Add entry.
24877
24878 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
24879
24880         * README: Don't refer to ports add-on as distributed separately.
24881         Mention AArch64 in list of systems supported in the ports add-on.
24882
24883         * LICENSES: Add more non-FSF copyright and license notices.
24884
24885         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24886         ((unused)).
24887
24888         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24889
24890         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24891         10000 as width of padded output.
24892
24893 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24894
24895         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24896
24897         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24898         variable LX with __attribute__ ((unused)).
24899         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24900         Likewise.
24901         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24902         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24903         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24904         with __attribute__ ((unused)).
24905
24906 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
24907
24908         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24909
24910 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24911
24912         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24913         (CFLAGS-nldbl-acos.c): New variable.
24914         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24915         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24916         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24917         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24918         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24919         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24920         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24921         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24922         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24923         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24924         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24925         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24926         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24927         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24928         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24929         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24930         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24931         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24932         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24933         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24934         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24935         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24936         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24937         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24938         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24939         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24940         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24941         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24942         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24943         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24944         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24945         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24946         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24947         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24948         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24949         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24950         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24951         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24952         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24953         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24954         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24955         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24956         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24957         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24958         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24959         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24960         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24961         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24962         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24963         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24964         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24965         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24966         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24967         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24968         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24969         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24970         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24971         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24972         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24973         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24974         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24975         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24976         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24977         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24978         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24979         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24980         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24981         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24982         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24983         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24984         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24985         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24986         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24987         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24988         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24989         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24990         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24991         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24992         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24993         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24994         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24995         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24996         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24997         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24998         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24999         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25000         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25001         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25002         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25003         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25004         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25005         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25006         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25007         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25008         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25009         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25010         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25011
25012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25013         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25014
25015         [BZ #14914]
25016         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25017         whole low double instead of just low 47 bits when splitting values
25018         into two parts.
25019
25020 2012-12-03  Allan McRae  <allan@archlinux.org>
25021
25022         * manual/stdio.texi (Predefined Printf Handlers): Remove
25023         @hsep and @vsep usage.
25024
25025 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
25026
25027         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25028         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25029
25030 2012-12-03  Jeff Law  <law@redhat.com>
25031
25032         * time/sys/time.h (settimeofday): Do not mark TV argument
25033         as __nonnull.
25034
25035 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
25036
25037         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25038         when currently writing and seek to current position when not.
25039         * libio/Makefile (tests): Remove bug-fclose1.
25040         * libio/bug-fclose1.c: Delete.
25041
25042 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
25043
25044         * manual/arith.texi (feenableexcept): Fix typo.
25045         (fedisableexcept): Likewise.
25046
25047 2012-11-30  Roland McGrath  <roland@hack.frob.com>
25048
25049         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25050         second, differently-typed declaration, rather than a cast.
25051
25052 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25053
25054         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25055         * include/rpc/svc.h: ... here.
25056
25057 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
25058
25059         [BZ #13013]
25060         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25061         depending n and resplen2 to catch cases where answer
25062         equals answerp2.
25063
25064 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
25065
25066         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25067         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25068
25069 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
25070
25071         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25072
25073 2012-11-29  Roland McGrath  <roland@hack.frob.com>
25074
25075         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25076
25077 2012-11-28  Jeff Law  <law@redhat.com>
25078
25079         [BZ #13761]
25080         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25081         dataset_temporary.  Track alloca usage into alloca_used.
25082         If dataset is large allocate and release it via malloc/free.
25083
25084 2012-06-04  Florian Weimer  <fweimer@redhat.com>
25085
25086         [BZ #14197]
25087         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25088
25089 2012-11-28  David S. Miller  <davem@davemloft.net>
25090
25091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25092
25093 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25094
25095         [BZ #14803]
25096         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25097         of pi/2 rounded to nearest to 64 bits.
25098         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25099         nearest to 64 bits.
25100         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25101         bits.
25102
25103 2012-11-28  Jeff Law <law@redhat.com>
25104             Martin Osvald <mosvald@redhat.com>
25105
25106         [BZ #14889]
25107         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25108         * sunrpc/svc.c: Include time.h.
25109         (__svc_accept_failed): New function.
25110         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25111         any reason other than EINTR, call __svc_accept_failed.
25112         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25113         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25114
25115 2012-11-28  Andreas Schwab  <schwab@suse.de>
25116
25117         * scripts/abilist.awk: Also handle indirect functions in .opd
25118         section.
25119
25120 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25121
25122         [BZ #13881]
25123         * sysdeps/x86/fpu/powl_helper.c: New file.
25124         * sysdeps/x86/fpu/Makefile: Likewise.
25125         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25126         (p3): New object.
25127         (__ieee754_powl): Use __powl_helper for finite arguments except
25128         integer exponents below 8.
25129         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25130         (p3): New object.
25131         (__ieee754_powl): Use __powl_helper for finite arguments except
25132         integer exponents below 8.
25133         * math/libm-test.inc (pow_test): Add more tests and enable some
25134         previously disabled tests.
25135         * sysdeps/i386/fpu/libm-test-ulps: Update.
25136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25137
25138 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25139             Carlos O'Donell  <carlos_odonell@mentor.com>
25140
25141         * nss/makedb.c (is_prime): Assert that input is odd and greater
25142         than 4.  Note that fact in a comment too.
25143         (next_prime): Add 4 to input.
25144
25145 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25146
25147         [BZ #11741]
25148         * libio/Makefile (tests): Add test case tst-fwrite-error.
25149         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25150         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25151         * libio/tst-fwrite-error.c: New test case.
25152
25153 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
25154
25155         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25156         before casting to void *.
25157         * include/libc-internal.h (__pointer_type): New macro.
25158         (__integer_if_pointer_type_sub): Likewise.
25159         (__integer_if_pointer_type): Likewise.
25160         (cast_to_integer): Likewise.
25161         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25162         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25163         before casting to atomic64_t.
25164         (atomic_exchange_acq): Likewise.
25165         (__arch_exchange_and_add_body): Likewise.
25166         (__arch_add_body): Likewise.
25167         (atomic_add_negative): Likewise.
25168         (atomic_add_zero): Likewise.
25169
25170 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
25171
25172         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25173         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25174         (add_fdes): Likewise.
25175         (linear_search_fdes): Likewise.
25176         (binary_search_unencoded_fdes): Likewise.
25177
25178 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
25179
25180         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25181
25182 2012-11-24  Adam Conrad  <adconrad@0c3.net>
25183
25184         * configure.in: Autodetect C++ header directories.
25185         * configure: Regenerated.
25186
25187 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
25188
25189         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25190
25191 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
25192
25193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25194
25195 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
25196
25197         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25198         LDBL_MANT_DIG == 106]: Disable some tests.
25199         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25200         Likewise.
25201         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25202         Likewise.
25203
25204         [BZ #14871]
25205         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25206         input for small inputs.  Return +/- pi/2 for large inputs.
25207         * math/libm-test.inc (atan_test): Add more tests.
25208
25209         * sysdeps/generic/unwind-dw2-fde-glibc.c
25210         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25211         __attribute__ ((unused)).
25212
25213         [BZ #14645]
25214         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25215         x * y if x and y are nonzero and z is zero.
25216
25217         [BZ #14811]
25218         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25219         nonzero exponents with absolute value below 0x1p-117 to +/-
25220         0x1p-117.
25221
25222         [BZ #14869]
25223         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25224         up arguments below 2**-450, not just those below 2**-500.
25225         * math/libm-test.inc (hypot_test): Add another test.
25226
25227         [BZ #14868]
25228         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25229         Return a+b for ratio over 2**120, not 2**60.
25230         * math/libm-test.inc (hypot_test): Add another test.
25231
25232         * math/libm-test.inc (clog_test): Use
25233         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25234         (clog10_test): Likewise.
25235
25236         [BZ #6778]
25237         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25238
25239 2012-11-22  Andreas Schwab  <schwab@suse.de>
25240
25241         * sysdeps/i386/fpu/libm-test-ulps: Update.
25242
25243 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
25244
25245         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25246         printf output with newline.
25247
25248 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
25249
25250         [BZ #14865]
25251         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25252         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25253         -z nodlopen, -z initfirst and -z execstack support.
25254         * configure: Regenerated.
25255
25256         * elf/elf.h (DF_1_NODIRECT): New macro.
25257         (DF_1_IGNMULDEF): Likewise.
25258         (DF_1_NOKSYMS): Likewise.
25259         (DF_1_NOHDR): Likewise.
25260         (DF_1_EDITED): Likewise.
25261         (DF_1_NORELOC): Likewise.
25262         (DF_1_SYMINTPOSE): Likewise.
25263         (DF_1_GLOBAUDIT): Likewise.
25264         (DF_1_SINGLETON): Likewise.
25265         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25266         DT_1_SUPPORTED_MASK bits.
25267         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25268
25269 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
25270
25271         * sysdeps/unix/make-syscalls.sh: Document prefixes.
25272
25273 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
25274
25275         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25276         macro.
25277
25278         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25279         (sendmmsg): Move declarations...
25280         * socket/sys/socket.h: ... here.
25281         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25282         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25283         include it from...
25284         * socket/recvmmsg.c: ... this new file.
25285         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25286         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25287         definition of __sendmmsg hidden.
25288         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25289         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25290         Move ENOSYS stub into and include it from...
25291         * socket/sendmmsg.c: ... this new file.
25292         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25293         (sysdep_routines): Move recvmmsg and sendmmsg...
25294         * socket/Makefile (routines): ... here.
25295         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25296         (GLIBC_PRIVATE): Add __sendmmsg.
25297         * include/sys/socket.h (__sendmmsg): Add declarations.
25298         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25299         sendmmsg.
25300
25301 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25302
25303         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25304         variable I1 with __attribute__ ((unused)).
25305         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25306
25307 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25308
25309         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25310         DUMMY variables with __attribute__ ((unused)).
25311
25312         * bits/byteswap.h: Include <bits/types.h>.
25313         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25314
25315 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25316
25317         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25318         string_t.  Do not manually set errno.
25319         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25320         length with __strnlen.  Make sure to both set errno and return it on
25321         failure.
25322
25323 2012-11-19  David S. Miller  <davem@davemloft.net>
25324
25325         With help from Joseph Myers.
25326         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25327         very large arguments properly.
25328         * math/libm-test.inc (atan_test): New tests.
25329         (atan2_test): New tests.
25330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25331         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25332
25333 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25334
25335         [BZ #14856]
25336         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25337         Define to 3.
25338
25339         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25340         [POSIX] (EADDRNOTAVAIL): Likewise.
25341         [POSIX] (EAFNOSUPPORT): Likewise.
25342         [POSIX] (EALREADY): Likewise.
25343         [POSIX] (ECONNABORTED): Likewise.
25344         [POSIX] (ECONNREFUSED): Likewise.
25345         [POSIX] (ECONNRESET): Likewise.
25346         [POSIX] (EDESTADDRREQ): Likewise.
25347         [POSIX] (EDQUOT): Likewise.
25348         [POSIX] (EHOSTUNREACH): Likewise.
25349         [POSIX] (EIDRM): Likewise.
25350         [POSIX] (EISCONN): Likewise.
25351         [POSIX] (ELOOP): Likewise.
25352         [POSIX] (EMULTIHOP): Likewise.
25353         [POSIX] (ENETDOWN): Likewise.
25354         [POSIX] (ENETUNREACH): Likewise.
25355         [POSIX] (ENOBUFS): Likewise.
25356         [POSIX] (ENODATA): Likewise.
25357         [POSIX] (ENOLINK): Likewise.
25358         [POSIX] (ENOMSG): Likewise.
25359         [POSIX] (ENOPROTOOPT): Likewise.
25360         [POSIX] (ENOSR): Likewise.
25361         [POSIX] (ENOSTR): Likewise.
25362         [POSIX] (ENOTCONN): Likewise.
25363         [POSIX] (ENOTSOCK): Likewise.
25364         [POSIX] (EOPNOTSUPP): Likewise.
25365         [POSIX] (EOVERFLOW): Likewise.
25366         [POSIX] (EPROTO): Likewise.
25367         [POSIX] (EPROTONOSUPPORT): Likewise.
25368         [POSIX] (EPROTOTYPE): Likewise.
25369         [POSIX] (ESTALE): Likewise.
25370         [POSIX] (ETIME): Likewise.
25371         [POSIX] (ETXTBSY): Likewise.
25372         [POSIX] (EWOULDBLOCK): Likewise.
25373         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25374         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25375         [POSIX] (SEEK_CUR): Likewise.
25376         [POSIX] (SEEK_END): Likewise.
25377         [POSIX || UNIX98] (mode_t): Do not require.
25378         [POSIX] (off_t): Likewise.
25379         [POSIX] (pid_t): Likewise.
25380         [POSIX] (sys/stat.h): Do not allow header.
25381         [POSIX] (unistd.h): Likewise.
25382         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25383         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25384         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25385         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25386         require.
25387         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25388         sigevent): Specify elements.
25389         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25390         entry.
25391         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25392         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25393
25394         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25395         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25396         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25397         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25398         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25399         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25400         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25401         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25402         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25403         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25404         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25405         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25406         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25407         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25408         Likewise.
25409         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25410         Likewise.
25411         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25412         Likewise.
25413         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25414         Likewise.
25415         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25416         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25417         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25418         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25419         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25420         Specify lower bound on value.
25421         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25422         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25423         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25424         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25425         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25426         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25427         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25428         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25429         value.
25430         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25431         as optional.
25432         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25433         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25434         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25435         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25436         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25437         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25438         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25439         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25440         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25441         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25442         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25443         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25444         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25445         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25446         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25447         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25448         entry.
25449         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25450         optional.
25451         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25452         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25453         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25454         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25455         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25456         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25457         Likewise.
25458         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25459         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25460         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25461         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25462         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
25463         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25464         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25465         as optional.
25466         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25467         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25468         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25469         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25470         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25471         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25472         specify as optional.
25473         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25474         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25475         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25476         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25477         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25478         [XPG3] (NL_LANGMAX): Likewise.
25479         [POSIX || XPG3] (NL_MSGMAX): Likewise.
25480         [POSIX || XPG3] (NL_NMAX): Likewise.
25481         [POSIX || XPG3] (NL_SETMAX): Likewise.
25482         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25483         [XPG3] (NZERO): Likewise.
25484         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25485         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25486         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25487         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25488         (REG_ERANGE): Expect.
25489         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25490         optional-constant.
25491         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25492         Use (void) in prototype.
25493         [POSIX] (*_t): Allow.
25494         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25495         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25496         (WRDE_BADVAL): Expect.
25497
25498         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25499         expect.
25500         [XPG3 || XPG4] (O_RSYNC): Likewise.
25501         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25502         Likewise.
25503         [XPG3 || XPG4] (pthread_sigmask): Likewise.
25504         [XPG3 || XPG4] (sigqueue): Likewise.
25505         [XPG3 || XPG4] (sigtimedwait): Likewise.
25506         [XPG3 || XPG4] (sigwaitinfo): Likewise.
25507         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25508         [XPG3 || XPG4] (vsnprintf): Likewise.
25509         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25510         Likewise.
25511         [XPG3 || XPG4] (blksize_t): Likewise.
25512         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25513         Likewise.
25514         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25515         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25516         [XPG3 || XPG4] (struct itimerspec): Likewise.
25517         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25518         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25519         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25520         [XPG3 || XPG4] (clockid_t): Likewise.
25521         [XPG3 || XPG4] (timer_t): Likewise.
25522         [XPG3 || XPG4] (clock_getres): Likewise.
25523         [XPG3 || XPG4] (clock_gettime): Likewise.
25524         [XPG3 || XPG4] (clock_settime): Likewise.
25525         [XPG3 || XPG4] (nanosleep): Likewise.
25526         [XPG3 || XPG4] (timer_create): Likewise.
25527         [XPG3 || XPG4] (timer_delete): Likewise.
25528         [XPG3 || XPG4] (timer_gettime): Likewise.
25529         [XPG3 || XPG4] (timer_getoverrun): Likewise.
25530         [XPG3 || XPG4] (timer_settime): Likewise.
25531         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25532         [XPG3 || XPG4] (getlogin_r): Likewise.
25533         [XPG3 || XPG4] (pread): Likewise.
25534         [XPG3 || XPG4] (pthread_atfork): Likewise.
25535         [XPG3 || XPG4] (pwrite): Likewise.
25536
25537         [BZ #14835]
25538         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25539         <bits/siginfo.h>.
25540
25541 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25542
25543         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25544         finalizing MALLSTREAM.
25545
25546         * sysdeps/mach/hurd/syncfs.c: New file.
25547
25548 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25549
25550         [BZ #14719]
25551         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25552         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25553         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25554         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25555         (_nss_dns_gethostbyname4_r): Likewise.
25556         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25557         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25558
25559 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
25560
25561         [BZ #13763]
25562         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25563
25564 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
25565
25566         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25567         * elf/cache.c (print_entry): Print ",AArch64" for
25568         FLAG_AARCH64_LIB64
25569
25570         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25571         * elf/cache.c (print_entry): Print ",hard-float" for
25572         FLAG_ARM_LIBHF.
25573
25574 2012-11-18  David S. Miller  <davem@davemloft.net>
25575
25576         With help from Joseph Myers.
25577         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25578         cutoff to 2**-13.
25579         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25580         cutoff to 2**-25.
25581         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25582         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25583         small.
25584         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25585         * math/libm-test.inc (y0_test): New tests.
25586         (y1_test): New tests.
25587         * sysdeps/i386/fpu/libm-test-ulps: Update.
25588         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25590
25591 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
25592
25593         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25594         64-bit targets.
25595         * configure: Regenerated.
25596
25597 2012-11-17  David S. Miller  <davem@davemloft.net>
25598
25599         [BZ #14811]
25600         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25601         nonzero exponents with absolute value below 0x1p-128 to +/-
25602         0x1p-128.
25603
25604 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
25605
25606         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25607
25608         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25609
25610         * posix/getconf-speclist.c: New file.
25611         * posix/posix-envs.def: Likewise.
25612         * posix/confstr.c (START_ENV_GROUP): New macro.
25613         (END_ENV_GROUP): Likewise.
25614         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25615         (KNOWN_PRESENT_ENV_STRING): Likewise.
25616         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25617         (UNKNOWN_ENVIRONMENT): Likewise.
25618         (confstr): Include posix-envs.def instead of handling
25619         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25620         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25621         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25622         (END_ENV_GROUP): Likewise.
25623         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25624         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25625         (UNKNOWN_ENVIRONMENT): Likewise.
25626         (__sysconf): Include posix-envs.def instead of handling associated
25627         cases directly here.
25628         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25629         preprocessing getconf-speclist.c rather than running getconf or
25630         generating empty file.
25631
25632 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
25633
25634         * scripts/check-local-headers.sh: Ignore 'mach' headers.
25635
25636 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
25637
25638         [BZ #14672]
25639         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25640
25641 2012-11-16  David S. Miller  <davem@davemloft.net>
25642
25643         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25644         smaller than LDBL_EPSILON/2.0L, just return xm1.
25645
25646 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
25647
25648         * elf/tst-array1.c (init): Set constructor priority to 1000.
25649         (fini): Set destructor priority to 1000.
25650         * elf/tst-array2dep.c: Likewise.
25651
25652 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25653
25654         [BZ #11741]
25655         * libio/fileops.c (_IO_new_file_write): Correctly return error.
25656         (_IO_new_file_xsputn): Also return EOF if none of the input
25657         data was written when overflow failed.
25658         * libio/iopadn.c (_IO_padn): Likewise.
25659         * libio/iowpadn.c (_IO_wpadn): Likewise.
25660         * stdio-common/tst-put-error.c: Add copyright notice.
25661         (do_test): Add case for printing padded string.
25662         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25663         _IO_padn returned error.
25664         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25665         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25666         return EOF.
25667
25668 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25669
25670         * libio/libioP.h: Add comment note that the references to C++
25671         bits are now obsolete.
25672
25673 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25674
25675         * math/libm-test.inc (check_complex): Use asprintf.
25676
25677 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
25678
25679         * debug/pcprofiledump.c (print_version): Update copyright year.
25680         * malloc/memusagestat.c (print_version): Likewise.
25681
25682 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
25683
25684         [BZ #14831]
25685         * elf/Makefile (tests): Add tst-audit8.
25686         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25687         ($(objpfx)tst-audit8.out): New target.
25688         (tst-audit8-ENV): New variable.
25689         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25690         audit if l_reloc_result is NULL.
25691         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25692         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25693         * elf/tst-audit8.c: New file.
25694
25695 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25696
25697         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25698         * misc/Makefile (CFLAGS-select.c): Define.
25699         * posix/Makefile (CFLAGS-pause.c): Define.
25700
25701 2012-11-13  David S. Miller  <davem@davemloft.net>
25702
25703         * crypt/Makefile: Move test targets after toplevel Rules
25704         inclusion.  Grab any necessary sysdep routines when linking.
25705         * crypt/md5.c (md5_process_block): Remove define, we will always
25706         name it __md5_process_block.
25707         (md5_finish_ctx): Update md5_process_block call.
25708         (md5_stream): Likewise.
25709         (md5_process_bytes): Likewise.
25710         (md5_process_block): Rename to __md5_process_block and move to ...
25711         * crypt/md5-block.c: ... here.
25712         * crypt/sha256.c (sha256_process_block): Move to ...
25713         * crypt/sha256-block.c: ... here.
25714         * crypt/sha512.c (sha512_process_block): Move to ...
25715         * crypt/sha512-block.c: ... here.
25716         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25717         path.
25718         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25719         * sysdeps/sparc/sparc64/multiarch/Makefile
25720         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25721         crypt subdir.
25722         (localedef-aux): Add md5 crypto assembler when in locale subdir.
25723         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25724         multiarch changes.
25725         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25726         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25727         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25728         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25729         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25730         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25731         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25732         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25733         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25734         file.
25735         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25736         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25737         file.
25738         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25739
25740 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
25741
25742         * timezone/tzselect.ksh: Update from tzcode git revision
25743         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25744         * timezone/zdump.c: Likewise.
25745         * timezone/zic.c: Likewise.
25746         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25747         in TZVERSION setting, not $(PKGVERSION).
25748         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
25749         REPORT_BUGS_TO settings.
25750
25751         [BZ #14838]
25752         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25753         macro.
25754
25755 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25756
25757         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25758         detection to immediately after _FP_ROUND().
25759         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25760         bits are 0.
25761
25762 2012-11-11  David S. Miller  <davem@davemloft.net>
25763
25764         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25765         inttypes.h
25766         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25767         __close rather than their public counterparts.
25768
25769 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
25770
25771         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25772         file.
25773         [UNIX98] (sem_timedwait): Do not expect.
25774         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25775         [XPG4 || UNIX98] (sockatmark): Do not expect.
25776         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25777         (clock_getcpuclockid): Do not expect.
25778         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25779         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25780         Do not expect.
25781         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25782         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25783         [UNIX98] (vwscanf): Likewise.
25784         [UNIX98] (vswscanf): Likewise.
25785
25786 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
25787
25788         * timezone/version.h: Remove file.
25789         * timezone/README: Do not refer to version.h.
25790         * timezone/Makefile ($(objpfx)zic.o): New dependency on
25791         $(objpfx)version.h.
25792         ($(objpfx)zdump.o): Likewise.
25793         ($(objpfx)version.h): New target.
25794
25795         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25796         2012i.
25797         * timezone/README: Don't mention modification to tzselect.ksh.
25798         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25799         work on unmodified tzselect.ksh.  Substitute version numbers in
25800         tzselect.ksh.
25801
25802         * Makefile (format-me): Remove.
25803         (INSTALL): Adjust indentation.  Use commands directly instead of
25804         using $(format-me).
25805
25806         * aclocal.m4 (ACX_PKGVERSION): New macro.
25807         (ACX_BUGURL): Likewise.
25808         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25809         (PKGVERSION): New AC_DEFINE_UNQUOTED.
25810         (REPORT_BUGS_TO): Likewise.
25811         * configure: Regenerated.
25812         * config.h.in (PKGVERSION): New macro.
25813         (REPORT_BUGS_TO): Likewise.
25814         * config.make.in (PKGVERSION): New variable.
25815         (PKGVERSION_TEXI): Likewise.
25816         (REPORT_BUGS_TO): Likewise.
25817         (REPORT_BUGS_TEXI): Likewise.
25818         * Makefile (format-me): Use -I$(common-objpfx)manual.
25819         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25820         ($(common-objpfx)manual/%): New target.
25821         (manual/%): Remove target.
25822         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25823         (print_version): Use PKGVERSION.
25824         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25825         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25826         and REPORT_BUGS_TO.
25827         ($(objpfx)xtrace): Likewise.
25828         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25829         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25830         (print_version): Use PKGVERSION.
25831         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25832         (do_version): Use PKGVERSION.
25833         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25834         REPORT_BUGS_TO.
25835         (common-ldd-rewrite): Likewise.
25836         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25837         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25838         (print_version): Use PKGVERSION.
25839         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25840         * elf/pldd.c (argp_program_bug_address): Remove variable.
25841         (more_help): New function.
25842         (argp): Use more_help.
25843         (print_version): Use PKGVERSION.
25844         * elf/sln.c (main): Use PKGVERSION.
25845         (usage): Use REPORT_BUGS_TO.
25846         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25847         (top level): Use PKGVERSION.
25848         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25849         (print_version): Use PKGVERSION.
25850         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25851         (print_version): Use PKGVERSION.
25852         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25853         (print_version): Use PKGVERSION.
25854         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25855         (print_version): Use PKGVERSION.
25856         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25857         (print_version): Use PKGVERSION.
25858         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25859         (print_version): Use PKGVERSION.
25860         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25861         and BUGURL.
25862         ($(objpfx)memusage): Likewise.
25863         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25864         (do_version): Use PKGVERSION.
25865         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25866         (print_version): Use PKGVERSION.
25867         * malloc/mtrace.pl ($PACKAGE): Remove variable.
25868         ($PKGVERSION): New variable.
25869         ($REPORT_BUGS_TO): Likewise.
25870         (usage): Use $REPORT_BUGS_TO.
25871         (top level): Use $PKGVERSION.
25872         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25873         ($(objpfx)pkgvers.texi): New rule.
25874         ($(objpfx)stamp-pkgvers): Likewise.
25875         * manual/install.texi: Include pkgvers.texi.
25876         (--with-pkgversion): Document new configure option.
25877         (--with-bugurl): Likewise.
25878         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25879         than necessarily for this particular distribution.  Use
25880         REPORT_BUGS_TO for where to report bugs.
25881         * INSTALL: Regenerated.
25882         * manual/libc.texinfo: Include pkgvers.texi.
25883         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25884         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25885         (print_version): Use PKGVERSION.
25886         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25887         (print_version): Use PKGVERSION.
25888         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25889         (print_version): Use PKGVERSION.
25890         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25891         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25892         macro.
25893         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25894         (print_version): Use PKGVERSION.
25895         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25896         (print_version): Use PKGVERSION.
25897         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25898         and PKGVERSION.
25899
25900         * timezone/checktab.awk: Update from tzcode 2012i.
25901         * timezone/ialloc.c: Likewise.
25902         * timezone/private.h: Likewise.
25903         * timezone/scheck.c: Likewise.
25904         * timezone/tzfile.h: Likewise.
25905         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25906         (TZVERSION): Hardcode tzcode version number.
25907         * timezone/zdump.c: Update from tzcode 2012i.
25908         * timezone/zic.c: Likewise.
25909         * timezone/version.h: New file.
25910         * timezone/README: Describe version.h.  Update upstream location.
25911
25912         [BZ #14824]
25913         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25914         (mktemp): Enable declaration.
25915         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25916         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25917         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25918         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25919         Likewise.
25920         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25921         Likewise.
25922         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25923         Likewise.
25924         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25925         Likewise.
25926         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25927         Likewise.
25928         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25929         Likewise.
25930
25931         [BZ #14821]
25932         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25933         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
25934         for copies of such integer values.
25935         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25936         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25937
25938 2012-11-09  Andreas Jaeger  <aj@suse.de>
25939
25940         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25941         definitions and declarations that are provided by
25942         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25943
25944 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25945
25946         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25947         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25948         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25949         definition.
25950
25951 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25952
25953         * elf/elf.h: Update comment before AArch64 relocations.
25954
25955 2012-11-07  David S. Miller  <davem@davemloft.net>
25956
25957         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25958         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25959         (__start_context): Declare.
25960         (__makecontext_ret): Delete.
25961         (__makecontext): Hook up __start_context instead of
25962         __makecontext_ret.
25963         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25964         (sysdep_routines): Add __start_context when in stdlib.
25965
25966 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25967
25968         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25969         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25970         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
25971         hardcoded "nm".
25972         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
25973         (READELF): New variable.  Use it instead of hardcoded "readelf".
25974
25975 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25976
25977         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25978         * sysdeps/x86/Makefile: Here.
25979         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25980         * sysdeps/x86/tst-xmmymm.sh: This.
25981
25982 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25983
25984         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25985         expectations.
25986         [UNIX98] (pthread_barrier_t): Do not expect.
25987         [UNIX98] (pthread_barrierattr_t): Likewise.
25988         [UNIX98] (pthread_spinlock_t): Likewise.
25989         [UNIX98] (pthread_barrier_destroy): Likewise.
25990         [UNIX98] (pthread_barrier_init): Likewise.
25991         [UNIX98] (pthread_barrier_wait): Likewise.
25992         [UNIX98] (pthread_barrierattr_destroy): Likewise.
25993         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25994         [UNIX98] (pthread_barrierattr_init): Likewise.
25995         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25996         [UNIX98] (pthread_getcpuclockid): Likewise.
25997         [UNIX98] (pthread_mutex_timedlock): Likewise.
25998         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25999         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26000         [UNIX98] (pthread_sigmask): Likewise.
26001         [UNIX98] (pthread_spin_destroy): Likewise.
26002         [UNIX98] (pthread_spin_init): Likewise.
26003         [UNIX98] (pthread_spin_lock): Likewise.
26004         [UNIX98] (pthread_spin_trylock): Likewise.
26005         [UNIX98] (pthread_spin_unlock): Likewise.
26006         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26007         Do not expect.
26008         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26009         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26010         [XPG3 || XPG4] (pthread_cond_t): Likewise.
26011         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26012         [XPG3 || XPG4] (pthread_key_t): Likewise.
26013         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26014         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26015         [XPG3 || XPG4] (pthread_once_t): Likewise.
26016         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26017         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26018         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26019         [XPG3 || XPG4] (pthread_t): Likewise.
26020
26021         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26022         not expect.
26023         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26024
26025         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26026         Change function return type to int.
26027
26028         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26029         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26030         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26031         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26032         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26033         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26034         [!POSIX] (posix_madvise): Likewise.
26035         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26036         && !UNIX98].
26037         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26038         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26039         (mode_t): Likewise.
26040         (posix_mem_offset): Likewise.
26041         (posix_typed_mem_get_info): Likewise.
26042         (posix_typed_mem_open): Likewise.
26043
26044         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26045         Change condition to [XOPEN2K8].
26046
26047         * conform/conformtest.pl: Preprocess allow-header data with -x c
26048         instead of from stdin.
26049         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26050         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26051         [C99-based standards] (cerfc): Likewise.
26052         [C99-based standards] (cexp2): Likewise.
26053         [C99-based standards] (cexpm1): Likewise.
26054         [C99-based standards] (clog10): Likewise.
26055         [C99-based standards] (clog1p): Likewise.
26056         [C99-based standards] (clog2): Likewise.
26057         [C99-based standards] (clgamma): Likewise.
26058         [C99-based standards] (ctgamma): Likewise.
26059         [C99-based standards] (cerff): Likewise.
26060         [C99-based standards] (cerfcf): Likewise.
26061         [C99-based standards] (cexp2f): Likewise.
26062         [C99-based standards] (cexpm1f): Likewise.
26063         [C99-based standards] (clog10f): Likewise.
26064         [C99-based standards] (clog1pf): Likewise.
26065         [C99-based standards] (clog2f): Likewise.
26066         [C99-based standards] (clgammaf): Likewise.
26067         [C99-based standards] (ctgammaf): Likewise.
26068         [C99-based standards] (cerfl): Likewise.
26069         [C99-based standards] (cerfcl): Likewise.
26070         [C99-based standards] (cexp2l): Likewise.
26071         [C99-based standards] (cexpm1l): Likewise.
26072         [C99-based standards] (clog10l): Likewise.
26073         [C99-based standards] (clog1pl): Likewise.
26074         [C99-based standards] (clog2l): Likewise.
26075         [C99-based standards] (clgammal): Likewise.
26076         [C99-based standards] (ctgammal): Likewise.
26077         * conform/data/inttypes.h-data [C99-based standards]: Include
26078         stdint.h-data.  Remove all expectations for stdint.h contents.
26079         [C99-based standards] (PRI*): Do not allow.
26080         [C99-based standards] (SCN*): Likewise.
26081         [C99-based standards] (*_t): Likewise.
26082         [C99-based-standards] (PRId8): Expect macro.
26083         [C99-based-standards] (PRIi8): Likewise.
26084         [C99-based-standards] (PRIo8): Likewise.
26085         [C99-based-standards] (PRIu8): Likewise.
26086         [C99-based-standards] (PRIx8): Likewise.
26087         [C99-based-standards] (PRIX8): Likewise.
26088         [C99-based-standards] (SCNd8): Likewise.
26089         [C99-based-standards] (SCNi8): Likewise.
26090         [C99-based-standards] (SCNo8): Likewise.
26091         [C99-based-standards] (SCNu8): Likewise.
26092         [C99-based-standards] (SCNx8): Likewise.
26093         [C99-based-standards] (PRIdLEAST8): Likewise.
26094         [C99-based-standards] (PRIiLEAST8): Likewise.
26095         [C99-based-standards] (PRIoLEAST8): Likewise.
26096         [C99-based-standards] (PRIuLEAST8): Likewise.
26097         [C99-based-standards] (PRIxLEAST8): Likewise.
26098         [C99-based-standards] (PRIXLEAST8): Likewise.
26099         [C99-based-standards] (SCNdLEAST8): Likewise.
26100         [C99-based-standards] (SCNiLEAST8): Likewise.
26101         [C99-based-standards] (SCNoLEAST8): Likewise.
26102         [C99-based-standards] (SCNuLEAST8): Likewise.
26103         [C99-based-standards] (SCNxLEAST8): Likewise.
26104         [C99-based-standards] (PRIdFAST8): Likewise.
26105         [C99-based-standards] (PRIiFAST8): Likewise.
26106         [C99-based-standards] (PRIoFAST8): Likewise.
26107         [C99-based-standards] (PRIuFAST8): Likewise.
26108         [C99-based-standards] (PRIxFAST8): Likewise.
26109         [C99-based-standards] (PRIXFAST8): Likewise.
26110         [C99-based-standards] (SCNdFAST8): Likewise.
26111         [C99-based-standards] (SCNiFAST8): Likewise.
26112         [C99-based-standards] (SCNoFAST8): Likewise.
26113         [C99-based-standards] (SCNuFAST8): Likewise.
26114         [C99-based-standards] (SCNxFAST8): Likewise.
26115         [C99-based-standards] (PRId16): Likewise.
26116         [C99-based-standards] (PRIi16): Likewise.
26117         [C99-based-standards] (PRIo16): Likewise.
26118         [C99-based-standards] (PRIu16): Likewise.
26119         [C99-based-standards] (PRIx16): Likewise.
26120         [C99-based-standards] (PRIX16): Likewise.
26121         [C99-based-standards] (SCNd16): Likewise.
26122         [C99-based-standards] (SCNi16): Likewise.
26123         [C99-based-standards] (SCNo16): Likewise.
26124         [C99-based-standards] (SCNu16): Likewise.
26125         [C99-based-standards] (SCNx16): Likewise.
26126         [C99-based-standards] (PRIdLEAST16): Likewise.
26127         [C99-based-standards] (PRIiLEAST16): Likewise.
26128         [C99-based-standards] (PRIoLEAST16): Likewise.
26129         [C99-based-standards] (PRIuLEAST16): Likewise.
26130         [C99-based-standards] (PRIxLEAST16): Likewise.
26131         [C99-based-standards] (PRIXLEAST16): Likewise.
26132         [C99-based-standards] (SCNdLEAST16): Likewise.
26133         [C99-based-standards] (SCNiLEAST16): Likewise.
26134         [C99-based-standards] (SCNoLEAST16): Likewise.
26135         [C99-based-standards] (SCNuLEAST16): Likewise.
26136         [C99-based-standards] (SCNxLEAST16): Likewise.
26137         [C99-based-standards] (PRIdFAST16): Likewise.
26138         [C99-based-standards] (PRIiFAST16): Likewise.
26139         [C99-based-standards] (PRIoFAST16): Likewise.
26140         [C99-based-standards] (PRIuFAST16): Likewise.
26141         [C99-based-standards] (PRIxFAST16): Likewise.
26142         [C99-based-standards] (PRIXFAST16): Likewise.
26143         [C99-based-standards] (SCNdFAST16): Likewise.
26144         [C99-based-standards] (SCNiFAST16): Likewise.
26145         [C99-based-standards] (SCNoFAST16): Likewise.
26146         [C99-based-standards] (SCNuFAST16): Likewise.
26147         [C99-based-standards] (SCNxFAST16): Likewise.
26148         [C99-based-standards] (PRId32): Likewise.
26149         [C99-based-standards] (PRIi32): Likewise.
26150         [C99-based-standards] (PRIo32): Likewise.
26151         [C99-based-standards] (PRIu32): Likewise.
26152         [C99-based-standards] (PRIx32): Likewise.
26153         [C99-based-standards] (PRIX32): Likewise.
26154         [C99-based-standards] (SCNd32): Likewise.
26155         [C99-based-standards] (SCNi32): Likewise.
26156         [C99-based-standards] (SCNo32): Likewise.
26157         [C99-based-standards] (SCNu32): Likewise.
26158         [C99-based-standards] (SCNx32): Likewise.
26159         [C99-based-standards] (PRIdLEAST32): Likewise.
26160         [C99-based-standards] (PRIiLEAST32): Likewise.
26161         [C99-based-standards] (PRIoLEAST32): Likewise.
26162         [C99-based-standards] (PRIuLEAST32): Likewise.
26163         [C99-based-standards] (PRIxLEAST32): Likewise.
26164         [C99-based-standards] (PRIXLEAST32): Likewise.
26165         [C99-based-standards] (SCNdLEAST32): Likewise.
26166         [C99-based-standards] (SCNiLEAST32): Likewise.
26167         [C99-based-standards] (SCNoLEAST32): Likewise.
26168         [C99-based-standards] (SCNuLEAST32): Likewise.
26169         [C99-based-standards] (SCNxLEAST32): Likewise.
26170         [C99-based-standards] (PRIdFAST32): Likewise.
26171         [C99-based-standards] (PRIiFAST32): Likewise.
26172         [C99-based-standards] (PRIoFAST32): Likewise.
26173         [C99-based-standards] (PRIuFAST32): Likewise.
26174         [C99-based-standards] (PRIxFAST32): Likewise.
26175         [C99-based-standards] (PRIXFAST32): Likewise.
26176         [C99-based-standards] (SCNdFAST32): Likewise.
26177         [C99-based-standards] (SCNiFAST32): Likewise.
26178         [C99-based-standards] (SCNoFAST32): Likewise.
26179         [C99-based-standards] (SCNuFAST32): Likewise.
26180         [C99-based-standards] (SCNxFAST32): Likewise.
26181         [C99-based-standards] (PRId64): Likewise.
26182         [C99-based-standards] (PRIi64): Likewise.
26183         [C99-based-standards] (PRIo64): Likewise.
26184         [C99-based-standards] (PRIu64): Likewise.
26185         [C99-based-standards] (PRIx64): Likewise.
26186         [C99-based-standards] (PRIX64): Likewise.
26187         [C99-based-standards] (SCNd64): Likewise.
26188         [C99-based-standards] (SCNi64): Likewise.
26189         [C99-based-standards] (SCNo64): Likewise.
26190         [C99-based-standards] (SCNu64): Likewise.
26191         [C99-based-standards] (SCNx64): Likewise.
26192         [C99-based-standards] (PRIdLEAST64): Likewise.
26193         [C99-based-standards] (PRIiLEAST64): Likewise.
26194         [C99-based-standards] (PRIoLEAST64): Likewise.
26195         [C99-based-standards] (PRIuLEAST64): Likewise.
26196         [C99-based-standards] (PRIxLEAST64): Likewise.
26197         [C99-based-standards] (PRIXLEAST64): Likewise.
26198         [C99-based-standards] (SCNdLEAST64): Likewise.
26199         [C99-based-standards] (SCNiLEAST64): Likewise.
26200         [C99-based-standards] (SCNoLEAST64): Likewise.
26201         [C99-based-standards] (SCNuLEAST64): Likewise.
26202         [C99-based-standards] (SCNxLEAST64): Likewise.
26203         [C99-based-standards] (PRIdFAST64): Likewise.
26204         [C99-based-standards] (PRIiFAST64): Likewise.
26205         [C99-based-standards] (PRIoFAST64): Likewise.
26206         [C99-based-standards] (PRIuFAST64): Likewise.
26207         [C99-based-standards] (PRIxFAST64): Likewise.
26208         [C99-based-standards] (PRIXFAST64): Likewise.
26209         [C99-based-standards] (SCNdFAST64): Likewise.
26210         [C99-based-standards] (SCNiFAST64): Likewise.
26211         [C99-based-standards] (SCNoFAST64): Likewise.
26212         [C99-based-standards] (SCNuFAST64): Likewise.
26213         [C99-based-standards] (SCNxFAST64): Likewise.
26214         [C99-based-standards] (PRIdMAX): Likewise.
26215         [C99-based-standards] (PRIiMAX): Likewise.
26216         [C99-based-standards] (PRIoMAX): Likewise.
26217         [C99-based-standards] (PRIuMAX): Likewise.
26218         [C99-based-standards] (PRIxMAX): Likewise.
26219         [C99-based-standards] (PRIXMAX): Likewise.
26220         [C99-based-standards] (SCNdMAX): Likewise.
26221         [C99-based-standards] (SCNiMAX): Likewise.
26222         [C99-based-standards] (SCNoMAX): Likewise.
26223         [C99-based-standards] (SCNuMAX): Likewise.
26224         [C99-based-standards] (SCNxMAX): Likewise.
26225         [C99-based-standards] (PRIdPTR): Likewise.
26226         [C99-based-standards] (PRIiPTR): Likewise.
26227         [C99-based-standards] (PRIoPTR): Likewise.
26228         [C99-based-standards] (PRIuPTR): Likewise.
26229         [C99-based-standards] (PRIxPTR): Likewise.
26230         [C99-based-standards] (PRIXPTR): Likewise.
26231         [C99-based-standards] (SCNdPTR): Likewise.
26232         [C99-based-standards] (SCNiPTR): Likewise.
26233         [C99-based-standards] (SCNoPTR): Likewise.
26234         [C99-based-standards] (SCNuPTR): Likewise.
26235         [C99-based-standards] (SCNxPTR): Likewise.
26236         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26237         allow.
26238         * conform/data/stdint.h-data: Update comments to clarify
26239         requirements.
26240         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
26241         type.
26242         [C99-based standards] (INT8_MAX): Likewise.
26243         [C99-based standards] (INT16_MIN): Likewise.
26244         [C99-based standards] (INT16_MAX): Likewise.
26245         [C99-based standards] (INT32_MIN): Likewise.
26246         [C99-based standards] (INT32_MAX): Likewise.
26247         [C99-based standards] (INT64_MIN): Likewise.
26248         [C99-based standards] (INT64_MAX): Likewise.
26249         [C99-based standards] (UINT8_MAX): Likewise.
26250         [C99-based standards] (UINT16_MAX): Likewise.
26251         [C99-based standards] (UINT32_MAX): Likewise.
26252         [C99-based standards] (UINT64_MAX): Likewise.
26253         [C99-based standards] (INT_LEAST8_MIN): Likewise.
26254         [C99-based standards] (INT_LEAST8_MAX): Likewise.
26255         [C99-based standards] (INT_LEAST16_MIN): Likewise.
26256         [C99-based standards] (INT_LEAST16_MAX): Likewise.
26257         [C99-based standards] (INT_LEAST32_MIN): Likewise.
26258         [C99-based standards] (INT_LEAST32_MAX): Likewise.
26259         [C99-based standards] (INT_LEAST64_MIN): Likewise.
26260         [C99-based standards] (INT_LEAST64_MAX): Likewise.
26261         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26262         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26263         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26264         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26265         [C99-based standards] (INT_FAST8_MIN): Likewise.
26266         [C99-based standards] (INT_FAST8_MAX): Likewise.
26267         [C99-based standards] (INT_FAST16_MIN): Likewise.
26268         [C99-based standards] (INT_FAST16_MAX): Likewise.
26269         [C99-based standards] (INT_FAST32_MIN): Likewise.
26270         [C99-based standards] (INT_FAST32_MAX): Likewise.
26271         [C99-based standards] (INT_FAST64_MIN): Likewise.
26272         [C99-based standards] (INT_FAST64_MAX): Likewise.
26273         [C99-based standards] (UINT_FAST8_MAX): Likewise.
26274         [C99-based standards] (UINT_FAST16_MAX): Likewise.
26275         [C99-based standards] (UINT_FAST32_MAX): Likewise.
26276         [C99-based standards] (UINT_FAST64_MAX): Likewise.
26277         [C99-based standards] (INTPTR_MIN): Likewise.
26278         [C99-based standards] (INTPTR_MAX): Likewise.
26279         [C99-based standards] (UINTPTR_MAX): Likewise.
26280         [C99-based standards] (INTMAX_MIN): Likewise.
26281         [C99-based standards] (INTMAX_MAX): Likewise.
26282         [C99-based standards] (UINTMAX_MAX): Likewise.
26283         [C99-based standards] (PTRDIFF_MIN): Likewise.
26284         [C99-based standards] (PTRDIFF_MAX): Likewise.
26285         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26286         [C99-based standards] (SIZE_MAX): Likewise.
26287         [C99-based standards] (WCHAR_MAX): Likewise.
26288         [C99-based standards] (WINT_MAX): Likewise.
26289         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26290         constraint on value.
26291         [C99-based standards] (WCHAR_MIN): Likewise.
26292         [C99-based standards] (WINT_MIN): Likewise.
26293         [C99-based standards] (*_t): Allow.
26294         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26295         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26296         Include math.h-data and complex.h-data.  Remove all expectations
26297         of math.h and complex.h contents.
26298         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26299         at end of line.
26300         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26301         (struct tm): Expect tag.
26302         [C99-based-standards] (wcstof): Expect function.
26303         [C99-based-standards] (wcstold): Likewise.
26304         [C99-based-standards] (wcstoll): Likewise.
26305         [C99-based-standards] (wcstoull): Likewise.
26306         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26307         macro-int-constant.  Specify type.
26308         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26309         constraint on value.
26310         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26311         Specify type.
26312         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26313         Specify value.
26314         [ISO C standards]: Do not allow headers.
26315         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26316         wcs[abcdefghijklmnopqrstuvwxyz]*.
26317         [ISO C standards] (*_t): Do not allow.
26318         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26319         Expect function.
26320         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26321         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26322         Specify type.
26323         [ISO C standards]: Do not allow headers.
26324         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26325         is[abcdefghijklmnopqrstuvwxyz]*.
26326         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26327         to[abcdefghijklmnopqrstuvwxyz]*.
26328         [ISO C standards] (*_t): Do not allow.
26329         * conform/data/stdalign.h-data: New file.
26330         * conform/data/stdbool.h-data: Likewise.
26331         * conform/data/stdnoreturn.h-data: Likewise.
26332
26333 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26334
26335         [BZ #14815]
26336         * manual/filesys.texi (Directory Entries): Typo fix.
26337         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26338
26339 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26340
26341         * elf/elf.h (EM_AARCH64): New macro.
26342         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26343         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26344         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26345         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26346         (R_AARCH64_TLSDESC): Likewise.
26347         (NT_ARM_TLS): Likewise.
26348         (NT_ARM_HW_BREAK): Likewise.
26349         (NT_ARM_HW_WATCH): Likewise.
26350
26351 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26352
26353         [BZ #14811]
26354         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26355         (__ieee754_powl): Saturate nonzero exponents with absolute value
26356         below 0x1p-79 to +/- 0x1p-79.
26357         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26358         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26359         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26360         nonzero exponents with absolute value below 0x1p-32 to +/-
26361         0x1p-32.
26362         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26363         (__ieee754_powl): Saturate nonzero exponents with absolute value
26364         below 0x1p-79 to +/- 0x1p-79.
26365         * math/libm-test.inc (pow_test): Add more tests.
26366
26367 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26368
26369         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26370         _dl_s390_cap_flags with kernel. Increase string length.
26371         (_dl_s390_platforms): Add z196 and zEC12.
26372
26373 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26374
26375         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26376         Change XOPEN21K to XOPEN2K.
26377
26378 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26379
26380         * string/memmove.c: Use memcpy when possible.
26381
26382 2012-11-06  Andreas Jaeger  <aj@suse.de>
26383
26384         * po/eo.po: Update from translation team.
26385
26386 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26387
26388         [BZ #14793]
26389         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26390         exponent and small x and y exponents, scale x or y up.  Increase
26391         by 2 the exponent used in scaling up.
26392         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26393         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26394         * math/libm-test.inc (fma_test): Add more tests.
26395         (fma_test_towardzero): Likewise.
26396         (fma_test_downward): Likewise.
26397         (fma_test_upward): Likewise.
26398
26399 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26400
26401         [BZ #14805]
26402         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26403         fenv_t *.
26404
26405         [BZ #14801]
26406         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26407         namespace for names of struct fields.
26408         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26409         fenv_t fields.
26410         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26411         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26412
26413 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26414
26415         [BZ #3665]
26416         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26417
26418 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26419
26420         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26421         PTR_DEMANGLE.
26422
26423         [BZ #5246]
26424         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26425         PTR_DEMANGLE.
26426
26427 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
26428
26429         [BZ #14797]
26430         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26431         definitely overflow as x * y not x * y + z.
26432         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26433         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26434         * math/libm-test.inc (fma_test): Add more tests.
26435         (fma_test_towardzero): Likewise.
26436         (fma_test_downward): Likewise.
26437         (fma_test_upward): Likewise.
26438
26439 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26440
26441         [BZ #157]
26442
26443         * include/stub-tag.h: Remove file.
26444         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26445         '#include' of it.
26446         * manual/maint.texi (Porting): Don't reference it.
26447         * Makerules ($(objpfx)stubs): Likewise.
26448         * dirent/closedir.c: Don't include <stub-tag.h>.
26449         * dirent/dirfd.c: Likewise.
26450         * dirent/fdopendir.c: Likewise.
26451         * dirent/getdents.c: Likewise.
26452         * dirent/getdents64.c: Likewise.
26453         * dirent/opendir.c: Likewise.
26454         * dirent/readdir.c: Likewise.
26455         * dirent/readdir64.c: Likewise.
26456         * dirent/readdir64_r.c: Likewise.
26457         * dirent/readdir_r.c: Likewise.
26458         * dirent/rewinddir.c: Likewise.
26459         * dirent/seekdir.c: Likewise.
26460         * dirent/telldir.c: Likewise.
26461         * gmon/profil.c: Likewise.
26462         * grp/setgroups.c: Likewise.
26463         * inet/if_index.c: Likewise.
26464         * io/access.c: Likewise.
26465         * io/chdir.c: Likewise.
26466         * io/chmod.c: Likewise.
26467         * io/chown.c: Likewise.
26468         * io/close.c: Likewise.
26469         * io/dup.c: Likewise.
26470         * io/dup2.c: Likewise.
26471         * io/dup3.c: Likewise.
26472         * io/euidaccess.c: Likewise.
26473         * io/faccessat.c: Likewise.
26474         * io/fchdir.c: Likewise.
26475         * io/fchmod.c: Likewise.
26476         * io/fchmodat.c: Likewise.
26477         * io/fchown.c: Likewise.
26478         * io/fchownat.c: Likewise.
26479         * io/fcntl.c: Likewise.
26480         * io/flock.c: Likewise.
26481         * io/fstatfs.c: Likewise.
26482         * io/fstatfs64.c: Likewise.
26483         * io/fstatvfs.c: Likewise.
26484         * io/fstatvfs64.c: Likewise.
26485         * io/futimens.c: Likewise.
26486         * io/fxstat.c: Likewise.
26487         * io/fxstat64.c: Likewise.
26488         * io/fxstatat.c: Likewise.
26489         * io/fxstatat64.c: Likewise.
26490         * io/getcwd.c: Likewise.
26491         * io/isatty.c: Likewise.
26492         * io/lchmod.c: Likewise.
26493         * io/lchown.c: Likewise.
26494         * io/link.c: Likewise.
26495         * io/linkat.c: Likewise.
26496         * io/lseek.c: Likewise.
26497         * io/lseek64.c: Likewise.
26498         * io/lxstat64.c: Likewise.
26499         * io/mkdir.c: Likewise.
26500         * io/mkdirat.c: Likewise.
26501         * io/mkfifo.c: Likewise.
26502         * io/mkfifoat.c: Likewise.
26503         * io/open.c: Likewise.
26504         * io/open64.c: Likewise.
26505         * io/openat.c: Likewise.
26506         * io/openat64.c: Likewise.
26507         * io/pipe.c: Likewise.
26508         * io/pipe2.c: Likewise.
26509         * io/poll.c: Likewise.
26510         * io/posix_fadvise.c: Likewise.
26511         * io/posix_fadvise64.c: Likewise.
26512         * io/posix_fallocate.c: Likewise.
26513         * io/posix_fallocate64.c: Likewise.
26514         * io/read.c: Likewise.
26515         * io/readlink.c: Likewise.
26516         * io/readlinkat.c: Likewise.
26517         * io/rmdir.c: Likewise.
26518         * io/sendfile.c: Likewise.
26519         * io/sendfile64.c: Likewise.
26520         * io/statfs.c: Likewise.
26521         * io/statfs64.c: Likewise.
26522         * io/statvfs.c: Likewise.
26523         * io/statvfs64.c: Likewise.
26524         * io/symlink.c: Likewise.
26525         * io/symlinkat.c: Likewise.
26526         * io/ttyname.c: Likewise.
26527         * io/ttyname_r.c: Likewise.
26528         * io/umask.c: Likewise.
26529         * io/unlink.c: Likewise.
26530         * io/unlinkat.c: Likewise.
26531         * io/utime.c: Likewise.
26532         * io/utimensat.c: Likewise.
26533         * io/write.c: Likewise.
26534         * io/xmknod.c: Likewise.
26535         * io/xmknodat.c: Likewise.
26536         * io/xstat.c: Likewise.
26537         * io/xstat64.c: Likewise.
26538         * login/getpt.c: Likewise.
26539         * login/grantpt.c: Likewise.
26540         * login/unlockpt.c: Likewise.
26541         * math/e_acoshl.c: Likewise.
26542         * math/e_acosl.c: Likewise.
26543         * math/e_asinl.c: Likewise.
26544         * math/e_atan2l.c: Likewise.
26545         * math/e_atanhl.c: Likewise.
26546         * math/e_coshl.c: Likewise.
26547         * math/e_expl.c: Likewise.
26548         * math/e_fmodl.c: Likewise.
26549         * math/e_gammal_r.c: Likewise.
26550         * math/e_hypotl.c: Likewise.
26551         * math/e_j0l.c: Likewise.
26552         * math/e_j1l.c: Likewise.
26553         * math/e_jnl.c: Likewise.
26554         * math/e_lgammal_r.c: Likewise.
26555         * math/e_log10l.c: Likewise.
26556         * math/e_log2l.c: Likewise.
26557         * math/e_logl.c: Likewise.
26558         * math/e_powl.c: Likewise.
26559         * math/e_rem_pio2l.c: Likewise.
26560         * math/e_sinhl.c: Likewise.
26561         * math/e_sqrtl.c: Likewise.
26562         * math/fclrexcpt.c: Likewise.
26563         * math/fedisblxcpt.c: Likewise.
26564         * math/feenablxcpt.c: Likewise.
26565         * math/fegetenv.c: Likewise.
26566         * math/fegetexcept.c: Likewise.
26567         * math/fegetround.c: Likewise.
26568         * math/feholdexcpt.c: Likewise.
26569         * math/fesetenv.c: Likewise.
26570         * math/fesetround.c: Likewise.
26571         * math/feupdateenv.c: Likewise.
26572         * math/fgetexcptflg.c: Likewise.
26573         * math/fraiseexcpt.c: Likewise.
26574         * math/fsetexcptflg.c: Likewise.
26575         * math/ftestexcept.c: Likewise.
26576         * math/k_cosl.c: Likewise.
26577         * math/k_rem_pio2l.c: Likewise.
26578         * math/k_sinl.c: Likewise.
26579         * math/k_tanl.c: Likewise.
26580         * math/s_asinhl.c: Likewise.
26581         * math/s_atanl.c: Likewise.
26582         * math/s_cbrtl.c: Likewise.
26583         * math/s_erfl.c: Likewise.
26584         * math/s_expm1l.c: Likewise.
26585         * math/s_log1pl.c: Likewise.
26586         * math/s_tanhl.c: Likewise.
26587         * misc/acct.c: Likewise.
26588         * misc/brk.c: Likewise.
26589         * misc/chflags.c: Likewise.
26590         * misc/chroot.c: Likewise.
26591         * misc/fchflags.c: Likewise.
26592         * misc/fgetxattr.c: Likewise.
26593         * misc/flistxattr.c: Likewise.
26594         * misc/fremovexattr.c: Likewise.
26595         * misc/fsetxattr.c: Likewise.
26596         * misc/fsync.c: Likewise.
26597         * misc/ftruncate.c: Likewise.
26598         * misc/futimes.c: Likewise.
26599         * misc/futimesat.c: Likewise.
26600         * misc/getdomain.c: Likewise.
26601         * misc/getdtsz.c: Likewise.
26602         * misc/gethostid.c: Likewise.
26603         * misc/gethostname.c: Likewise.
26604         * misc/getloadavg.c: Likewise.
26605         * misc/getpagesize.c: Likewise.
26606         * misc/getsysstats.c: Likewise.
26607         * misc/getxattr.c: Likewise.
26608         * misc/gtty.c: Likewise.
26609         * misc/ioctl.c: Likewise.
26610         * misc/lgetxattr.c: Likewise.
26611         * misc/listxattr.c: Likewise.
26612         * misc/llistxattr.c: Likewise.
26613         * misc/lremovexattr.c: Likewise.
26614         * misc/lsetxattr.c: Likewise.
26615         * misc/lutimes.c: Likewise.
26616         * misc/madvise.c: Likewise.
26617         * misc/mincore.c: Likewise.
26618         * misc/mlock.c: Likewise.
26619         * misc/mlockall.c: Likewise.
26620         * misc/mmap.c: Likewise.
26621         * misc/mprotect.c: Likewise.
26622         * misc/msync.c: Likewise.
26623         * misc/munlock.c: Likewise.
26624         * misc/munlockall.c: Likewise.
26625         * misc/munmap.c: Likewise.
26626         * misc/preadv.c: Likewise.
26627         * misc/preadv64.c: Likewise.
26628         * misc/ptrace.c: Likewise.
26629         * misc/pwritev.c: Likewise.
26630         * misc/pwritev64.c: Likewise.
26631         * misc/readv.c: Likewise.
26632         * misc/reboot.c: Likewise.
26633         * misc/remap_file_pages.c: Likewise.
26634         * misc/removexattr.c: Likewise.
26635         * misc/revoke.c: Likewise.
26636         * misc/select.c: Likewise.
26637         * misc/setdomain.c: Likewise.
26638         * misc/setegid.c: Likewise.
26639         * misc/seteuid.c: Likewise.
26640         * misc/sethostid.c: Likewise.
26641         * misc/sethostname.c: Likewise.
26642         * misc/setregid.c: Likewise.
26643         * misc/setreuid.c: Likewise.
26644         * misc/setxattr.c: Likewise.
26645         * misc/sstk.c: Likewise.
26646         * misc/stty.c: Likewise.
26647         * misc/swapoff.c: Likewise.
26648         * misc/swapon.c: Likewise.
26649         * misc/sync.c: Likewise.
26650         * misc/syncfs.c: Likewise.
26651         * misc/syscall.c: Likewise.
26652         * misc/truncate.c: Likewise.
26653         * misc/ualarm.c: Likewise.
26654         * misc/usleep.c: Likewise.
26655         * misc/ustat.c: Likewise.
26656         * misc/utimes.c: Likewise.
26657         * misc/vhangup.c: Likewise.
26658         * misc/writev.c: Likewise.
26659         * posix/_exit.c: Likewise.
26660         * posix/alarm.c: Likewise.
26661         * posix/execve.c: Likewise.
26662         * posix/fexecve.c: Likewise.
26663         * posix/fork.c: Likewise.
26664         * posix/fpathconf.c: Likewise.
26665         * posix/getaddrinfo.c: Likewise.
26666         * posix/getegid.c: Likewise.
26667         * posix/geteuid.c: Likewise.
26668         * posix/getgid.c: Likewise.
26669         * posix/getgroups.c: Likewise.
26670         * posix/getlogin.c: Likewise.
26671         * posix/getlogin_r.c: Likewise.
26672         * posix/getpgid.c: Likewise.
26673         * posix/getpid.c: Likewise.
26674         * posix/getppid.c: Likewise.
26675         * posix/getresgid.c: Likewise.
26676         * posix/getresuid.c: Likewise.
26677         * posix/getsid.c: Likewise.
26678         * posix/getuid.c: Likewise.
26679         * posix/glob64.c: Likewise.
26680         * posix/nanosleep.c: Likewise.
26681         * posix/pathconf.c: Likewise.
26682         * posix/pause.c: Likewise.
26683         * posix/posix_madvise.c: Likewise.
26684         * posix/pread.c: Likewise.
26685         * posix/pread64.c: Likewise.
26686         * posix/pwrite.c: Likewise.
26687         * posix/pwrite64.c: Likewise.
26688         * posix/sched_getaffinity.c: Likewise.
26689         * posix/sched_getp.c: Likewise.
26690         * posix/sched_gets.c: Likewise.
26691         * posix/sched_primax.c: Likewise.
26692         * posix/sched_primin.c: Likewise.
26693         * posix/sched_rr_gi.c: Likewise.
26694         * posix/sched_setaffinity.c: Likewise.
26695         * posix/sched_setp.c: Likewise.
26696         * posix/sched_sets.c: Likewise.
26697         * posix/sched_yield.c: Likewise.
26698         * posix/setgid.c: Likewise.
26699         * posix/setlogin.c: Likewise.
26700         * posix/setpgid.c: Likewise.
26701         * posix/setresgid.c: Likewise.
26702         * posix/setresuid.c: Likewise.
26703         * posix/setsid.c: Likewise.
26704         * posix/setuid.c: Likewise.
26705         * posix/sleep.c: Likewise.
26706         * posix/spawni.c: Likewise.
26707         * posix/sysconf.c: Likewise.
26708         * posix/times.c: Likewise.
26709         * posix/wait.c: Likewise.
26710         * posix/wait3.c: Likewise.
26711         * posix/wait4.c: Likewise.
26712         * posix/waitpid.c: Likewise.
26713         * resolv/gai_sigqueue.c: Likewise.
26714         * resource/getpriority.c: Likewise.
26715         * resource/getrlimit.c: Likewise.
26716         * resource/getrusage.c: Likewise.
26717         * resource/nice.c: Likewise.
26718         * resource/setpriority.c: Likewise.
26719         * resource/setrlimit.c: Likewise.
26720         * resource/ulimit.c: Likewise.
26721         * rt/aio_cancel.c: Likewise.
26722         * rt/aio_fsync.c: Likewise.
26723         * rt/aio_read.c: Likewise.
26724         * rt/aio_sigqueue.c: Likewise.
26725         * rt/aio_suspend.c: Likewise.
26726         * rt/aio_write.c: Likewise.
26727         * rt/clock_getres.c: Likewise.
26728         * rt/clock_gettime.c: Likewise.
26729         * rt/clock_nanosleep.c: Likewise.
26730         * rt/clock_settime.c: Likewise.
26731         * rt/lio_listio.c: Likewise.
26732         * rt/mq_close.c: Likewise.
26733         * rt/mq_getattr.c: Likewise.
26734         * rt/mq_notify.c: Likewise.
26735         * rt/mq_open.c: Likewise.
26736         * rt/mq_receive.c: Likewise.
26737         * rt/mq_send.c: Likewise.
26738         * rt/mq_setattr.c: Likewise.
26739         * rt/mq_timedreceive.c: Likewise.
26740         * rt/mq_timedsend.c: Likewise.
26741         * rt/mq_unlink.c: Likewise.
26742         * rt/shm_open.c: Likewise.
26743         * rt/shm_unlink.c: Likewise.
26744         * rt/timer_create.c: Likewise.
26745         * rt/timer_delete.c: Likewise.
26746         * rt/timer_getoverr.c: Likewise.
26747         * rt/timer_gettime.c: Likewise.
26748         * rt/timer_settime.c: Likewise.
26749         * setjmp/__longjmp.c: Likewise.
26750         * setjmp/setjmp.c: Likewise.
26751         * signal/kill.c: Likewise.
26752         * signal/killpg.c: Likewise.
26753         * signal/raise.c: Likewise.
26754         * signal/sigaction.c: Likewise.
26755         * signal/sigaltstack.c: Likewise.
26756         * signal/sigblock.c: Likewise.
26757         * signal/sigignore.c: Likewise.
26758         * signal/sigintr.c: Likewise.
26759         * signal/signal.c: Likewise.
26760         * signal/sigpause.c: Likewise.
26761         * signal/sigpending.c: Likewise.
26762         * signal/sigqueue.c: Likewise.
26763         * signal/sigreturn.c: Likewise.
26764         * signal/sigset.c: Likewise.
26765         * signal/sigsetmask.c: Likewise.
26766         * signal/sigstack.c: Likewise.
26767         * signal/sigsuspend.c: Likewise.
26768         * signal/sigtimedwait.c: Likewise.
26769         * signal/sigvec.c: Likewise.
26770         * signal/sigwait.c: Likewise.
26771         * signal/sigwaitinfo.c: Likewise.
26772         * signal/sysv_signal.c: Likewise.
26773         * socket/accept.c: Likewise.
26774         * socket/accept4.c: Likewise.
26775         * socket/bind.c: Likewise.
26776         * socket/connect.c: Likewise.
26777         * socket/getpeername.c: Likewise.
26778         * socket/getsockname.c: Likewise.
26779         * socket/getsockopt.c: Likewise.
26780         * socket/isfdtype.c: Likewise.
26781         * socket/listen.c: Likewise.
26782         * socket/recv.c: Likewise.
26783         * socket/recvfrom.c: Likewise.
26784         * socket/recvmsg.c: Likewise.
26785         * socket/send.c: Likewise.
26786         * socket/sendmsg.c: Likewise.
26787         * socket/sendto.c: Likewise.
26788         * socket/setsockopt.c: Likewise.
26789         * socket/shutdown.c: Likewise.
26790         * socket/sockatmark.c: Likewise.
26791         * socket/socket.c: Likewise.
26792         * socket/socketpair.c: Likewise.
26793         * stdio-common/ctermid.c: Likewise.
26794         * stdio-common/cuserid.c: Likewise.
26795         * stdio-common/remove.c: Likewise.
26796         * stdio-common/rename.c: Likewise.
26797         * stdio-common/renameat.c: Likewise.
26798         * stdio-common/tempname.c: Likewise.
26799         * stdlib/getcontext.c: Likewise.
26800         * stdlib/makecontext.c: Likewise.
26801         * stdlib/setcontext.c: Likewise.
26802         * stdlib/swapcontext.c: Likewise.
26803         * stdlib/system.c: Likewise.
26804         * streams/fattach.c: Likewise.
26805         * streams/fdetach.c: Likewise.
26806         * streams/getmsg.c: Likewise.
26807         * streams/getpmsg.c: Likewise.
26808         * streams/putmsg.c: Likewise.
26809         * streams/putpmsg.c: Likewise.
26810         * sysdeps/unix/bsd/getpt.c: Likewise.
26811         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26812         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26813         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26815         Likewise.
26816         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26817         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26818         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26819         * sysvipc/msgctl.c: Likewise.
26820         * sysvipc/msgget.c: Likewise.
26821         * sysvipc/msgrcv.c: Likewise.
26822         * sysvipc/msgsnd.c: Likewise.
26823         * sysvipc/semctl.c: Likewise.
26824         * sysvipc/semget.c: Likewise.
26825         * sysvipc/semop.c: Likewise.
26826         * sysvipc/semtimedop.c: Likewise.
26827         * sysvipc/shmat.c: Likewise.
26828         * sysvipc/shmctl.c: Likewise.
26829         * sysvipc/shmdt.c: Likewise.
26830         * sysvipc/shmget.c: Likewise.
26831         * termios/tcdrain.c: Likewise.
26832         * termios/tcflow.c: Likewise.
26833         * termios/tcflush.c: Likewise.
26834         * termios/tcgetattr.c: Likewise.
26835         * termios/tcgetpgrp.c: Likewise.
26836         * termios/tcsendbrk.c: Likewise.
26837         * termios/tcsetattr.c: Likewise.
26838         * termios/tcsetpgrp.c: Likewise.
26839         * time/adjtime.c: Likewise.
26840         * time/clock.c: Likewise.
26841         * time/getitimer.c: Likewise.
26842         * time/gettimeofday.c: Likewise.
26843         * time/setitimer.c: Likewise.
26844         * time/settimeofday.c: Likewise.
26845         * time/stime.c: Likewise.
26846         * time/time.c: Likewise.
26847
26848 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
26849
26850         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26851         /usr/old/bin.
26852
26853         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26854         instead of spaces.
26855         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26856
26857 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
26858
26859         [BZ #14796]
26860         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26861         FE_TONEAREST before applying Dekker multiplication and Knuth
26862         addition.  Clear inexact exceptions and check for exact zero
26863         results afterwards.
26864         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26865         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26866         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26867         * math/libm-test.inc (fma_test): Add more tests.
26868         (fma_test_towardzero): Likewise.
26869         (fma_test_downward): Likewise.
26870         (fma_test_upward): Likewise.
26871         * sysdeps/generic/math_private.h (default_libc_fesetround): New
26872         function.
26873         (libc_fesetround): New macro.
26874         (libc_fesetroundf): Likewise.
26875         (libc_fesetroundl): Likewise.
26876         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26877         function.
26878         (libc_fesetround_387): Likewise.
26879         (libc_fesetroundf): New macro.
26880         (libc_fesetround): Likewise.
26881         (libc_fesetroundl): Likewise.
26882         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26883         function.
26884         (libc_fesetroundf): New macro.
26885         (libc_fesetround): Likewise.
26886         (libc_fesetroundl): Likewise.
26887         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26888         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26889         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26890         libm_hidden_ver.
26891         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26892         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26893         libm_hidden_def.
26894         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26895         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26896         libm_hidden_ver.
26897         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26898         libm_hidden_def.
26899
26900         [BZ #3439]
26901         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26902         integer constant usable in #if and use that to give value to enum
26903         constant.
26904         (FE_DIVBYZERO): Likewise.
26905         (FE_UNDERFLOW): Likewise.
26906         (FE_OVERFLOW): Likewise.
26907         (FE_INVALID): Likewise.
26908         (FE_INVALID_SNAN): Likewise.
26909         (FE_INVALID_ISI): Likewise.
26910         (FE_INVALID_IDI): Likewise.
26911         (FE_INVALID_ZDZ): Likewise.
26912         (FE_INVALID_IMZ): Likewise.
26913         (FE_INVALID_COMPARE): Likewise.
26914         (FE_INVALID_SOFTWARE): Likewise.
26915         (FE_INVALID_SQRT): Likewise.
26916         (FE_INVALID_INTEGER_CONVERSION): Likewise.
26917         (FE_TONEAREST): Likewise.
26918         (FE_TOWARDZERO): Likewise.
26919         (FE_UPWARD): Likewise.
26920         (FE_DOWNWARD): Likewise.
26921         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26922         (FE_DIVBYZERO): Likewise.
26923         (FE_OVERFLOW): Likewise.
26924         (FE_UNDERFLOW): Likewise.
26925         (FE_INEXACT): Likewise.
26926         (FE_TONEAREST): Likewise.
26927         (FE_DOWNWARD): Likewise.
26928         (FE_UPWARD): Likewise.
26929         (FE_TOWARDZERO): Likewise.
26930         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26931         (FE_UNDERFLOW): Likewise.
26932         (FE_OVERFLOW): Likewise.
26933         (FE_DIVBYZERO): Likewise.
26934         (FE_INVALID): Likewise.
26935         (FE_TONEAREST): Likewise.
26936         (FE_TOWARDZERO): Likewise.
26937         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26938         (FE_OVERFLOW): Likewise.
26939         (FE_UNDERFLOW): Likewise.
26940         (FE_DIVBYZERO): Likewise.
26941         (FE_INEXACT): Likewise.
26942         (FE_TONEAREST): Likewise.
26943         (FE_TOWARDZERO): Likewise.
26944         (FE_UPWARD): Likewise.
26945         (FE_DOWNWARD): Likewise.
26946         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26947         (FE_DIVBYZERO): Likewise.
26948         (FE_OVERFLOW): Likewise.
26949         (FE_UNDERFLOW): Likewise.
26950         (FE_INEXACT): Likewise.
26951         (FE_TONEAREST): Likewise.
26952         (FE_DOWNWARD): Likewise.
26953         (FE_UPWARD): Likewise.
26954         (FE_TOWARDZERO): Likewise.
26955
26956 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
26957
26958         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26959
26960 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
26961
26962         * scripts/cross-test-ssh.sh (command): Use newlines to separate
26963         commands.  Quote $PWD.
26964         (blacklist_exports): Don't use remove_newlines.  Replace "declare
26965         -x" by "export".
26966         (remove_newlines): Remove.
26967
26968 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
26969
26970         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26971         * stdlib/stdlib.h (atof): Moved to ...
26972         * include/bits/stdlib-float.h: Here.  New file.
26973         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26974         * stdlib/bits/stdlib-float.h: New file.
26975         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26976         -mno-sse -mno-mmx.
26977         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26978         <xmmintrin.h>.
26979
26980 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26981
26982         * conform/conformtest.pl (@headers): Add fenv.h.
26983         * conform/data/fenv.h-data: New file.
26984         * include/fenv.h [_ISOMAC]: Disable all contents of file except
26985         include of <math/fenv.h>.
26986
26987         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26988         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26989         && !UNIX98].  Enables tests for XOPEN2K8.
26990         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26991         POSIX2008]: Likewise.
26992
26993         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26994         (struct rusage): Do not expect type or its members.
26995
26996         [BZ #3439]
26997         * math/math.h (FP_NAN): Define macro to integer constant usable in
26998         #if and use that to give value to enum constant.
26999         (FP_INFINITE): Likewise.
27000         (FP_ZERO): Likewise.
27001         (FP_SUBNORMAL): Likewise.
27002         (FP_NORMAL): Likewise.
27003
27004 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
27005
27006         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27007         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27008         arguments.
27009
27010 2012-11-02  Roland McGrath  <roland@hack.frob.com>
27011
27012         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27013         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27014         autoconf-time if not.
27015         * configure.in: Remove AC_PREREQ.
27016
27017 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27018
27019         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27020         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27021         of the internal implementation.
27022
27023 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27024
27025         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27026         except include of <misc/sys/syslog.h>.
27027
27028 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27029
27030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27031         function returns with a NULL context exit with zero.
27032
27033 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27034
27035         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27036
27037 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
27038
27039         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27040         (run_program_cmd): This.
27041         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27042         (tst_langinfo): New variable.  Use it.
27043
27044 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
27045
27046         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27047         floating point opcodes.
27048
27049 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27050
27051         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27052         variable.
27053
27054         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27055
27056         * sysdeps/mach/hurd/powerpc: Remove directory.
27057         * sysdeps/mach/powerpc: Likewise.
27058
27059 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27060
27061         * scripts/check-local-headers.sh: Ignore c++ headers.
27062
27063 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27064
27065         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27066         __libc_cleanup_region_start argument.
27067
27068 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
27069
27070         [BZ #14784]
27071         [BZ #14785]
27072         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27073         x * y using scaling, not as x * y + z.
27074         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27075         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27076         * math/libm-test.inc (fma_test): Add more tests.
27077         (fma_test_towardzero): Likewise.
27078         (fma_test_downward): Likewise.
27079         (fma_test_upward): Likewise.
27080
27081 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27082
27083         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27084
27085 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27086
27087         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27088         New variable.
27089
27090 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
27091
27092         * rt/tst-shm.c (worker): Correct checking for mmap failure.
27093
27094 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27095
27096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27097         Fix sort order.
27098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27099         Likewise.
27100
27101 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27102
27103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27104         Fix the order of the list for glibc 2.17.
27105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27106         Likewise.
27107
27108 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27109
27110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27111
27112 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27113
27114         [BZ #14610]
27115         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27116         for low part of x being zero before using __atanl (y).
27117         * math/libm-test.inc (atan2_test): Add another test.
27118
27119         * manual/install.texi (Configuring and compiling): Document
27120         general use of test-wrapper and test-wrapper-env.
27121         * INSTALL: Regenerated.
27122
27123         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27124         (__fma): Do not extract and scale down low bits on after-rounding
27125         systems when result rounded to normal precision would have normal
27126         exponent.
27127         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27128         (__fmal): Do not extract and scale down low bits on after-rounding
27129         systems when result rounded to normal precision would have normal
27130         exponent.
27131         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27132         (__fmal): Do not extract and scale down low bits on after-rounding
27133         systems when result rounded to normal precision would have normal
27134         exponent.
27135         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27136         macro.
27137         (fma_test): Add more tests.
27138         (fma_test_towardzero): Likewise.
27139         (fma_test_downward): Likewise.
27140         (fma_test_upward): Likewise.
27141
27142 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
27143
27144         * sysdeps/i386/tininess.h: Renamed to ...
27145         * sysdeps/x86/tininess.h: This.
27146         * sysdeps/x86_64/tininess.h: Removed.
27147
27148 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27149
27150         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27151         input.  Use $(build-program-cmd).
27152         ($(objpfx)tst-array1-static.out): Likewise.
27153         ($(objpfx)tst-array2.out): Likewise.
27154         ($(objpfx)tst-array3.out): Likewise.
27155         ($(objpfx)tst-array4.out): Likewise.
27156         ($(objpfx)tst-array5.out): Likewise.
27157         ($(objpfx)tst-array5-static.out): Likewise.
27158
27159 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
27160
27161         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27162         if defined.
27163
27164         * nss/nsswitch.h (nss_interface_function): Provide new
27165         macro for use with NSS functions.
27166         * grp/initgroups.c: Use new macro.
27167         * nss/getXXbyYY.c: Likewise.
27168         * nss/getXXbyYY_r.c: Likewise.
27169         * nss/getXXent.c: Likewise.
27170         * nss/getXXent_r.c: Likewise.
27171         * sysdeps/posix/getaddrinfo.c: Likewise.
27172
27173 2012-10-30  Andreas Jaeger  <aj@suse.de>
27174
27175         * po/ru.po: Update Russion translation from translation project.
27176
27177 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27178
27179         [BZ #14152]
27180         [BZ #14783]
27181         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27182         result and shift together with sticky bit instead of replicating
27183         round-to-nearest rounding.
27184         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27185         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27186         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
27187         missing underflow exceptions.
27188         (fma_test_towardzero): Add more tests.
27189         (fma_test_downward): Likewise.
27190         (fma_test_upward): Likewise.
27191
27192         [BZ #14047]
27193         * sysdeps/generic/tininess.h: New file.
27194         * sysdeps/i386/tininess.h: Likewise.
27195         * sysdeps/sh/tininess.h: Likewise.
27196         * sysdeps/x86_64/tininess.h: Likewise.
27197         * stdlib/tst-strtod-underflow.c: Likewise.
27198         * stdlib/tst-tininess.c: Likewise.
27199         * stdlib/strtod_l.c: Include <tininess.h>.
27200         (round_and_return): Do not set errno for exact underflow cases.
27201         Force an underflow exception when setting errno for underflow.
27202         Determine underflow based on rounding to normal precision if
27203         TININESS_AFTER_ROUNDING.
27204         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27205         ERANGE for exact underflow cases.
27206         * stdlib/Makefile (tests): Add tst-tininess and
27207         tst-strtod-underflow.
27208         ($(objpfx)tst-tininess): Use $(link-libm).
27209         ($(objpfx)tst-strtod-underflow): Likewise.
27210
27211 2012-10-30  Andreas Jaeger  <aj@suse.de>
27212
27213         [BZ#14767]
27214         * elf/Makefile (tests): Remove conditional for have-initfini-array
27215         since this is now always required and the variable does not exist
27216         anymore.
27217         (tests-static): Likewise.
27218         (modules-names): Likewise.
27219
27220         * po/eo.po: Add Esperanto translation from translation project.
27221
27222         * elf/tst-array1.c (fini_array): Make writeable so that it can be
27223         merged with constructor/destructor.
27224         (init_array): Likewise.
27225         * elf/tst-array2dep.c (fini_array): Likewise.
27226         (init_array): Likewise.
27227
27228 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
27229
27230         * manual/message.texi: Delete @cartouche tags.
27231
27232 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
27233
27234         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27235         EOPNOTSUPP.
27236         * sysdeps/mach/hurd/fsync.c: Likewise.
27237
27238         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27239         [_POSIX_REALTIME_SIGNALS]: Change condition to
27240         [_POSIX_REALTIME_SIGNALS > 0].
27241
27242 2012-10-27  Andreas Jaeger  <aj@suse.de>
27243
27244         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27245         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27246         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27247         [__WORDSIZE != 64]: Likewise.
27248
27249 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
27250
27251         *  iconvdata/tst-table.sh: Remove ${SHELL}.
27252         *  iconvdata/tst-tables.sh: Likewise.
27253
27254 2012-10-25  David S. Miller  <davem@davemloft.net>
27255
27256         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27257         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27258         of strtoull.
27259
27260         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27261         ifunc-impl-list.c
27262         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27263         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27264         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27265         file.
27266
27267 2012-10-25  Roland McGrath  <roland@hack.frob.com>
27268
27269         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27270         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27271         __getdirentries.
27272
27273 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27274             Jim Blandy  <jimb@codesourcery.com>
27275
27276         * scripts/cross-test-ssh.sh: New file.
27277         * manual/install.texi (Configuring and compiling): Document use of
27278         cross-test-ssh.sh.
27279         * INSTALL: Regenerated.
27280
27281 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27282
27283         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27284         EOPNOTSUPP.
27285
27286 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27287
27288         * Makeconfig (run-program-prefix): Fix comment.
27289
27290 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27291             Jim Blandy  <jimb@codesourcery.com>
27292
27293         * Makeconfig (test-wrapper): New variable,
27294         (test-wrapper-env): Likewise.
27295         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27296         (run-built-tests): Define to yes.
27297         (run-program-prefix): Use $(test-wrapper).
27298         (built-program-cmd): Likewise.
27299         * Rules (make-test-out): Use $(test-wrapper-env) and
27300         $(host-built-program-cmd).
27301         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27302         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27303         tst-pathopt.sh.
27304         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27305         $(test-wrapper-env) to tst-rtld-load-self.sh.
27306         ($(objpfx)order2.out): Use $(test-wrapper).
27307         ($(objpfx)tst-initorder.out): Likewise.
27308         ($(objpfx)tst-initorder2.out): Likewise.
27309         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27310         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27311         (test_wrapper_env): New variable.  Use it to run ld.so.
27312         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27313         Use it to run ld.so.
27314         (test_wrapper_env): Likewise.
27315         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27316         $(test-wrapper) to run-iconv-test.sh.
27317         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27318         (ICONV): Use $test_wrapper.
27319         * posix/Makefile ($(objpfx)globtest.out): Pass
27320         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27321         globtest.sh, not $(run-program-prefix).
27322         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27323         (test_wrapper): Likewise.
27324         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27325         set together with run_via_rtld_prefix.
27326         (run_program_prefix): Define in terms of test_wrapper and
27327         run_via_rtld_prefix.
27328
27329 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27330
27331         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27332         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27333         Targets removed.
27334
27335         [BZ #14743]
27336         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27337         Declare __clock_getres, __clock_gettime, __clock_settime,
27338         __clock_nanosleep, and __clock_getcpuclockid.
27339         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27340         Remove librt_hidden_def (clock_gettime).
27341         * sysdeps/unix/clock_gettime.c: Likewise.
27342         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27343         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27344         * rt/clock_getres.c: Define __clock_getres as an alias.
27345         * sysdeps/posix/clock_getres.c: Likewise.
27346         * rt/clock_settime.c: Define __clock_settime as an alias.
27347         * sysdeps/unix/clock_settime.c: Likewise.
27348         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27349         * sysdeps/unix/clock_nanosleep.c: Likewise.
27350         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27351         * rt/clock-compat.c: New file.
27352         * rt/Makefile (librt-routines): Add clock-compat and move
27353         $(clock-routines) to ...
27354         (routines): ... here, new variable.
27355         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27356         Don't add get_clockfreq here.
27357         * rt/Versions (libc: GLIBC_2.17): New version set.
27358         Add clock_* symbols here.
27359         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27360         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27361         (GLIBC_2.17): Add clock_* symbols.
27362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27364         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27366         Likewise.
27367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27368         Likewise.
27369         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27370         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27373         * NEWS: Mention the move.
27374
27375         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27376         Use __open, __read, __close rather than their public counterparts.
27377         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27378         (__get_clockfreq_via_cpuinfo): Likewise.
27379         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27380         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27381
27382         * config.h.in (HAVE_IFUNC): New #undef.
27383         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27384         was successful.
27385         * configure: Regenerated.
27386
27387 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27388
27389         * configure.in: Move READELF check to start of file.
27390         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27391         libc_cv_asm_gnu_indirect_function in the process.
27392         * configure: Regenerated.
27393
27394 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27395
27396         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27397         send the output to /dev/null.
27398         (libc_cv_cc_with_libunwind): Likewise.
27399         (libc_cv_as_noexecstack): Likewise.
27400         * configure: Regenerate.
27401
27402 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27403
27404         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27405
27406         * posix/globtest.sh (TMPDIR): Do not set.
27407         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27408         (testout): Likewise.
27409
27410 2012-10-24  Andreas Jaeger  <aj@suse.de>
27411
27412         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27413         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27414         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27415         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27416         posix_fadvise64, posix_fallocate64.
27417
27418         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27419         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27420         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27421         Likewise.
27422         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27423         Likewise.
27424         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27425
27426         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27427         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27428         <bits/fcntl-linux.h>.
27429         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27430
27431         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27432         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27433         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27434         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27435         [__WORDSIZE != 64]: Likewise.
27436
27437 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27438
27439         * Makeconfig (run-built-tests): New variable.
27440         * Rules [$(cross-compiling) = yes]: Change condition to
27441         [$(run-built-tests) = no].
27442         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27443         to [$(run-built-tests) = yes].
27444         * elf/Makefile [$(cross-compiling) = no]: Likewise
27445         * grp/Makefile [$(cross-compiling) = no]: Likewise.
27446         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27447         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27448         * intl/Makefile [$(cross-compiling) = no]: Likewise.
27449         * io/Makefile [$(cross-compiling) = no]: Likewise.
27450         * libio/Makefile [$(cross-compiling) = no]: Likewise.
27451         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27452         * misc/Makefile [$(cross-compiling) = no]: Likewise.
27453         * posix/Makefile [$(cross-compiling) = no]: Likewise.
27454         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27455         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27456         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27457         * string/Makefile [$(cross-compiling) = no]: Likewise.
27458
27459         * posix/Makefile ($(objpfx)globtest.out): Pass
27460         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27461         $(rtld-installed-name).
27462         * posix/globtest.sh (elf_objpfx): Remove variable.
27463         (rtld_installed_name): Likewise.
27464         (library_path): Likewise.
27465         (run_program_prefix): New variable.  Use for running globtest
27466         binary.
27467
27468 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
27469             Joseph Myers  <joseph@codesourcery.com>
27470
27471         * Makeconfig (host-built-program-cmd): New variable.
27472         * elf/Makefile (tst-stackguard1-ARGS): Use
27473         $(host-built-program-cmd).
27474         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27475         (tst-spawn-ARGS): Likewise.
27476         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27477
27478 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27479             Jim Blandy  <jimb@codesourcery.com>
27480
27481         * Makeconfig (run-via-rtld-prefix): New variable.
27482         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27483         (built-program-cmd): Likewise.
27484
27485 2012-10-22  Andreas Jaeger  <aj@suse.de>
27486
27487         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27488         __O_RSYNC if it exists, otherwise to O_SYNC.
27489
27490 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
27491             Joseph Myers  <joseph@codesourcery.com>
27492
27493         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27494         /dev/null.
27495         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27496         from /dev/null
27497         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27498         /dev/null.
27499
27500 2012-10-22  Andreas Jaeger  <aj@suse.de>
27501
27502         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27503         Define always.
27504         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27505
27506         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27507         bits/fcntl-linux.h.
27508
27509         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27510         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27511
27512         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27513         to __O_LARGEFILE.
27514         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27515         to __O_LARGEFILE.
27516
27517 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
27518             Joseph Myers  <joseph@codesourcery.com>
27519
27520         * config.make.in (NM): New variable.
27521
27522 2012-10-21  Andreas Jaeger  <aj@suse.de>
27523
27524         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27525         definitions and declarations that are provided by
27526         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27527
27528 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27529
27530         [BZ #14683]
27531         * elf/Makefile (tests-static): Add tst-leaks1-static.
27532         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27533         ($(objpfx)tst-leaks1-static): New rule.
27534         ($(objpfx)tst-leaks1-static-mem): Likewise.
27535         (tst-leaks1-static-ENV): New macro.
27536         * elf/dl-open.c (dl_open_worker): Check the main application
27537         only if SHARED is defined.
27538         * elf/tst-leaks1-static.c: New file.
27539
27540 2012-10-20  Andreas Jaeger  <aj@suse.de>
27541
27542         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27543         generic values for Linux.
27544         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27545         and declarations that are provided by <bits/fcntl-linux.h> and
27546         include <bits/fcntl-linux.h>.
27547         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27548         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27549
27550 2012-10-20  Roland McGrath  <roland@hack.frob.com>
27551
27552         * io/fcntl.h: Move include of <bits/types.h> to the top and
27553         include it unconditionally.
27554
27555 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27556
27557         * wcsmbs/Makefile (tests-ifunc): New variable.
27558         (tests): Add $(tests-ifunc).
27559         * wcsmbs/test-wcschr-ifunc.c: New file.
27560         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27561         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27562         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27563         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27564         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27565
27566         * string/Makefile (tests-ifunc): New variable.
27567         (tests): Add $(tests-ifunc).
27568         * string/test-memccpy.c (TEST_NAME): New macro.
27569         * string/test-memchr.c (TEST_NAME): Likewise.
27570         * string/test-memcmp.c (TEST_NAME): Likewise.
27571         * string/test-memcpy.c (TEST_NAME): Likewise.
27572         * string/test-memmem.c (TEST_NAME): Likewise.
27573         * string/test-memmove.c (TEST_NAME): Likewise.
27574         * string/test-memset.c (TEST_NAME): Likewise.
27575         * string/test-rawmemchr.c (TEST_NAME): Likewise.
27576         * string/test-stpcpy.c (TEST_NAME): Likewise.
27577         * string/test-stpncpy.c (TEST_NAME): Likewise.
27578         * string/test-strcasecmp.c (TEST_NAME): Likewise.
27579         * string/test-strcasestr.c (TEST_NAME): Likewise.
27580         * string/test-strcat.c (TEST_NAME): Likewise.
27581         * string/test-strchr.c (TEST_NAME): Likewise.
27582         * string/test-strcmp.c(TEST_NAME): Likewise.
27583         * string/test-strcpy.c (TEST_NAME): Likewise.
27584         * string/test-strcspn.c (TEST_NAME): Likewise.
27585         * string/test-strlen.c (TEST_NAME): Likewise.
27586         * string/test-strncasecmp.c (TEST_NAME): Likewise.
27587         * string/test-strncmp.c (TEST_NAME): Likewise.
27588         * string/test-strncpy.c (TEST_NAME): Likewise.
27589         * string/test-strnlen.c (TEST_NAME): Likewise.
27590         * string/test-strpbrk.c (TEST_NAME): Likewise.
27591         * string/test-strrchr.c (TEST_NAME): Likewise.
27592         * string/test-strspn.c (TEST_NAME): Likewise.
27593         * string/test-strstr.c (TEST_NAME): Likewise.
27594         * string/test-bcopy-ifunc.c: New file.
27595         * string/test-bzero-ifunc.c: Likewise.
27596         * string/test-memccpy-ifunc.c: Likewise.
27597         * string/test-memchr-ifunc.c: Likewise.
27598         * string/test-memcmp-ifunc.c: Likewise.
27599         * string/test-memcpy-ifunc.c: Likewise.
27600         * string/test-memmem-ifunc.c: Likewise.
27601         * string/test-memmove-ifunc.c: Likewise.
27602         * string/test-mempcpy-ifunc.c: Likewise.
27603         * string/test-memset-ifunc.c: Likewise.
27604         * string/test-rawmemchr-ifunc.c: Likewise.
27605         * string/test-stpcpy-ifunc.c: Likewise.
27606         * string/test-stpncpy-ifunc.c: Likewise.
27607         * string/test-strcasecmp-ifunc.c: Likewise.
27608         * string/test-strcasestr-ifunc.c: Likewise.
27609         * string/test-strcat-ifunc.c: Likewise.
27610         * string/test-strchr-ifunc.c: Likewise.
27611         * string/test-strchrnul-ifunc.c: Likewise.
27612         * string/test-strcmp-ifunc.c: Likewise.
27613         * string/test-strcpy-ifunc.c: Likewise.
27614         * string/test-strcspn-ifunc.c: Likewise.
27615         * string/test-strlen-ifunc.c: Likewise.
27616         * string/test-strncasecmp-ifunc.c: Likewise.
27617         * string/test-strncat-ifunc.c: Likewise.
27618         * string/test-strncmp-ifunc.c: Likewise.
27619         * string/test-strncpy-ifunc.c: Likewise.
27620         * string/test-strnlen-ifunc.c: Likewise.
27621         * string/test-strpbrk-ifunc.c: Likewise.
27622         * string/test-strrchr-ifunc.c: Likewise.
27623         * string/test-strspn-ifunc.c: Likewise.
27624         * string/test-strstr-ifunc.c: Likewise.
27625
27626         * debug/Makefile (tests-ifunc): New variable.
27627         (tests): Add $(tests-ifunc).
27628         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27629         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27630         * debug/test-stpcpy_chk-ifunc.c: New file.
27631         * debug/test-strcpy_chk-ifunc.c: Likewise.
27632
27633 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27634
27635         [BZ #13601]
27636         * elf/dl-load.c (open_verify): Retry read if the entire ELF
27637         header is not read in.
27638
27639 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
27640
27641         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
27642         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
27643         directly.  Pass built executable to script as
27644         $(built-program-cmd).
27645         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
27646         $testprogram without using LD_LIBRARY_PATH and $ldso.
27647
27648         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27649         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27650         $(rtld-installed-name).
27651         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27652         (rtld_installed_name): Likewise.
27653         (library_path): Likewise.
27654         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
27655         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27656         $(run-program-prefix) to tst-tables.sh.
27657         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
27658         it to run tst-table-from and tst-table-to.
27659         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27660         Pass it to tst-table.sh.
27661         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27662         $(run-program-prefix) to tst-gettext.sh.
27663         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27664         tst-translit.sh.
27665         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27666         tst-gettext2.sh.
27667         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
27668         to run tst-gettext.
27669         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
27670         to run tst-gettext2.
27671         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
27672         to run tst-translit.
27673         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27674         $(run-program-prefix) to tst-mtrace.sh.
27675         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
27676         to run tst-mtrace.
27677         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27678         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27679         $(rtld-installed-name).
27680         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27681         (rtld_installed_name): Likewise.
27682         (run_program_prefix): New variable.  Use it to run wordexp-test.
27683
27684         * Makeconfig (ARCH): Remove all definitions.
27685         (machine): Likewise.
27686         [ARCH]: Remove conditional code.
27687         [!objdir]: Give error.
27688         [!objdir] (objpfx): Remove.
27689         [!objdir] (common-objpfx): Likewise.
27690         [!objdir] (common-objdir): Likewise.
27691         * configure.in (config_makefile): Remove.  Hardcode Makefile in
27692         AC_CONFIG_FILES call.
27693         * configure: Regenerated.
27694
27695         [BZ #13888]
27696         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27697         or TMPDIR.
27698         (testout): Likewise.
27699
27700         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27701         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27702         $(rtld-installed-name).
27703         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27704         (rtld_installed_name): Likwise.
27705         (runit): Remove function.
27706         (run_getconf): New variable,  Use it for running getconf binary.
27707
27708 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
27709
27710         [BZ #14716]
27711         * string/test-memmem.c (check_result): New function.
27712         (do_one_test): Use it.
27713         (check1): New function.
27714         (test_main): Use it.
27715
27716 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
27717
27718         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27719
27720 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
27721
27722         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27723         (_G_LSEEK64): Likewise.
27724         (_G_MMAP64): Likewise.
27725         (_G_FSTAT64): Likewise.
27726         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27727         (_G_LSEEK64): Likewise.
27728         (_G_MMAP64): Likewise.
27729         (_G_FSTAT64): Likewise.
27730         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27731         unconditional.  Call __mmap64 directly.
27732         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27733         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
27734         __lseek64 directly.
27735         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27736         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
27737         __mmap64 directly.
27738         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27739         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27740         __lseek64 directly.
27741         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27742         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27743         __lseek64 directly.
27744         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27745         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
27746         __lseek64 directly.
27747         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27748         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
27749         __fxstat64 directly.
27750         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27751         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27752         unconditional.
27753         (freopen64) [!_G_OPEN64]: Remove conditional code.
27754         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27755         unconditional.
27756         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27757         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27758         unconditional.
27759         (ftello64) [!_G_LSEEK64]: Remove conditional code.
27760         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27761         unconditional.
27762         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27763         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27764         unconditional.
27765         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27766         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27767         unconditional.
27768         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27769         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27770         unconditional.
27771         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27772         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27773         unconditional.
27774         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27775
27776 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27777
27778         [BZ #12140]
27779         * manual/memory.texi (Malloc Tunable Parameters): Add note
27780         about free list pointers overwriting some perturb bytes.
27781         Wording suggested by Roland McGrath.
27782
27783 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
27784
27785         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27786         (lgamma_test): Likewise.
27787         (tgamma_test): Likewise.
27788
27789 2012-10-16  Florian Weimer  <fweimer@redhat.com>
27790
27791         [BZ #14700]
27792         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27793         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27794
27795 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
27796
27797         * NEWS: Mention BZ #14716.
27798         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27799         when removing AVAILABLE1_USES_J macro.
27800
27801 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
27802
27803         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27804         (__bswap_64): __uint64_t for unsigned 64-bit int.
27805
27806 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
27807
27808         * include/string.h (memmem): Declare libc hidden alias.
27809         * string/memmem.c (memmem): Define libc hidden alias.
27810         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27811         __read, __close instead of open, read, close.
27812
27813 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
27814
27815         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27816         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27817         global and hidden.
27818         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27819         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27820         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27821         Likewise.
27822         (__rawmemchr_sse2): Likewise.
27823         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27824         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27825         (__strchr_sse2): Likewise.
27826         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27827         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27828         (__strcasecmp_sse2): Likewise.
27829         (__strncasecmp_sse2): Likewise.
27830         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27831         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27832         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27833         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27834         (__strrchr_sse2): Likewise.
27835         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27836         ifunc-impl-list.c.
27837         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27838         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27839         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27840         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27841         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27842         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27843         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27844         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27845         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27846         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27847         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27848         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27849         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27850         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27851         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27852         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27853         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27854         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27855         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27856         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27857         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27858         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27859         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27860         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27861         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27862         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27863         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27864         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27865         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27866         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27867
27868         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27869         global and hidden.
27870         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27871         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27872         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27873         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27874         Likewise.
27875         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27876         Likewise.
27877         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27878         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27879         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27880         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27881         ifunc-impl-list.c.
27882         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27883         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27884         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27885         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27886         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27887         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27888         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27889         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27890         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27891         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27892         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27893         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27894         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27895         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27896         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27897         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27898         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27899         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27900         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27901         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27902         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27903         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27904         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27905         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27906         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27907         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27908         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27909         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27910         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27911         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27912         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27913         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27914         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27915         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27916         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27917         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27918         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27919         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27920         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27921         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27922         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27923
27924         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27925         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27926         * include/ifunc-impl-list.h: New file.
27927         * misc/ifunc-impl-list.c: Likewise.
27928         * misc/Makefile (routines): Add ifunc-impl-list.
27929         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27930         * string/test-string.h: Include <ifunc-impl-list.h>.
27931         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27932         TEST_NAME]: New variables.
27933         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27934         are defined.
27935         (test_init): Call __libc_ifunc_impl_list to initialize
27936         func_list if TEST_IFUNC and TEST_NAME are defined.
27937
27938         * string/Makefile (strop-tests): Add bcopy and bzero.
27939         * string/test-bcopy.c: New file.
27940         * string/test-bzero.c: Likewise.
27941         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27942         defined.
27943         * string/test-memset.c: Support bzero test if TEST_BZERO is
27944         defined.
27945         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27946         __libc_memmove.
27947         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27948         __libc_memset.
27949         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27950         of memset.
27951
27952 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
27953
27954         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27955         * configure: Regenerated.
27956
27957         * Makeconfig (+link-static-before-libc): Don't include
27958         $(link-static-libc).
27959
27960         * libio/libio.h (_IO_pos_t): Remove.
27961
27962 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27963
27964         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
27965         McGrath.
27966
27967 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27968
27969         * crypt/crypt-entry.c: Include fips-private.h.
27970         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27971         * crypt/md5c-test.c (main): Tolerate disabled MD5.
27972         * sysdeps/unix/sysv/linux/fips-private.h: New file.
27973         * sysdeps/generic/fips-private.h: New file, dummy fallback.
27974
27975 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27976
27977         * crypt/crypt-private.h: Include stdbool.h.
27978         (_ufc_setup_salt_r): Return bool.
27979         * crypt/crypt-entry.c: Include errno.h.
27980         (__crypt_r): Return NULL with EINVAL for bad salt.
27981         * crypt/crypt_util.c (bad_for_salt): New.
27982         (_ufc_setup_salt_r): Check that salt is long enough and within
27983         the specified alphabet.
27984         * crypt/badsalttest.c: New file.
27985         * crypt/Makefile (tests): Add it.
27986         ($(objpfx)badsalttest): New.
27987
27988 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
27989
27990         * NEWS: Add entry for BZ #14602.
27991
27992 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27993
27994         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27995         type-generic.
27996         * math/libm-test.inc: Update comment listing what functions and
27997         macros are tested.
27998         (isgreater_test): New function.
27999         (isgreaterequal_test): Likewise.
28000         (isless_test): Likewise.
28001         (islessequal_test): Likewise.
28002         (islessgreater_test): Likewise.
28003         (isunordered_test): Likewise.
28004         (main): Call the new functions.
28005
28006 2012-10-09  Roland McGrath  <roland@hack.frob.com>
28007
28008         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28009         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28010         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28011         * sysdeps/i386/configure: Regenerated.
28012         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28013         * sysdeps/mach/configure: Regenerated.
28014         * sysdeps/mach/hurd/configure: Regenerated.
28015         * sysdeps/powerpc/configure: Regenerated.
28016         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28017         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28018         * sysdeps/s390/s390-32/configure: Regenerated.
28019         * sysdeps/s390/s390-64/configure: Regenerated.
28020         * sysdeps/sh/configure: Regenerated.
28021         * sysdeps/sparc/configure: Regenerated.
28022         * sysdeps/unix/sysv/linux/configure: Regenerated.
28023         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28024         * sysdeps/x86_64/configure: Regenerated.
28025
28026         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28027         defined.  Don't check if MAP is NULL.
28028
28029 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28030
28031         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28032         (_G_stat64): Likewise.
28033         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28034         (_G_stat64): Likewise.
28035         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28036         instead of struct _G_stat64.
28037         * libio/fileops.c (mmap_remap_check): Likewise.
28038         (decide_maybe_mmap): Likewise.
28039         (_IO_new_file_seekoff): Likewise.
28040         (_IO_file_stat): Likewise.
28041         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28042         _G_off64_t.
28043         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28044         instead of struct _G_stat64.
28045         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28046
28047 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
28048
28049         [BZ #14602]
28050         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28051         Replace with ...
28052         (CHECK_EOL): New macro.
28053         (two_way_short_needle): Check beginning of haystack for EOL.  Use
28054         CHECK_EOL.
28055         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28056         Replace with CHECK_EOL.
28057         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28058         Replace with CHECK_EOL.
28059
28060 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
28061
28062         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28063         type-generic.
28064         * math/libm-test.inc: Update comment listing what functions and
28065         macros are tested.
28066         (finite_test): New function.
28067         (isinf_test): Likewise.
28068         (isnan_test): Likewise.
28069         (fpclassify_test): Test subnormal input.
28070         (isfinite_test): Likewise.
28071         (isnormal_test): Likewise.
28072         (main): Call the new functions.
28073
28074 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
28075
28076         [BZ #14660]
28077         * Makerules (%.dynsym): Force C locale when running
28078         $(OBJDUMP) --dynamic-syms.
28079
28080 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
28081
28082         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28083         <stdint.h>.
28084
28085 2012-10-06  David S. Miller  <davem@davemloft.net>
28086
28087         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28088         upper 32-bits of the length value in %o2 since we use branch-on-register
28089         tests which consider the entire 64-bit register.
28090
28091 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
28092
28093         * string/test-strstr.c (check2): Add a test for page boundary.
28094
28095 2012-10-05  David S. Miller  <davem@davemloft.net>
28096
28097         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28098         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28099         file.
28100         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28101         sysdep_routines.
28102         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28103         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28104         and bzero when HWCAP_SPARC_CRYPTO is present.
28105
28106 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
28107
28108         [BZ #14602]
28109         * string/test-strstr.c (check2): New function.
28110         (test_main): Call check2.
28111
28112         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28113         and bug-strchr1.
28114         * string/bug-strcasestr1.c (do_test): Moved to ...
28115         * string/test-strcasestr.c (check1): Here.  New function.
28116         (do_one_test): Break out result checking code into ...
28117         (check_result): This.  New function.
28118         (do_one_test): Call check_result.
28119         (test_main): Call check1.
28120         * string/bug-strchr1.c (do_test): Moved to ...
28121         * string/test-strchr.c (check1): Here.  New function.
28122         (do_one_test): Break out result checking code into ...
28123         (check_result): This.  New function.
28124         (do_one_test): Call check_result.
28125         (test_main): Call check1.
28126         * string/bug-strstr1.c (main): Moved to ...
28127         * string/test-strstr.c (check1): Here.  New function.
28128         (do_one_test): Break out result checking code into ...
28129         (check_result): This.  New function.
28130         (do_one_test): Call check_result.
28131         (test_main): Call check1.
28132         * string/bug-strcasestr1.c: Removed.
28133         * string/bug-strchr1.c: Likewise.
28134         * string/bug-strstr1.c: Likewise.
28135
28136         * elf/Makefile (dl-routines): Add hwcaps.
28137         * elf/dl-support.c (_dl_important_hwcaps): Removed.
28138         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28139         (_dl_important_hwcaps): Moved to ...
28140         * elf/dl-hwcaps.c: Here.  New file.
28141         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28142
28143         [BZ #14557]
28144         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28145         if IS_IN_rtld isn't defined.
28146
28147         * elf/dl-support.c (_dl_sysinfo_map): New.
28148         Include "get-dynamic-info.h" and "setup-vdso.h".
28149         (_dl_non_dynamic_init): Call setup_vdso.
28150         * elf/dynamic-link.h: Don't include <assert.h>.
28151         (elf_get_dynamic_info): Moved to ...
28152         * elf/get-dynamic-info.h: Here.  New file.
28153         * elf/dynamic-link.h: Include "get-dynamic-info.h".
28154         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28155         * elf/setup-vdso.h: Here.  New file.
28156         * elf/rtld.c: Include "setup-vdso.h".
28157         (dl_main): Call setup_vdso.
28158
28159 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
28160
28161         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28162         creal in comment listing functions tested.  List finite, isinf,
28163         isnan, isless, islessequal, isgreater, isgreaterequal,
28164         islessgreater, isunordered, lgamma_r and pow10 as functions and
28165         macros not tested.  Mention which functions not tested are aliases
28166         for other functions.  Fix typo.  Note that signs of NaNs are not
28167         tested.
28168
28169         * scripts/config.guess: Update from config.git.
28170         * scripts/config.sub: Likewise.
28171
28172 2012-10-04  Roland McGrath  <roland@hack.frob.com>
28173
28174         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28175         * misc/madvise.c (madvise): Renamed to __madvise.
28176         Make madvise a weak alias.
28177         * include/sys/mman.h: Declare __madvise.
28178         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28179         * sysdeps/unix/syscalls.list
28180         (madvise): Make __madvise the strong name, and madvise a weak alias.
28181         * sysdeps/unix/sysv/linux/syscalls.list
28182         (madvise, mmap): Remove redundant entries.
28183         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28184         * malloc/malloc.c (mtrim): Likewise.
28185         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28186
28187 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28188
28189         * sysdeps/mach/hurd/dl-cache.c: File removed.
28190         * config.h.in (USE_LDCONFIG): New #undef.
28191         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28192         * configure: Regenerated.
28193         * elf/Makefile (dl-routines): Add dl-cache only under
28194         [$(use-ldconfig) = yes].
28195         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28196         cache on [USE_LDCONFIG].
28197         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28198         [USE_LDCONFIG].
28199         * elf/rtld.c (dl_main): Likewise.
28200
28201 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
28202
28203         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28204         _SC_LEVEL4_CACHE_LINESIZE.
28205
28206 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28207
28208         * sysdeps/unix/bsd/confstr.h: File removed.
28209
28210 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
28211
28212         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28213         sys/sdt-config.h.
28214
28215 2012-10-02  Roland McGrath  <roland@hack.frob.com>
28216
28217         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28218         Make 'mapoff' field ElfW(Off) rather than off_t.
28219
28220 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
28221
28222         * nscd/Makefile: Remove nscd-cflags and all its users.
28223         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28224         (CFLAGS-nonlib): Add compiler flags for nscd modules.
28225
28226         [BZ #10631]
28227         * malloc.c (malloc_printerr): Clarify error message.
28228
28229 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
28230
28231         [BZ #14648]
28232         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28233         Set bit_FMA_Usable if FMA is supported.
28234         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28235         macro.
28236         (bit_FMA4_Usable): Updated.
28237         (index_FMA_Usable): New macro.
28238         (CPUID_FMA): Likewise
28239         (HAS_FMA): Defined with bit_FMA_Usable.
28240
28241 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28242
28243         * bits/types.h (__swblk_t): Type removed.
28244         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28245         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28246         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28247         (__SWBLK_T_TYPE): Likewise.
28248         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28249         (__SWBLK_T_TYPE): Likewise.
28250         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28251         (__SWBLK_T_TYPE): Likewise.
28252         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28253         (__SWBLK_T_TYPE): Likewise.
28254
28255 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
28256             Honza Horak <hhorak@redhat.com>
28257
28258         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28259         (xdr_mapname): Use YPMAXMAP as maxsize.
28260         (xdr_peername): Use YPMAXPEER as maxsize.
28261         (xdr_keydat): Use YPAXRECORD as maxsize.
28262         (xdr_valdat): Use YPMAXRECORD as maxsize.
28263
28264 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28265
28266         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28267
28268         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28269         * csu/init-first.c: ... here.
28270         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28271         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28272         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28273         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28274         * sysdeps/i386/init-first.c: File removed.
28275         * sysdeps/sh/init-first.c: File removed.
28276
28277 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
28278
28279         [BZ #14645]
28280         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28281         if x * y might underflow to zero and z is zero.
28282         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28283         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28284         * math/libm-test.inc (min_subnorm_value): New variable.
28285         (fma_test): Add more tests.
28286         (fma_test_towardzero): Likewise.
28287         (fma_test_downward): Likewise
28288         (fma_test_upward): Likewise.
28289         (initialize): Set min_subnorm_value.
28290
28291 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28292
28293         [BZ #14638]
28294         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28295         0 + 0.
28296         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28297         mode for addition resulting in exact zero.
28298         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28299         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28300         exact 0 + 0.
28301         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28302         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28303         * math/libm-test.inc (fma_test): Add more tests.
28304         (fma_test_towardzero): New function.
28305         (fma_test_downward): Likewise.
28306         (fma_test_upward): Likewise.
28307         (main): Call the new functions.
28308
28309 2012-09-28  David S. Miller  <davem@davemloft.net>
28310
28311         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28312
28313 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28314
28315         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28316         instead of SIGALRM.
28317
28318         * sysdeps/gnu/_G_config.h: Moved to ...
28319         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28320         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28321         * sysdeps/generic/_G_config.h: ... here.
28322
28323         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28324
28325         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28326
28327         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28328         Conditionalize target on [libnss_test1.so-version].
28329
28330         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28331
28332         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28333         (elfobjdir): Move out of conditionals.
28334
28335         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28336         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28337         (__nss_lookup_function): Conditionalize label remove_from_tree on
28338         [!DO_STATIC_NSS || SHARED], matching its only use.
28339
28340 2012-09-28  David S. Miller  <davem@davemloft.net>
28341
28342         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28343         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28344         file.
28345         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28346         sysdep_routines.
28347         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28348         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28349         when HWCAP_SPARC_CRYPTO is present.
28350
28351 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28352
28353         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28354
28355 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28356
28357         [BZ #6530]
28358         * stdio-common/vfprintf.c (process_string_arg): Revert
28359         2000-07-22 change.
28360
28361 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28362
28363         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28364         for testcase.
28365         * stdio-common/tst-sprintf.c: Include <locale.h>
28366         (main): Test sprintf's handling of incomplete multibyte
28367         characters.
28368
28369 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28370
28371         * elf/dl-runtime.c (VERSYMIDX): Removed.
28372         * elf/dl-version.c (VERSYMIDX): Likewise.
28373         * elf/do-rel.h (VERSYMIDX): Likewise.
28374         (VALIDX): Likewise.
28375         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28376         * elf/rtld.c (VALIDX): Likewise.
28377         (ADDRIDX): Likewise.
28378         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28379         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28380         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28381         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28382         (VALIDX): Likewise.
28383         (ADDRIDX): Likewise.
28384
28385 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28386
28387         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28388
28389 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28390
28391         [BZ #11438]
28392         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28393         to global scope.
28394         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28395         addresses are in the same scope as 192.0.2/24.
28396         * posix/gai.conf: Document new scope table defaults.
28397
28398 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28399
28400         [BZ #5298]
28401         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28402         for ftell.  Compute offsets from write pointers instead.
28403         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28404
28405 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28406
28407         [BZ #14543]
28408         * libio/Makefile (tests): New test case tst-fseek.
28409         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28410         combination works in wide mode.
28411         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28412         state when the external buffer state changes.
28413
28414 2012-09-27  David S. Miller  <davem@davemloft.net>
28415
28416         [BZ #14376]
28417         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28418         pass reloc->r_addend in as the 'high' argument to
28419         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28420
28421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28422
28423 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28424
28425         * rt/tst-aio2.c: Include <pthread.h>.
28426         * rt/tst-aio3.c: Likewise.
28427
28428 2012-09-27  Steve Ellcey  <sellcey@mips.com>
28429
28430         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28431
28432 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
28433
28434         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28435         contents on [SHARED].
28436
28437 2012-09-26  Marek Polacek  <polacek@redhat.com>
28438
28439         [BZ #14530]
28440         [BZ #13741]
28441         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28442         for C++ and GCC <4.3 as well as for non GCC compilers.
28443
28444 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28445
28446         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28447
28448 2012-09-25  Roland McGrath  <roland@hack.frob.com>
28449
28450         * Makefile.in (all, install): Declare with .PHONY.
28451         Reported by Michael Hope <michael.hope@linaro.org>.
28452
28453 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28454
28455         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28456         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28457         system header.
28458         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28459         Likewise.
28460         (sydep_routines): Add the new and the internal functions.
28461         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28462         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28464         (GLIBC_2.17): Add the new function.
28465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28466         (GLIBC_2.17): Likewise.
28467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28468         (GLIBC_2.17): Likewise.
28469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28470         (GLIBC_2.17): Likewise.
28471         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28472
28473 2012-09-25  Alan Modra  <amodra@gmail.com>
28474
28475         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28476         Add release barrier before setting once_control to say
28477         initialisation is done.  Add hints on lwarx.  Use macro in
28478         place of isync.
28479         (clear_once_control): Add release barrier.
28480
28481 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28482
28483         [BZ #13629]
28484         * math/s_clog.c (__clog): Handle more values close to |z| = 1
28485         specially.
28486         * math/s_clog10.c (__clog10): Likewise.
28487         * math/s_clog10f.c (__clog10f): Likewise.
28488         * math/s_clog10l.c (__clog10l): Likewise.
28489         * math/s_clogf.c (__clogf): Likewise.
28490         * math/s_clogl.c (__clogl): Likewise.
28491         * math/Makefile (libm-calls): Add x2y2m1.
28492         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28493         (__x2y2m1): Likewise.
28494         (__x2y2m1l): Likewise.
28495         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28496         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28497         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28498         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28499         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28500         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28501         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28502         * sysdeps/i386/fpu/libm-test-ulps: Update.
28503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28504
28505         [BZ #14621]
28506         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28507         int as type of variable DEPTH.
28508         (glob): Use size_t instead of int as type of variables NEWCOUNT
28509         and OLD_PATHC.
28510
28511 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28512
28513         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28514         Add s_sincosf-sse2.
28515         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28516         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28517         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28518         macros for using routine as __sincosf_ia32.
28519         Use macro for function declaration and weak_alias.
28520         * sysdeps/i386/fpu/libm-test-ulps: Update.
28521
28522         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28523         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28524
28525         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28526         subnormal argument.
28527         * math/s_cexpf.c (__cexpf): Likewise.
28528         * math/s_csinf.c (__csinf): Likewise.
28529         * math/s_csinhf.c (__csinhf): Likewise.
28530         * math/s_ctanf.c (__ctanf): Likewise.
28531         * math/s_ctanhf.c (__ctanhf): Likewise.
28532         * math/s_ccosh.c (__ccoshf): Likewise.
28533         * math/s_cexp.c (__cexpl): Likewise.
28534         * math/s_csin.c (__csin): Likewise.
28535         * math/s_csinh.c (__csinh): Likewise.
28536         * math/s_ctan.c (__ctan): Likewise.
28537         * math/s_ctanh.c (ctanh): Likewise.
28538         * math/s_ccoshl.c (__ccoshl): Likewise.
28539         * math/s_cexpl.c (__cexpl): Likewise.
28540         * math/s_csinl.c (__csinl): Likewise.
28541         * math/s_csinhl.c (__csinhl): Likewise.
28542         * math/s_ctanl.c (__ctanl): Likewise.
28543         * math/s_ctanhl.c (__ctanhl): Likewise.
28544
28545 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28546
28547         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28548         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28549         (_IO_off_t): Define to __off_t, not _G_off_t.
28550         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28551         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28552         (_IO_wint_t): Define to wint_t, not _G_wint_t.
28553         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28554         type of __dummy and __dummy2 fields.
28555         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28556         (_G_ssize_t): Likewise.
28557         (_G_off_t): Likewise.
28558         (_G_pid_t): Likewise.
28559         (_G_uid_t): Likewise.
28560         (_G_wchar_t): Likewise.
28561         (_G_wint_t): Likewise.
28562         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28563         (_G_ssize_t): Likewise.
28564         (_G_off_t): Likewise.
28565         (_G_pid_t): Likewise.
28566         (_G_uid_t): Likewise.
28567         (_G_wchar_t): Likewise.
28568         (_G_wint_t): Likewise.
28569         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28570         (_G_ssize_t): Likewise.
28571         (_G_off_t): Likewise.
28572         (_G_pid_t): Likewise.
28573         (_G_uid_t): Likewise.
28574         (_G_wchar_t): Likewise.
28575         (_G_wint_t): Likewise.
28576
28577 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28578
28579         * malloc/arena.c: Include malloc-sysdep.h.
28580         (shrink_heap): Use check_may_shrink_heap to decide if madvise
28581         is sufficient to shrink the heap or an unmap is needed.
28582         * sysdeps/generic/malloc-sysdep.h: New file.  Define
28583         new function check_may_shrink_heap.
28584         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
28585         new function check_may_shrink_heap.
28586
28587 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28588
28589         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28590         comments.
28591
28592 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
28593
28594         * catgets/test-gencat.sh: Add "set -e".
28595         * elf/tst-pathopt.sh: Likewise.
28596         * grp/tst_fgetgrent.sh: Likewise.
28597         * iconvdata/run-iconv-test.sh: Likewise.
28598         * intl/tst-gettext.sh: Likewise.
28599         * intl/tst-gettext2.sh: Likewise.
28600         * intl/tst-gettext4.sh: Likewise.
28601         * intl/tst-gettext6.sh: Likewise.
28602         * intl/tst-translit.sh: Likewise.
28603         * io/ftwtest-sh: Likewise.
28604         * libio/test-freopen.sh: Likewise.
28605         * malloc/tst-mtrace.sh: Likewise.
28606         * posix/globtest.sh: Likewise.
28607         * posix/tst-getconf.sh: Likewise.
28608         * posix/wordexp-tst.sh: Likewise.
28609         * stdio-common/tst-printf.sh: Likewise.
28610         * stdio-common/tst-unbputc.sh: Likewise.
28611         * stdlib/tst-fmtmsg.sh: Likewise.
28612         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28613         * catgets/Makefile: Do not specify -e option when running
28614         testsuite shell scripts.
28615         * elf/Makefile: Likewise.
28616         * grp/Makefile: Likewise.
28617         * iconvdata/Makefile: Likewise.
28618         * intl/Makefile: Likewise.
28619         * io/Makefile: Likewise.
28620         * libio/Makefile: Likewise.
28621         * malloc/Makefile: Likewise.
28622         * posix/Makefile: Likewise.
28623         * stdio-common/Makefile: Likewise.
28624         * stdlib/Makefile: Likewise.
28625         * sysdeps/x86_64/Makefile: Likewise.
28626
28627         * io/ftwtest-sh: Add copyright header.
28628         * posix/globtest.sh: Likewise.
28629         * posix/tst-getconf.sh: Likewise.
28630         * posix/wordexp-tst.sh: Likewise.
28631         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28632
28633 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
28634
28635         [BZ #13679]
28636         * Makeconfig (+link): Defined as $(+link-static) if
28637         $(build-shared) isn't yes.
28638         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28639         isn't yes.
28640         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28641
28642         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28643
28644         [BZ #14562]
28645         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28646         new chunk size with MALLOC_ALIGN_MASK.
28647
28648 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
28649
28650         [BZ #5044]
28651         * stdio-common/printf_fphex.c: Include <stdbool.h> and
28652         <rounding-mode.h>.
28653         (__printf_fphex): Determine rounding using get_rounding_mode and
28654         round_away.
28655         * stdio-common/tst-printf-round.c (struct hex_test): New
28656         structure.
28657         (hex_tests): New variable.
28658         (test_hex_in_one_mode): New function.
28659         (do_test): Also run tests for hex float output.
28660
28661 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
28662
28663         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28664         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28665         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28666         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28667         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28668         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28669         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28670         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28671
28672 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
28673
28674         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28675         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28676         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28677         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28678
28679 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
28680
28681         [BZ #14579]
28682         * elf/rtld.c (dl_main): Limit the check for self loading to normal
28683         mode only.
28684         * elf/tst-rtld-load-self.sh: New test.
28685         * elf/Makefile: Run it.
28686
28687 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
28688
28689         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28690         (tst-writev-ENV): Remove.
28691         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28692
28693 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
28694
28695         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28696
28697 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
28698
28699         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28700         unconditional.
28701         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28702         Likewise.
28703         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28704         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28705         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28706         Likewise.
28707
28708 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
28709
28710         [BZ #14587]
28711         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28712         * config.make.in (have-cpp-asm-debuginfo): Removed.
28713         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28714         * configure: Regenerated.
28715
28716 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
28717
28718         [BZ #5044]
28719         * stdio-common/printf_fp.c: Include <stdbool.h> and
28720         <rounding-mode.h>.
28721         (___printf_fp): Determine rounding using get_rounding_mode and
28722         round_away.
28723         * stdio-common/tst-printf-round.c: New file.
28724         * stdio-common/Makefile (tests): Add tst-printf-round.
28725         (link-libm): New variable.
28726         ($(objpfx)tst-printf-round): Depend in $(link-libm).
28727
28728 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
28729
28730         [BZ #14576]
28731         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28732         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28733         Likewise.
28734         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28735         Likewise.
28736
28737 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
28738
28739         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28740         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28741         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28742         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28743
28744 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
28745
28746         [BZ #14518]
28747         * include/rounding-mode.h: New file.
28748         * sysdeps/generic/get-rounding-mode.h: Likewise.
28749         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28750         * stdlib/strtod_l.c: Include <rounding-mode.h>.
28751         (MAX_VALUE): New macro.
28752         (MIN_VALUE): Likewise.
28753         (overflow_value): New function.
28754         (underflow_value): Likewise.
28755         (round_and_return): Use overflow_value and underflow_value to
28756         determine return values in overflow and underflow cases.  Use
28757         round_away to determine rounding depending on rounding mode.
28758         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28759         determine return values in overflow and underflow cases.
28760         * stdlib/tst-strtod-round.c: Include <fenv.h>.
28761         (struct test_results): New structure.
28762         (struct test): Use struct test_results to store expected results
28763         for all rounding modes.
28764         (TEST): Include expected results for all rounding modes.
28765         (test_in_one_mode): New function.
28766         (do_test): Use test_in_one_mode to compute and check results.
28767         Check results for all rounding modes.
28768         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28769         $(link-libm).
28770
28771 2012-12-09  Allan McRae  <allan@archlinux.org>
28772
28773         * sysdeps/i386/fpu/libm-test-ulps: Update
28774
28775 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
28776
28777         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28778         (_G_int32_t): Likewise.
28779         (_G_uint16_t): Likewise.
28780         (_G_uint32_t): Likewise.
28781         (_G_HAVE_BOOL): Likewise.
28782         (_G_HAVE_ATEXIT): Likewise.
28783         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28784         (_G_HAVE_IO_FILE_OPEN): Likewise.
28785         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28786         (_G_int32_t): Likewise.
28787         (_G_uint16_t): Likewise.
28788         (_G_uint32_t): Likewise.
28789         (_G_HAVE_BOOL): Likewise.
28790         (_G_HAVE_ATEXIT): Likewise.
28791         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28792         (_G_HAVE_IO_FILE_OPEN): Likewise.
28793         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28794         (_G_int32_t): Likewise.
28795         (_G_uint16_t): Likewise.
28796         (_G_uint32_t): Likewise.
28797         (_G_HAVE_BOOL): Likewise.
28798         (_G_HAVE_ATEXIT): Likewise.
28799         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28800         (_G_HAVE_IO_FILE_OPEN): Likewise.
28801
28802 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
28803
28804         * csu/libc-tls.c: Update copyright years.
28805
28806 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
28807
28808         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28809         [!_G_USING_THUNKS]: Remove conditional code.
28810         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28811         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28812
28813         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28814         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28815         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28816         (_G_VTABLE_LABEL_PREFIX): Likewise.
28817         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28818         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28819         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28820         (_G_VTABLE_LABEL_PREFIX): Likewise.
28821         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28822         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28823         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28824         (_G_VTABLE_LABEL_PREFIX): Likewise.
28825         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28826
28827 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
28828
28829         * libio/Makefile: Include ../Makeconfig before tests.
28830         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28831         only if $(build-shared) is yes.
28832
28833         * iconv/gconv_db.c: Update copyright years.
28834
28835 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28836
28837         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28838         unwind info if defined PIC. Fix special cases description.
28839         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28840
28841         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28842         DP_HI_MASK entry.
28843         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28844
28845 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
28846
28847         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28848
28849         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28850         is NULL.
28851
28852         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28853         (LDLIBS-tst-chk4): This.
28854         (LDFLAGS-tst-chk5): Renamed to ...
28855         (LDLIBS-tst-chk5): This.
28856         (LDFLAGS-tst-chk6): Renamed to ...
28857         (LDLIBS-tst-chk6): This.
28858         (LDFLAGS-tst-lfschk4): Renamed to ...
28859         (LDLIBS-tst-lfschk4): This.
28860         (LDFLAGS-tst-lfschk5): Renamed to ...
28861         (LDLIBS-tst-lfschk5): This.
28862         (LDFLAGS-tst-lfschk6): Renamed to ...
28863         (LDLIBS-tst-lfschk6): This.
28864
28865         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28866         on $(common-objpfx)soversions.mk.
28867
28868 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
28869
28870         [BZ #10014]
28871         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28872         example host name.
28873
28874 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28875
28876         * malloc/arena.c (arena_get_retry): New function that gets
28877         another arena for the caller to try its request on.
28878         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28879         current arena cannot fulfill the request.
28880         (__libc_memalign): Likewise.
28881         (__libc_memalign): Likewise.
28882         (__libc_pvalloc): Likewise.
28883         (__libc_calloc): Likewise.
28884
28885 2012-09-05  John Tobey  <john.tobey@gmail.com>
28886
28887         [BZ #13542]
28888         * manual/arith.texi (Operations on Complex): Fix description
28889         of carg branch cut.
28890
28891 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28892
28893         [BZ #10014]
28894         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28895         host name.
28896
28897         [BZ #10038]
28898         * manual/memory.texi (Memory): Make order of menu items match
28899         order of sections.
28900
28901 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28902
28903         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28904         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
28905         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28906
28907 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28908
28909         * csu/libc-tls.c (static_dtv): Renamed to ...
28910         (_dl_static_dtv): This.  Make it global.
28911         (_dl_initial_dtv): Removed.
28912         (__libc_setup_tls): Updated.
28913         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28914         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28915         DL_INITIAL_DTV.
28916
28917 2012-09-06  Petr Machata  <pmachata@redhat.com>
28918
28919         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28920         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28921         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28922         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28923
28924 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28925
28926         [BZ #14545]
28927         * csu/libc-tls.c (_dl_initial_dtv): New variable.
28928         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28929         freeing dtv[-1].
28930
28931 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28932
28933         [BZ #14544]
28934         * Makeconfig (link-static-before-libc): Replace $(+prector)
28935         with $(+prectorT).
28936         (link-static-after-libc): Replace $(+postctor) with
28937         $(+postctorT).
28938         (link-bounded): Replace $(+prector)/$(+postctor) with
28939         $(+prectorT)/$(+postctorT).
28940         (+prectorT): New macro.
28941         (+postctorT): Likewise.
28942
28943 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28944
28945         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28946         (round_str): Handle values above the maximum for IBM long double
28947         as inexact.
28948         * stdlib/tst-strtod-round.c (tests): Regenerated.
28949
28950 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28951
28952         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28953         assembler flag.
28954         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28955         zarch_nohighgprs around the zarch optimized routines.
28956         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28957         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28958         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28959         for zarch.
28960
28961 2012-09-05  David S. Miller  <davem@davemloft.net>
28962
28963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28964
28965         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28966         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28967         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28968         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28969         entries.
28970
28971 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28972
28973         * malloc/arena.c: Fold copyright years.
28974         * malloc/mcheck.c, malloc/memusage.c: Likewise.
28975
28976 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28977
28978         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28979
28980 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28981
28982         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
28983
28984 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28985
28986         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28987         change internal state upon failure.
28988
28989 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28990
28991         * malloc/mcheck.c (mcheck_check_all): Fix typo.
28992         * malloc/memusage.c (mmap): Likewise.
28993         (mmap64, mremap): Likewise.  Adjust name in comment.
28994
28995 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28996
28997         * libio/fileops.c: Fix typos in comments.
28998         * libio/oldfileops.c: Likewise.
28999         * libio/wfileops.c: Likewise.
29000
29001 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29002
29003         [BZ #1349]
29004         * malloc/Makefile (tests): Add tst-malloc-usable test case.
29005         (tst-malloc-usable-ENV): Set environment for test case.
29006         * malloc/hooks.c (malloc_check_get_size): New function to get
29007         requested size.
29008         * malloc/malloc.c (musable): Use malloc_check_get_size.
29009         * malloc/tst-malloc-usable.c: New test case.
29010
29011 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29012
29013         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29014
29015 2012-09-05  Allan McRae  <allan@archlinux.org>
29016
29017         [BZ #13966]
29018         * configure.in (CXX_SYSINCLUDES): Use compiler output to
29019         determine header location.
29020         * configure: Regenerated.
29021
29022 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29023
29024         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29025         float format.
29026         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29027         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29028         format.
29029         (test): Regenerate.
29030
29031 2012-09-04  David S. Miller  <davem@davemloft.net>
29032
29033         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29034         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29035         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29036
29037 2012-09-04  Florian Weimer  <fweimer@redhat.com>
29038
29039         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29040         failures.
29041
29042         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29043
29044 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
29045
29046         [BZ #9914]
29047         * libio/iogetdelim.c: Include <limits.h>.
29048         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29049         + len + 1 would overflow.
29050
29051 2012-09-03  Andreas Jaeger  <aj@suse.de>
29052
29053         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29054         * sysdeps/i386/fpu/libm-test-ulps: Update.
29055
29056 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29057
29058         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29059         Add s_sinf-sse2, s_conf-sse2.
29060
29061         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29062         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29063         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29064         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29065
29066         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29067         for using routine as __sinf_ia32.
29068         Use macro for function declaration and weak_alias.
29069         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29070         for using routine as __cosf_ia32.
29071         Use macro for function declaration and weak_alias.
29072
29073         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29074         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29075
29076         * sysdeps/x86_64/fpu/s_sinf.S: New file.
29077         * sysdeps/x86_64/fpu/s_cosf.S: New file.
29078         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29079
29080         * math/libm-test.inc (cos_test): Add more test cases.
29081         (sin_test): Likewise.
29082         (sincos_test): Likewise.
29083
29084 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29085
29086         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29087         (IFUNC_RESOLVE): Make pointers to the specialized implementations
29088         hidden.
29089         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29090
29091 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
29092
29093         [BZ #14538]
29094         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29095         first element of the GOT.
29096         (elf_machine_load_address): Return the difference between
29097         the runtime address of _DYNAMIC and elf_machine_dynamic ().
29098
29099 2012-09-01  Allan McRae  <allan@archlinux.org>
29100
29101         [BZ #13412]
29102         * configure.in (AWK): Require gawk version 3.0 or later.
29103         * configure: Regenerated.
29104
29105 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
29106
29107         * sysdeps/unix/sysv/linux/kernel-features.h
29108         (__ASSUME_POSIX_CPU_TIMERS): Remove.
29109         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29110         [__NR_clock_getres]: Make code unconditional.
29111         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29112         (clock_getcpuclockid): Remove code left unreachable by removal of
29113         conditionals.
29114         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29115         code unconditional.
29116         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29117         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29118         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29119         Make code unconditional.
29120         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29121         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29122         * sysdeps/unix/sysv/linux/clock_settime.c
29123         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29124         conditional code.
29125         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29126         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29127
29128 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
29129
29130         [BZ #14476]
29131         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29132         scripts/test-installation.pl.
29133
29134         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29135         and $ld_so_version if it is set.
29136
29137 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29138
29139         [BZ #14516]
29140         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29141         failure if reading from procfs failed.
29142         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29143
29144 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29145
29146         * sysdeps/unix/sysv/linux/kernel-features.h
29147         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29148         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29149         Remove conditional code.
29150         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29151         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29152         Remove conditional code.
29153         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29154         * sysdeps/unix/sysv/linux/i386/fxstat.c
29155         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29156         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29157         * sysdeps/unix/sysv/linux/i386/fxstatat.c
29158         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29159         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29160         * sysdeps/unix/sysv/linux/i386/lxstat.c
29161         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29162         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29163         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29164         Remove conditional code.
29165         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29166         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29167         Remove conditional code.
29168         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29169         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29170         <kernel-features.h>.
29171         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29172         Remove.
29173         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29174         Remove conditional code.
29175         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29176         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29177         Remove conditional.
29178
29179 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
29180
29181         [BZ #5400]
29182         * NEWS: Add fixed bug number.
29183
29184 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29185
29186         [BZ #14519]
29187         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29188         underflowing exponent in case of negative sign.
29189         * stdlib/tst-strtod-round-data: Add more tests.
29190         * stdlib/tst-strtod-round.c (tests): Regenerated.
29191
29192         [BZ #3479]
29193         * stdlib/strtod_l.c (NDIG): Remove.
29194         (HEXNDIG): Likewise.
29195         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29196         smallest representable value.
29197         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29198         lie within an exact representation of 1/2 ulp of the result.
29199         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29200         unconditionally.
29201         (TENS_P9_IDX): Define unconditionally.
29202         (TENS_P9_SIZE): Likewise.
29203         (TENS_P10_IDX): Likewise.
29204         (TENS_P10_SIZE): Likewise.
29205         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29206         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29207         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29208         entries for 10^2^13 and 10^2^14.
29209         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29210         (TENS_P13_IDX): Define.
29211         (TENS_P13_SIZE): Likewise.
29212         (TENS_P14_IDX): Likewise.
29213         (TENS_P14_SIZE): Likewise.
29214         (_fpioconst_pow10): Change array size to
29215         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
29216         unconditional.
29217         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29218         1024]: Add entries for 10^2^13 and 10^2^14.
29219         [LAST_POW10 > _LAST_POW10]: Remove #error.
29220         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29221         (_fpioconst_pow10): Change array size to
29222         FPIOCONST_POW10_ARRAY_SIZE.
29223         * stdlib/gen-fpioconst.c: New file.
29224         * stdlib/gen-tst-strtod-round.c: Likewise.
29225         * stdlib/tst-strtod-round-data: Likewise.
29226         * stdlib/tst-strtod-round.c: Likewise.
29227         * stdlib/Makefile (tests): Add tst-strtod-round.
29228
29229         [BZ #14459]
29230         * stdlib/strtod_l.c: Include <stdint.h>.
29231         (NDEBUG): Do not define.
29232         (round_and_return): Change EXPONENT parameter to type intmax_t.
29233         Rearrange calculations to avoid internal overflow possibilities.
29234         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29235         Rearrange calculations to avoid internal overflow possibilities.
29236         Assert that number fits inside MPNSIZE limbs.
29237         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29238         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
29239         calculations and add assertions to avoid internal overflow
29240         possibilities.  Add casts to avoid signed/unsigned operations.
29241         * stdlib/tst-strtod-overflow.c: New file.
29242         * stdlib/Makefile (tests): Add tst-strtod-overflow.
29243
29244 2012-08-25  Marek Polacek  <polacek@redhat.com>
29245
29246         * time/time.h: Fix some typos in comments.
29247
29248 2012-08-23  Roland McGrath  <roland@hack.frob.com>
29249
29250         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29251         * posix/tst-rfc3484-2.c: Likewise.
29252         * posix/tst-rfc3484-3.c: Likewise.
29253
29254 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
29255
29256         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29257         (EF_ARM_ABI_FLOAT_HARD): Likewise.
29258
29259 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
29260
29261         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29262         #include of fxstatat64.c.
29263
29264 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29265
29266         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29267         * shadow/getspent_r.c: Likewise.
29268         * shadow/getspnam.c: Likewise.
29269         * shadow/getspnam_r.c: Likewise.
29270         * gshadow/getsgent.c: Likewise.
29271         * gshadow/getsgent_r.c: Likewise.
29272         * gshadow/getsgnam.c: Likewise.
29273         * gshadow/getsgnam_r.c: Likewise.
29274         * inet/getnetbyad.c: Likewise.
29275         * inet/getnetbyad_r.c: Likewise.
29276         * inet/getnetbynm.c: Likewise.
29277         * inet/getnetbynm_r.c: Likewise.
29278         * inet/getnetent.c: Likewise.
29279         * inet/getnetent_r.c: Likewise.
29280         * inet/getproto.c: Likewise.
29281         * inet/getproto_r.c: Likewise.
29282         * inet/getprtent.c: Likewise.
29283         * inet/getprtent_r.c: Likewise.
29284         * inet/getprtname.c: Likewise.
29285         * inet/getprtname_r.c: Likewise.
29286         * inet/getrpcbyname.c: Likewise.
29287         * inet/getrpcbyname_r.c: Likewise.
29288         * inet/getrpcbynumber.c: Likewise.
29289         * inet/getrpcbynumber_r.c: Likewise.
29290         * inet/getrpcent.c: Likewise.
29291         * inet/getrpcent_r.c: Likewise.
29292         * inet/getaliasent.c: Likewise.
29293         * inet/getaliasent_r.c: Likewise.
29294         * inet/getaliasname.c: Likewise.
29295         * inet/getaliasname_r.c: Likewise.
29296         * nscd/getgrgid_r.c: Likewise.
29297         * nscd/getgrnam_r.c: Likewise.
29298         * nscd/gethstbyad_r.c: Likewise.
29299         * nscd/gethstbynm3_r.c: Likewise.
29300         * nscd/getpwnam_r.c: Likewise.
29301         * nscd/getpwuid_r.c: Likewise.
29302         * nscd/getsrvbynm_r.c: Likewise.
29303         * nscd/getsrvbypt_r.c: Likewise.
29304         * nscd/gai.c: Likewise.
29305
29306         * configure.in (build_nscd): New substituted variable, set
29307         by --disable-build-nscd and defaults to $use_nscd.
29308         * configure: Regenerated.
29309         * config.make.in (build-nscd): New substituted variable.
29310         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29311         Change conditional to require [$(build-nscd) = yes] as well.
29312         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29313
29314         [BZ# 13696]
29315         * configure.in (use_nscd): New substituted variable, set by
29316         --disable-nscd.  If enabled, define USE_NSCD.
29317         * configure: Regenerated.
29318         * config.h.in: Add USE_NSCD.
29319         * config.make.in (use-nscd): New substituted variable.
29320         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29321         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29322         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29323         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29324         (CFLAGS-getgrnam_r.c): Likewise.
29325         (CFLAGS-initgroups.c): Likewise.
29326         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29327         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29328         Variables removed.
29329         * inet/getnetgrent_r.c
29330         (nscd_setnetgrent): New function, broken out of ...
29331         (setnetgrent): ... here.  Call it.
29332         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29333         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29334         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29335         * nscd/Makefile (routines, aux): Move definitions after include of
29336         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29337         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29338         Conditionalize on [USE_NSCD].
29339         (is_nscd, nscd_init_cb): Likewise.
29340         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29341         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29342         * nss/nss_db/db-init.c: Likewise.
29343         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29344         [USE_NSCD].
29345         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29346         (make_request): Use it.
29347         (cache_valid_p): New function.
29348         (__check_pf): Use it.
29349         * NEWS: Add item for --disable-nscd.
29350
29351 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29352
29353         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29354         to support sed >= 4.2.1-20-ga9bf076.
29355         * configure: Regenerated.
29356
29357 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29358
29359         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29360         Conditionalize whole body on [IREL].
29361
29362 2012-08-22  Jeff Law <law@redhat.com>
29363
29364         [BZ #14505]
29365         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29366         if the family is PF_UNSPEC.
29367
29368 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29369
29370         * Makerules (lib-version): Rename from V.
29371         (install-lib-nosubdir): Change V to lib-version.
29372
29373 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29374
29375         [BZ #14252]
29376         * powerpc32/power6/wcschr.c: New file.
29377         * powerpc32/power6/wcscpy.c: New file.
29378         * powerpc32/power6/wcsrchr.c: New file.
29379         * powerpc64/power6/wcschr.c: New file.
29380         * powerpc64/power6/wcscpy.c: New file.
29381         * powerpc64/power6/wcsrchr.c: New file.
29382
29383 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29384
29385         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29386         (two_way_short_needle): Use it.
29387         * string/strstr.c (AVAILABLE1_USES_J): Define.
29388         * string/strcasestr.c: Likewise.
29389
29390         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29391         array references.
29392         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29393
29394         [BZ #11607]
29395         * NEWS: Add an entry.
29396         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29397         define their defaults.
29398         (two_way_short_needle): Detect end-of-string on-the-fly.
29399         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29400         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29401         * string/bug-strcasestr1.c: New test.
29402         * string/Makefile: Run it.
29403
29404 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29405
29406         [BZ #11607]
29407         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29408         the first character.
29409
29410 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29411
29412         * csu/elf-init.c (__libc_csu_irel): Function removed.
29413         * csu/libc-start.c (apply_irel): New function.
29414         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29415
29416 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
29417
29418         * sysdeps/unix/sysv/linux/kernel-features.h
29419         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29420         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29421         <kernel-features.h>.
29422         [__NR_fadvise64_64]: Make code unconditional.
29423         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29424         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29425         !__NR_fadvise64_64)]: Likewise.
29426         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29427         !__NR_fadvise64_64))]: Likewise.
29428         [__NR_fadvise64]: Make code unconditional.
29429         [!__NR_fadvise64]: Remove conditional code.
29430         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29431         <kernel-features.h>.
29432         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29433         unconditional.
29434         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29435         conditional code.
29436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29437         not include <kernel-features.h>.
29438         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29439         unconditional.
29440         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29441         conditional code.
29442         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29443         include <kernel-features.h>.
29444         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29445         unconditional.
29446         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29447         conditional code.
29448
29449 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29450
29451         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29452         slight instruction rearrangements per scrollpipe analysis.
29453         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29454
29455 2012-08-20  Roland McGrath  <roland@hack.frob.com>
29456
29457         * manual/syslog.texi (syslog; vsyslog, closelog):
29458         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29459         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29460
29461         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29462         DSOCAPS to match condition on defining it.
29463
29464 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
29465
29466         * sysdeps/unix/sysv/linux/kernel-features.h
29467         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29469         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29470         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29472         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29473         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29475         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29476         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29477
29478         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29479         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29480
29481         * sysdeps/unix/sysv/linux/kernel-features.h
29482         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29483         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29484         unconditional.
29485         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29486         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29487         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29488         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29489         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29490         Make code unconditional.
29491         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29492         (__mmap64) [!__NR_mmap2]: Likewise.
29493         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29494         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29495         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29496         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29497         [__NR_mmap2]: Make code unconditional.
29498         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29499         (__mmap64) [!__NR_mmap2]: Likewise.
29500
29501 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29502
29503         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29504
29505 2012-08-18  Andreas Jaeger  <aj@suse.de>
29506
29507         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29508
29509 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29510
29511         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29512         * include/unistd.h (__have_sock_cloexec): Likewise.
29513         (__have_pipe2): Likewise.
29514         (__have_dup3): Likewise.
29515
29516 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29517
29518         [BZ #9685]
29519         * include/unistd.h (__have_pipe2): Change define into an extern int.
29520         (__have_dup3): Likewise.
29521         * socket/have_sock_cloexec.c: Include fcntl.h.
29522         (__have_pipe2): New variable.
29523         (__have_dup3): Likewise.
29524
29525 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
29526
29527         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29528
29529 2012-08-17  Marek Polacek  <polacek@redhat.com>
29530
29531         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29532         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29533
29534 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29535
29536         * configure.in: Add AC_SUBST for sysheaders.
29537         * configure: Regenerated.
29538         * config.make.in (sysheaders): New substituted variable.
29539
29540         * sysdeps/unix/mkfifo.c: Moved ...
29541         * sysdeps/posix/mkfifo.c: ... here.
29542         * sysdeps/unix/mkfifoat.c: Moved ...
29543         * sysdeps/posix/mkfifoat.c: ... here.
29544
29545         * sysdeps/unix/utime.c: Moved ...
29546         * sysdeps/posix/utime.c: ... here.
29547
29548         * sysdeps/unix/time.c: Moved ...
29549         * sysdeps/posix/time.c: ... here.
29550         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29551         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29552
29553         * sysdeps/unix/nice.c: Moved ...
29554         * sysdeps/posix/nice.c: ... here.
29555
29556         * sysdeps/unix/alarm.c: Moved ...
29557         * sysdeps/posix/alarm.c: ... here.
29558
29559         * intl/Makefile ($(codeset_mo)): Depend on the input file.
29560
29561 2012-08-17  Jeff Law <law@redhat.com>
29562
29563         * intl/Makefile (codeset_mo): New variable.
29564         ($(codeset_mo)): New target.
29565         (tst-codeset.out): Depend on that.  Remove explicit rule.
29566         (tst-gettext3.out, tst-gettext5.out): Likewise.
29567         (LOCPATH-ENV, tst-codeset-ENV): New variables.
29568         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29569         * intl/tst-codeset.sh: Remove.
29570         * intl/tst-gettext3.sh: Likewise.
29571         * intl/tst-gettext5.sh: Likewise.
29572
29573 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29574
29575         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
29576         * sysdeps/unix/syscalls.list: ... here.
29577
29578         * sysdeps/posix/getaddrinfo.c
29579         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29580         (gaiconf_init, gaiconf_reload): Use them.
29581         [!_STATBUF_ST_NSEC]
29582         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29583         Define using time_t rather than struct timespec.
29584
29585         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29586         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29587         Macros removed.
29588         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29589         [!NO_THREADS].
29590         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29591         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29592         Likewise.
29593
29594         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29595         __libc_cleanup_push argument.
29596
29597         * bits/param.h: New file.
29598         * misc/sys/param.h: New file.
29599         * include/sys/param.h: New file.
29600         * misc/Makefile (headers): Add bits/param.h.
29601         * sysdeps/generic/sys/param.h: File removed.
29602         * sysdeps/unix/sysv/linux/bits/param.h: New file.
29603         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29604         * sysdeps/mach/hurd/bits/param.h: New file.
29605         * sysdeps/mach/hurd/sys/param.h: File removed.
29606
29607         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29608         last change.
29609
29610         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29611         [_IO_MTSAFE_IO].
29612         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29613         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29614         New macros.
29615
29616         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29617         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29618         rather than -D_IO_MTSAFE_IO conditionally.
29619         * stdio-common/Makefile (CPPFLAGS): Likewise.
29620         * wcsmbs/Makefile (CPPFLAGS): Likewise.
29621         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29622         Use $(libio-mtsafe).
29623         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29624         of -D_IO_MTSAFE_IO.
29625         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29626         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29627         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29628         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29629         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29630         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29631         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29632         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29633         (CFLAGS-fread_u_chk.c): Likewise.
29634         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29635         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29636         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29637         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29638         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29639         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29640         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29641         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29642         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29643
29644         * libio/Makefile: Test [$(libc-reentrant) = yes]
29645         instead of [$(filter %REENTRANT, $(defines)) nonempty].
29646
29647         * Makeconfig
29648         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29649         * sysdeps/pthread/configure: File removed.
29650         * sysdeps/pthread/Makeconfig: New file.
29651         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29652         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29653
29654 2012-08-16  Gary Benson  <gbenson@redhat.com>
29655
29656         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29657         unmapping the first object in a namespace.
29658
29659 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29660
29661         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29662         (__internal_setnetgrent): ... this.  Add internal_function to
29663         definition.  Add libc_hidden_def.
29664         (setnetgrent): Update caller.
29665         (internal_endnetgrent): Renamed to ...
29666         (__internal_endnetgrent): ... this.  Add internal_function to
29667         definition.  Add libc_hidden_def.
29668         (endnetgrent): Update caller.
29669         (internal_getnetgrent_r): Renamed to ...
29670         (__internal_getnetgrent_r): ... this.  Add internal_function to
29671         definition.  Add libc_hidden_def.
29672         (__getnetgrent_r): Update caller.
29673         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
29674
29675 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29676
29677         * stdlib/longlong.h: Update from GCC.
29678
29679 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29680
29681         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29682         on _QL, which is set by umul_ppmm but never used.
29683         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29684         variables, which are set by GMP macros but never used.
29685         * stdio-common/_itowa.c (_itowa): Likewise.
29686         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29687         * stdlib/mod_1.c (mpn_mod_1): Likewise.
29688
29689 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
29690
29691         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29692         struct La_sh_regs is not constant.
29693         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29694         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29695         and struct La_sparc64_regs are not constant.
29696
29697 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29698
29699         * sysdeps/unix/sysv/linux/kernel-features.h
29700         (__ASSUME_POSIX_TIMERS): Remove.
29701         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29702         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29703         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29704         Make code unconditional.
29705         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29706         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29707         Make code unconditional.
29708         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29709         * sysdeps/unix/sysv/linux/clock_nanosleep.c
29710         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29711         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29712         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29713         Make code unconditional.
29714         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29715         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29716         (__libc_missing_posix_timers): Remove.
29717
29718 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29719
29720         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29721         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29722
29723         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29724
29725         * elf/dl-sym.c: Include <stdlib.h>.
29726
29727         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29728         constants, which avoids warnings in 32-bit builds.
29729
29730         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29731         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29732
29733         * misc/lseek.c: File moved to ...
29734         * io/lseek.c: ... here.
29735
29736         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29737
29738         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29739         shifting LEN more than 31 bits at once.
29740
29741 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29742
29743         [BZ #14195]
29744         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29745         segmentation fault for a case of two empty input strings.
29746         * string/test-strncasecmp.c (check1): Renamed to...
29747         (bz12205): ...this.
29748         (bz14195): Add new testcase for two empty input strings and N > 0.
29749         (test_main): Call new testcase, adapt for renamed function.
29750
29751 2012-08-15  Andreas Jaeger  <aj@suse.de>
29752
29753         [BZ #14090]
29754         * crypt/md5test2.c: New test, based on test supplied by Serge
29755         Belyshev <belyshev@depni.sinp.msu.ru>.
29756         * crypt/Makefile (xtests): Add md5test-giant..
29757         * crypt/Makefile ($(objpfx)md5test-giant): Add.
29758
29759 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
29760
29761         [BZ #14090]
29762         * crypt/md5.c (md5_process_block): Don't assume the buffer
29763         length is less than 2**32.
29764         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29765         length is less than 2**64.
29766
29767 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29768
29769         * string/str-two-way.h: Include <sys/param.h>.
29770         (MAX): Macro removed.
29771
29772         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29773         Move #define and #undef of memmove to just before and after
29774         including <string.h>.
29775
29776         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29777         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29778         and after including <string.h>.  Move declarations of
29779         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29780         to before #include "string/memmove.c".
29781
29782         * include/dirent.h: Declare __getdirentries.
29783
29784         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29785         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29786
29787 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
29788
29789         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29790         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29791         * sysdeps/i386/configure: Regenerated.
29792         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29793         STABS_CURRENT_FILE, and STABS_FUN.
29794         (END): Remove call to STABS_FUN_END.
29795         (STABS_CURRENT_FILE1): Delete.
29796         (STABS_CURRENT_FILE): Likewise.
29797         (STABS_FUN): Likewise.
29798         (STABS_FUN_END): Likewise.
29799         (STABS_FUN2): Likewise.
29800         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29801         * sysdeps/x86_64/configure: Regenerated.
29802
29803 2012-08-14  Roland McGrath  <roland@hack.frob.com>
29804
29805         * elf/dl-open.c: Include <atomic.h>.
29806         * elf/dl-lookup.c: Likewise.
29807
29808 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
29809
29810         * sysdeps/unix/sysv/linux/kernel-features.h
29811         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29812         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29813         unconditionally.
29814         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29815         unconditionally.
29816         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29817         condition on __ASSUME_CLONE_THREAD_FLAGS.
29818
29819 2012-08-14  Andreas Jaeger  <aj@suse.de>
29820
29821         * sysdeps/i386/fpu/libm-test-ulps: Update.
29822
29823 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
29824
29825         * include/atomic.h (atomic_exchange_and_add): Split into ...
29826         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29827         New atomic macros.
29828
29829 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
29830
29831         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29832
29833 2012-08-13  Jeff Law <law@redhat.com>
29834
29835         * manual/stdio.texi (snprintf): Clarify handling of the trailing
29836         null byte in the output string.
29837
29838 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
29839
29840         * sysdeps/unix/sysv/linux/kernel-features.h
29841         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29842         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29843         (__ASSUME_ARG_MAX_STACK_BASED): Define.
29844         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29845         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29846         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
29847         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29848
29849 2012-08-09  Jeff Law <law@redhat.com>
29850
29851         [BZ #13939]
29852         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29853         When avoid_arena is set, don't retry in the that arena.  Pick the
29854         next one, whatever it might be.
29855         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29856         (arena_lock): Pass in new parameter to arena_get2.
29857         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29858         arena_get2.
29859         (__libc_malloc): Unify retrying after main arena failure with
29860         __libc_memalign version.
29861         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29862
29863 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29864
29865         [BZ #14166]
29866         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29867         to __redirect_strstr.
29868         (__strstr_sse42): Use typeof __redirect_strstr.
29869         (__strstr_ia32): Likewise.
29870         (__libc_strstr): New prototype.
29871         (strstr): Renamed to ...
29872         (__libc_strstr): This.
29873         (strstr): New strong alias of __libc_strstr.
29874         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29875         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29876         __redirect_time.
29877         Include <time.h>.
29878         (__libc_time): New prototype.
29879         (time_ifunc): Replace time with __libc_time.
29880         (time): New strong alias and hidden definition of __libc_time.
29881         (__GI_time): Remove strong alias.
29882         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29883         Include <stddef.h>.
29884         (memmove): Redefined to __redirect_memmove.
29885         (__memmove_sse2): Use typeof __redirect_memmove.
29886         (__memmove_ssse3): Likewise.
29887         (__memmove_ssse3_back): Likewise.
29888         (__libc_memmove): New prototype.
29889         (memmove): Renamed to ...
29890         (__libc_memmove): This.
29891         (memmove): New strong alias of __libc_memmove.
29892
29893 2012-08-08  Mark Salter  <msalter@redhat.com>
29894
29895         * elf/elf.h
29896         (R_MN10300_TLS_GD): Define.
29897         (R_MN10300_TLS_LD): Likewise.
29898         (R_MN10300_TLS_LDO): Likewise.
29899         (R_MN10300_TLS_GOTIE): Likewise.
29900         (R_MN10300_TLS_IE): Likewise.
29901         (R_MN10300_TLS_LE): Likewise.
29902         (R_MN10300_TLS_DTPMOD): Likewise.
29903         (R_MN10300_TLS_DTPOFF): Likewise.
29904         (R_MN10300_TLS_TPOFF): Likewise.
29905         (R_MN10300_SYM_DIFF): Likewise.
29906         (R_MN10300_ALIGN): Likewise.
29907         (R_MN10300_NUM): Update.
29908
29909 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
29910
29911         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29912         Remove.
29913
29914 2012-08-08  Roland McGrath  <roland@hack.frob.com>
29915
29916         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29917
29918         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29919         sysdeps/unix -> sysdeps/posix move.
29920         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29921
29922 2012-08-07      Allan McRae     <allan@archlinux.org>
29923
29924         [BZ #14303]
29925         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29926         (SUNOS_CPP): Likewise.
29927         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29928         not found.
29929         (open_input): Call CPP using execvp.
29930
29931 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29932
29933         * sysdeps/unix/sysv/linux/kernel-features.h
29934         (__ASSUME_PROT_GROWSUPDOWN): Remove.
29935         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29936         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29937         (__ASSUME_WAITID_SYSCALL): Likewise.
29938         * sysdeps/unix/sysv/linux/dl-execstack.c
29939         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29940         code unconditional.
29941         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29942         conditional code.
29943         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29944         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29945         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29946         code.
29947         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29948         unconditional.
29949         [__ASSUME_WAITID_SYSCALL]: Likewise.
29950         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29951
29952 2012-08-07  Roland McGrath  <roland@hack.frob.com>
29953
29954         * sysdeps/unix/closedir.c: Renamed to ...
29955         * sysdeps/posix/closedir.c: ... here.
29956         * sysdeps/unix/dirfd.c: Renamed to ...
29957         * sysdeps/posix/dirfd.c: ... here.
29958         * sysdeps/unix/dirstream.h: Renamed to ...
29959         * sysdeps/posix/dirstream.h: ... here.
29960         * sysdeps/unix/fdopendir.c: Renamed to ...
29961         * sysdeps/posix/fdopendir.c: ... here.
29962         * sysdeps/unix/opendir.c: Renamed to ...
29963         * sysdeps/posix/opendir.c: ... here.
29964         * sysdeps/unix/readdir.c: Renamed to ...
29965         * sysdeps/posix/readdir.c: ... here.
29966         * sysdeps/unix/readdir_r.c: Renamed to ...
29967         * sysdeps/posix/readdir_r.c: ... here.
29968         * sysdeps/unix/rewinddir.c: Renamed to ...
29969         * sysdeps/posix/rewinddir.c: ... here.
29970         * sysdeps/unix/seekdir.c: Renamed to ...
29971         * sysdeps/posix/seekdir.c: ... here.
29972         * sysdeps/unix/telldir.c: Renamed to ...
29973         * sysdeps/posix/telldir.c: ... here.
29974         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29975         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29976         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29977         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29978
29979         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29980         * bits/fcntl.h: ... here.
29981
29982         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29983         not 0.
29984         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29985         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29986         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29987         (struct flock): Move l_start, l_len to the beginning.
29988         Use __pid_t for l_pid.
29989         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29990         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29991         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29992         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29993         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29994         [__USE_LARGEFILE64] (struct flock64): New type.
29995         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29996
29997         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29998         * bits/dirent.h: ... here.
29999
30000         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30001         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30002
30003 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30004
30005         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30006         Change from 2.6.0 to 2.6.16.
30007         * sysdeps/unix/sysv/linux/configure: Regenerated.
30008         * sysdeps/unix/sysv/linux/kernel-features.h
30009         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30010         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30011         version.
30012         (__ASSUME_UTIMES): Likewise.
30013         (__ASSUME_CLONE_STOPPED): Remove.
30014         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30015         architectures, not kernel version.
30016         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30017         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30018         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30019         (__ASSUME_WAITID_SYSCALL): Likewise.
30020         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30021         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30022         * README: State 2.6.16 as minimum Linux kernel version.  Do not
30023         refer to older versions.
30024
30025 2012-08-06  Roland McGrath  <roland@hack.frob.com>
30026
30027         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30028         Define alphasort64 as an alias.
30029         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30030         Define versionsort64 as an alias.
30031         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30032         Define scandir64 as an alias.
30033         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30034         Define scandirat64 as an alias.
30035         * dirent/alphasort64.c (alphasort64):
30036         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30037         * dirent/versionsort64.c: Likewise.
30038         * dirent/scandir64.c: Likewise.
30039         * dirent/scandirat64.c: Likewise.
30040         * sysdeps/wordsize-64/alphasort.c: File removed.
30041         * sysdeps/wordsize-64/alphasort64.c: File removed.
30042         * sysdeps/wordsize-64/scandir.c: File removed.
30043         * sysdeps/wordsize-64/scandir64.c: File removed.
30044         * sysdeps/wordsize-64/scandirat.c: File removed.
30045         * sysdeps/wordsize-64/scandirat64.c: File removed.
30046         * sysdeps/wordsize-64/versionsort.c: File removed.
30047         * sysdeps/wordsize-64/versionsort64.c: File removed.
30048         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30049         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30050         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30051         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30052         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30053         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30054         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30055         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30056
30057         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30058         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30059         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30060         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30061         [defined __arch64__ || defined __sparcv9]
30062         (__INO_T_MATCHES_INO64_T): New macro.
30063         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30064         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30065         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30066         * sysdeps/unix/sysv/linux/bits/dirent.h
30067         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30068         (_DIRENT_MATCHES_DIRENT64): New macro.
30069
30070         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30071         Define lockf64 as an alias.
30072         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30073         Define fseeko64 as an alias.
30074         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30075         Define ftello64 as an alias.
30076         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30077         Define _IO_fgetpos64 and fgetpos64 as aliases.
30078         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30079         Define _IO_fsetpos64 and fsetpos64 as aliases.
30080         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30081         Conditionalize body on this.
30082         * libio/fseeko64.c: Likewise.
30083         * libio/ftello64.c: Likewise.
30084         * libio/iofgetpos64.c: Likewise.
30085         * libio/iofsetpos64.c: Likewise.
30086         * sysdeps/wordsize-64/lockf.c: File removed.
30087         * sysdeps/wordsize-64/lockf64.c: File removed.
30088         * sysdeps/wordsize-64/fseeko.c: File removed.
30089         * sysdeps/wordsize-64/fseeko64.c: File removed.
30090         * sysdeps/wordsize-64/ftello.c: File removed.
30091         * sysdeps/wordsize-64/ftello64.c: File removed.
30092         * sysdeps/wordsize-64/iofgetpos.c: File removed.
30093         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30094         * sysdeps/wordsize-64/iofsetpos.c: File removed.
30095         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30096         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30097         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30098         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30099         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30100         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30101         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30102         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30103         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30104         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30105         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30106
30107         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30108         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30109         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30110         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30111         [defined __arch64__ || defined __sparcv9]
30112         (__OFF_T_MATCHES_OFF64_T): New macro.
30113         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30114         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30115         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30116         (__OFF_T_MATCHES_OFF64_T): New macro.
30117
30118 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30119
30120         * stdlib/secure-getenv.c (__secure_getenv): Replace
30121         GLIBC_2_16 with GLIBC_2_17.
30122
30123 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30124
30125         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30126         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30127
30128 2012-08-03  David S. Miller  <davem@davemloft.net>
30129
30130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30131
30132 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30133
30134         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30135         Remove.
30136         (__ASSUME_CORRECT_SI_PID): Likewise.
30137         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30138         (__ASSUME_TMPFS_NAME): Likewise.
30139         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30140         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30141         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30142         (HAVE_AUX_SECURE): Make definition unconditional.
30143         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30144         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30145
30146 2012-08-03  Roland McGrath  <roland@hack.frob.com>
30147
30148         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30149         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30150         * sysdeps/mach/hurd/eloop-threshold.h: New file.
30151         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30152         __eloop_threshold instead of SYMLOOP_MAX.
30153
30154         * sysdeps/generic/eloop-threshold.h: New file.
30155         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30156         of MAXSYMLINKS.
30157         * elf/chroot_canon.c (chroot_canon): Likewise.
30158
30159 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30160
30161         [BZ #13717]
30162         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30163         Change to 2.6.0 everywhere.
30164         * sysdeps/unix/sysv/linux/configure: Regenerated.
30165         * sysdeps/unix/sysv/linux/kernel-features.h
30166         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30167         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30168         kernel versions.
30169         (__ASSUME_POSIX_TIMERS): Define unconditionally.
30170         (__ASSUME_FUTEX_REQUEUE): Remove.
30171         (__ASSUME_STATFS64): Define unconditionally.
30172         (__ASSUME_AT_SECURE): Likewise.
30173         (__ASSUME_CORRECT_SI_PID): Likewise.
30174         (__ASSUME_TGKILL): Define without depending on kernel version for
30175         i386.
30176         (__ASSUME_UTIMES): Likewise.
30177         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30178         kernel version.
30179         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30180         (__ASSUME_TMPFS_NAME): Likewise.
30181         * README: Update reference to Linux kernel versions.
30182
30183 2012-08-02  Marek Polacek  <polacek@redhat.com>
30184
30185         [BZ# 14150]
30186         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
30187         libc_cv_asm_type_prefix with %.
30188         * configure: Regenerated.
30189         * include/libc-symbols.h: Remove comment about
30190         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30191         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30192         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30193         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30194         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30195         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30196         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30197         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30198         * elf/tst-unique2mod1.c: Likewise.
30199         * elf/tst-unique1mod2.c: Likewise.
30200         * elf/tst-unique1mod1.c: Likewise.
30201         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30202         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30203         Replace ASM_TYPE_DIRECTIVE with .type.
30204         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30205         * sysdeps/i386/sysdep.h: Likewise.
30206         * sysdeps/x86_64/sysdep.h: Likewise.
30207         * sysdeps/sh/sysdep.h: Likewise.
30208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30209         Do not define ASM_TYPE_DIRECTIVE.
30210         * sysdeps/powerpc/sysdep.h: Likewise.
30211         * sysdeps/powerpc/powerpc32/sysdep.h:
30212         Replace ASM_TYPE_DIRECTIVE with .type.
30213         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30214         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30215         * sysdeps/i386/fpu/e_powf.S: Likewise.
30216         * sysdeps/i386/fpu/e_expl.S: Likewise.
30217         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30218         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30219         * sysdeps/i386/fpu/e_pow.S: Likewise.
30220         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30221         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30222         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30223         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30224         * sysdeps/i386/fpu/e_log2.S: Likewise.
30225         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30226         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30227         * sysdeps/i386/fpu/e_powl.S: Likewise.
30228         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30229         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30230         * sysdeps/i386/fpu/e_logl.S: Likewise.
30231         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30232         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30233         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30234         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30235         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30236         * sysdeps/i386/fpu/e_log.S: Likewise.
30237         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30238         * sysdeps/i386/fpu/e_logf.S: Likewise.
30239         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30240         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30241         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30242         * sysdeps/i386/fpu/e_log10.S: Likewise.
30243         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30244         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30245         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30246         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30247         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30248         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30249         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30250         * sysdeps/i386/i686/strtok.S: Likewise.
30251         * sysdeps/i386/i386-mcount.S: Likewise.
30252         * sysdeps/i386/strtok.S: Likewise.
30253         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30254         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30255         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30256         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30257         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30258         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30259         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30260         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30261         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30262         * sysdeps/x86_64/_mcount.S: Likewise.
30263         * sysdeps/x86_64/strtok.S: Likewise.
30264         * sysdeps/sh/_mcount.S: Likewise.
30265
30266 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30267
30268         * libio/iofopen.c: Include <fcntl.h>.
30269         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30270         (_IO_fopen64, fopen64): Define as aliases.
30271         * libio/iofopen64.c: Include <fcntl.h>.
30272         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30273         Conditionalize body on this.
30274         * sysdeps/wordsize-64/iofopen.c: File removed.
30275         * sysdeps/wordsize-64/iofopen64.c: File removed.
30276
30277 2012-08-01  Marek Polacek  <polacek@redhat.com>
30278
30279         * libc/Makeconfig: Use elf in place of binfmt-subdir.
30280         Use dlfcn directly instead of a variable.
30281         (binfmt-subdir): Do not define.
30282         (dlfcn): Likewise.
30283
30284 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30285
30286         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30287         Remove all definitions.
30288         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30289         <kernel-features.h>.
30290         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30291         (miss_F_GETOWN_EX): Remove all definitions.
30292         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30293         macro definition.
30294         [!__ASSUME_FCNTL64]: Remove conditional code.
30295         [__ASSUME_FCNTL64]: Make code unconditional.
30296         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30297         <kernel-features.h>.
30298         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30299         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30300         (lockf64) [__NR_fcntl64]: Make code unconditional.
30301         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30302
30303         * sysdeps/unix/sysv/linux/kernel-features.h
30304         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30305         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30306         Make code unconditional.
30307         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30308         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30310         [__NR_vfork]: Make code unconditional.
30311         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30312         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30314         [__NR_vfork]: Make code unconditional.
30315         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30316         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30317
30318 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30319
30320         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30321         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30322
30323         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30324         Define mkstemp64 as an alias.
30325         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30326         Define mkstemps64 as an alias.
30327         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30328         Define mkostemp64 as an alias.
30329         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30330         Define mkostemps64 as an alias.
30331         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30332         Conditionalize body on this.
30333         * misc/mkostemp64.c: Likewise.
30334         * misc/mkostemps64.c: Likewise.
30335         * misc/mkstemps64.c: Likewise.
30336         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30337         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30338         * sysdeps/wordsize-64/mkostemp.c: File removed.
30339         * sysdeps/wordsize-64/mkstemp.c: File removed.
30340         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30341         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30342         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30343         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30344
30345         [BZ #14138]
30346         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30347         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30348         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30349         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30350
30351         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30352         compat_symbol macros from <shlib-compat.h> rather than the underlying
30353         default_symbol_version and symbol_version macros, so that DEFAULT
30354         lines in shlib-versions are respected.
30355         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30356
30357 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30358
30359         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30360         Declare with warn_unused_result.
30361         (setgid, setregid, setegid, setresgid): Likewise.
30362         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30363         Likewise.
30364         * WUR-REPORT: Remove set*id functions.
30365
30366 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30367
30368         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30369
30370 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30371
30372         [BZ #10191]
30373         * include/sys/socket.h (__libc_accept, __libc_accept4):
30374         Add attribute_hidden.
30375         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30376
30377         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30378         use of PTR_MANGLE.
30379         * inet/getnetgrent_r.c (setup): Likewise.
30380
30381         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30382
30383 2012-07-31  David S. Miller  <davem@davemloft.net>
30384
30385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30386
30387 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30388
30389         [BZ #13629]
30390         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30391         value between 1.0 and 2.0 and smaller part has absolute value less
30392         than 1.0.
30393         * math/s_clog10.c (__clog10): Likewise.
30394         * math/s_clog10f.c (__clog10f): Likewise.
30395         * math/s_clog10l.c (__clog10l): Likewise.
30396         * math/s_clogf.c (__clogf): Likewise.
30397         * math/s_clogl.c (__clogl): Likewise.
30398         * math/libm-test.inc (clog_test): Add more tests.
30399         (clog10_test): Likewise.
30400         * sysdeps/i386/fpu/libm-test-ulps: Update.
30401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30402
30403 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30404
30405         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30406         Exit with zero in case no suitable GID is found, and write a
30407         message to standard error.
30408
30409 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30410
30411         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30412         rather than to 1.
30413         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30414         (MAXPATHLEN): Removed.
30415         (NOGROUP, NODEV): New macros.
30416         (setbit, clrbit, isset, isclr): New macros.
30417         (howmany, roundup, powerof2): New macros.
30418         (DEV_BSIZE): New macro.
30419
30420         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30421         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30422
30423         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30424         definition on [!__NO_LONG_DOUBLE_MATH].
30425
30426         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30427         PTR_MANGLE and PTR_DEMANGLE.
30428
30429         * socket/accept4.c (accept4): Rename to __libc_accept4.
30430         Define accept4 as a weak alias.
30431
30432         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30433         on [_DIRENT_HAVE_D_TYPE].
30434         * io/ftw.c (ftw_dir): Likewise.
30435
30436         * io/xmknod.c (__xmknod): Don't check PATH for being null.
30437
30438         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30439
30440         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30441         Use the BSD numbers rather than the arbitrary ones we had.
30442         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30443         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30444         (SIGXCPU, SIGXFSZ): New macros.
30445         (_NSIG): Now 32.
30446
30447         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30448         initializer on [_LIBC_REENTRANT].
30449
30450         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30451         definitions inside [_POSIX_MAPPED_FILES].
30452
30453         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30454
30455         * dirent/opendir.c: Include <fcntl.h>.
30456
30457         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30458         (__libc_getspecific): Likewise.
30459         (__libc_key_create): Likewise.
30460
30461         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30462         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30463         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30464         (tmpfile64): Define as alias.
30465         * sysdeps/wordsize-64/tmpfile.c: File removed.
30466         * sysdeps/wordsize-64/tmpfile64.c: File removed.
30467         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30468         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30469
30470         * stdio-common/vfscanf.c: Include <stdbool.h>.
30471         * nss/makedb.c: Likewise.
30472         * stdio-common/_i18n_number.h: Likewise.
30473         * argp/argp-help.c: Likewise.
30474         * posix/wordexp.c: Likewise.
30475         * sysdeps/posix/spawni.c: Likewise.
30476         * nss/nss_files/files-initgroups.c: Likewise.
30477         * stdio-common/reg-modifier.c: Include <stdlib.h>.
30478         * nss/nss_files/files-initgroups.c: Likewise.
30479         * nss/nss_db/db-netgrp.c: Likewise.
30480         * nss/nss_db/db-initgroups.c: Likewise.
30481         * io/fchmodat.c: Include <sys/stat.h>.
30482
30483         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30484         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30485
30486         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30487         [HAVE_MMAP].
30488
30489         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30490         Add multiple inclusion protection.
30491
30492 2012-07-27  David S. Miller  <davem@davemloft.net>
30493
30494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30495
30496 2012-07-27  Gary Benson  <gbenson@redhat.com>
30497
30498         [BZ #14298]
30499         * elf/rtld.c: Include <stap-probe.h>.
30500         (dl_main): Added static probes "init_start" and "init_complete".
30501         * elf/dl-load.c: Include <stap-probe.h>.
30502         (lose): Take new parameter "nsid".
30503         Added static probe "map_failed".
30504         (_dl_map_object_from_fd): Pass namespace id to lose.
30505         Added static probe "map_start".
30506         (open_verify): Pass namespace id to lose.
30507         * elf/dl-open.c: Include <stap-probe.h>.
30508         (dl_open_worker) Added static probes "map_complete", "reloc_start"
30509         and "reloc_complete".
30510         * elf/dl-close.c: Include <stap-probe.h>.
30511         (_dl_close_worker): Added static probes "unmap_start" and
30512         "unmap_complete".
30513         * elf/rtld-debugger-interface.txt: New file documenting the above.
30514
30515 2012-07-26  Roland McGrath  <roland@hack.frob.com>
30516
30517         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30518         rather than a string variable.
30519         * sunrpc/rpc_main.c (h_output): Likewise.
30520         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30521
30522 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
30523
30524         * inet/check_native.c: New file.
30525
30526 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
30527
30528         [BZ #13629]
30529         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30530         if larger part has absolute value 1.0.
30531         * math/s_clog10.c (__clog10): Likewise.
30532         * math/s_clog10f.c (__clog10f): Likewise.
30533         * math/s_clog10l.c (__clog10l): Likewise.
30534         * math/s_clogf.c (__clogf): Likewise.
30535         * math/s_clogl.c (__clogl): Likewise.
30536         * math/libm-test.inc (clog_test): Add more tests.
30537         (clog10_test): Likewise.
30538         * sysdeps/i386/fpu/libm-test-ulps: Update.
30539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30540
30541         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30542         (pltexit): Likewise.
30543         (La_regs): Likewise.
30544         (La_retval): Likewise.
30545         (int_retval): Likewise.
30546         Update #error for removed macros to refer only to definitions in
30547         tst-audit.h.
30548         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30549         macro.
30550         (pltexit): Likewise.
30551         (La_regs): Likewise.
30552         (La_retval): Likewise.
30553         (int_retval): Likewise.
30554         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30555         macro.
30556         (pltexit): Likewise.
30557         (La_regs): Likewise.
30558         (La_retval): Likewise.
30559         (int_retval): Likewise.
30560         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30561         macro.
30562         (pltexit): Likewise.
30563         (La_regs): Likewise.
30564         (La_retval): Likewise.
30565         (int_retval): Likewise.
30566         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30567         macro.
30568         (pltexit): Likewise.
30569         (La_regs): Likewise.
30570         (La_retval): Likewise.
30571         (int_retval): Likewise.
30572         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30573         macro.
30574         (pltexit): Likewise.
30575         (La_regs): Likewise.
30576         (La_retval): Likewise.
30577         (int_retval): Likewise.
30578         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30579         macro.
30580         (pltexit): Likewise.
30581         (La_regs): Likewise.
30582         (La_retval): Likewise.
30583         (int_retval): Likewise.
30584         * sysdeps/generic/tst-audit.h: Update comment to refer only to
30585         macro definitions in tst-audit.h.
30586         * sysdeps/i386/tst-audit.h: New file.
30587         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30588         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30589         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30590         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30591         * sysdeps/sh/tst-audit.h: Likewise.
30592         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30593         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30594         * sysdeps/x86_64/tst-audit.h: Likewise.
30595
30596 2012-07-26  Andreas Jaeger  <aj@suse.de>
30597
30598         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30599         ptrace.
30600
30601         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30602         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30603         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30604         PTRACE_O_MASK.
30605         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30606         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30607         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30608
30609         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30610         value.
30611
30612         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30613         _sigsys.
30614         (si_call_addr, si_syscall, si_arch): Define new macro.
30615         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30616         _sigsys.
30617         (si_call_addr, si_syscall, si_arch): Define new marcro.
30618         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30619         _sigsys.
30620         (si_call_addr, si_syscall, si_arch): Define new macro.
30621         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30622         _sigsys.
30623         (si_call_addr, si_syscall, si_arch): Define new macro.
30624
30625 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30626
30627         [BZ #13717]
30628         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30629         Change to 2.4.21 where previously 2.4.1.
30630         * sysdeps/unix/sysv/linux/configure: Regenerated.
30631         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30632         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30633         Linux kernel version.
30634         (__ASSUME_STD_AUXV): Remove.
30635         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30636         kernel version.
30637         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30638         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30639         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30640         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30641         (__ASSUME_NETLINK_SUPPORT): Likewise.
30642         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30643         (__no_netlink_support): Remove conditional definition.
30644         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30645         Remove.
30646         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30647         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30648         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30649         (if_nameindex_ioctl): Remove.
30650         (if_nameindex_netlink): Do not handle __no_netlink_support.
30651         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30652         code.
30653         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30654         Remove conditional code.
30655         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30656         code.
30657         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30658         unconditional.
30659         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30660         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30661         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30662         Remove.
30663         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30664         [!__ASSUME_STD_AUXV]: Remove conditional code.
30665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30666         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30667         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30669         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30670         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30671         code.
30672         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30674         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30675         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30676         conditional code.
30677         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30679         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30680         code.
30681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30682         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30683         conditional code.
30684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30685         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30686         code unconditional.
30687         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30688         conditional code.
30689         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30690         unconditional.
30691         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30692         conditional code.
30693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30694         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30695         unconditional.
30696         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30697         conditional code.
30698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30699         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30700         code unconditional.
30701         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30702         conditional code.
30703         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30704         unconditional.
30705         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30706         conditional code.
30707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30708         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30709         code unconditional.
30710         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30711         conditional code.
30712         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30713         unconditional.
30714         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30715         conditional code.
30716
30717 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
30718
30719         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30720         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30721         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30722         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30723         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30724         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30725         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30726         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30727         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30728         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30729         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30730         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30731         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30732         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30733         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30734         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30735         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30736         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30737         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30738         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30739         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30740         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30741         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30742
30743 2012-07-25  Florian Weimer  <fweimer@redhat.com>
30744
30745         * Versions.def: Add GLIBC_2.17.
30746         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30747         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30748         Introduce __libc_secure_getenv.
30749         * stdlib/Versions (2.17): Add secure_getenv
30750         (GLIBC_PRIVATE): Add __libc_secure_getenv.
30751         * stdlib/secure-getenv.c: Rename __secure_getenv to
30752         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
30753         symbol __secure_getenv for GLIBC_2.0.
30754         * stdlib/tst-secure-getenv.c: New.
30755         * stdlib/Makefile (tests): Add testcase.
30756         * manual/startup.texi (Environment Access): Document
30757         secure_getenv.
30758         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30759         __libc_secure_getenv.
30760         * inet/ruserpass.c (ruserpass): Likewise.
30761         * malloc/mtrace.c (mtrace): Likewise.
30762         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30763         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30764         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30765         * sysdeps/posix/tempname.c: Likewise.  Evaluate
30766         HAVE_SECURE_GETENV.
30767         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30768         __secure_getenv to __libc_secure_getenv.
30769         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30771         Likewise.
30772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30773         Likewise.
30774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30776         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30777         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30781
30782 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30783
30784         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30785         (struct La_i86_retval): Likewise.
30786         (struct La_x86_64_regs): Likewise.
30787         (struct La_x86_64_retval): Likewise.
30788         (struct La_x32_regs): Likewise.
30789         (struct La_x32_retval): Likewise.
30790         (struct La_ppc32_regs): Likewise.
30791         (struct La_ppc32_retval): Likewise.
30792         (struct La_ppc64_regs): Likewise.
30793         (struct La_ppc64_retval): Likewise.
30794         (struct La_sh_regs): Likewise.
30795         (struct La_sh_retval): Likewise.
30796         (struct La_s390_32_regs): Likewise.
30797         (struct La_s390_32_retval): Likewise.
30798         (struct La_s390_64_regs): Likewise.
30799         (struct La_s390_64_retval): Likewise.
30800         (struct La_sparc32_regs): Likewise.
30801         (struct La_sparc32_retval): Likewise.
30802         (struct La_sparc64_regs): Likewise.
30803         (struct La_sparc64_retval): Likewise.
30804         (struct audit_ifaces): Remove architecture-specific pltenter and
30805         pltexit members.
30806         * sysdeps/i386/ldsodefs.h: New file.
30807         * sysdeps/powerpc/ldsodefs.h: Likewise.
30808         * sysdeps/s390/ldsodefs.h: Likewise.
30809         * sysdeps/sh/ldsodefs.h: Likewise.
30810         * sysdeps/sparc/ldsodefs.h: Likewise.
30811         * sysdeps/x86_64/ldsodefs.h: Likewise.
30812
30813 2012-07-25  Marek Polacek  <polacek@redhat.com>
30814
30815         [BZ #6808]
30816         * math/libm-test.inc (yn_test): Add another test.
30817         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30818         to ERANGE when the result is +-Inf.
30819         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30820         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30821         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30822         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30823
30824 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
30825
30826         * conform/data/time.h-data (NULL): Use macro-constant.  Require
30827         equal to 0.
30828         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
30829         clock_t.
30830         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
30831
30832 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
30833
30834         * configure.in <sysdeps resolving>: Correct printing
30835         Implies_before.
30836         * configure: Regenerate.
30837
30838 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
30839
30840         * math/w_ilogb.c: Include <limits.h>.
30841         * math/w_ilogbl.c: Likewise.
30842
30843 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30844
30845         * manual/lang.texi (__va_copy): Document primarily as ISO C99
30846         va_copy.  Document allowing for unavailable va_copy only as
30847         pre-C99 compatibility.
30848         * manual/string.texi (Copying and Concatenation): Use va_copy
30849         instead of __va_copy in concat example.
30850
30851 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
30852
30853         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30854         (__sendto): Use create_address_port.  Initialize APORT and deallocate
30855         it if not null.
30856
30857         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30858         with O_NOLINK passed to __file_name_lookup.
30859
30860         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30861         with O_NOLINK passed to __file_name_lookup.
30862
30863         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30864         negative N or less than NGIDS.
30865
30866         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30867         type to string_t.  Set ERANGE as errno and return it if NAME is not big
30868         enough.  Use memcpy instead of strncpy.
30869
30870 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30871
30872         * elf/Makefile (check-data): Remove.
30873         (localplt.data): New vpath directive.
30874         ($(objpfx)check-localplt.out): Use localplt.data from vpath
30875         instead of $(check-data).
30876         * scripts/data/localplt-generic.data: Move to ...
30877         * sysdeps/generic/localplt.data: ... here.
30878         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30879         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30880         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30882         ... here.
30883         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30885         ... here.
30886         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30888         ... here.
30889         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30891         ... here.
30892         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30894         ... here.
30895         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30896         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30897         ... here.
30898
30899 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30900
30901         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30902         PPC32 and PPC64 files.
30903         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30904         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30905
30906 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30907
30908         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30909         __makecontext_ret to ...
30910         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30911         ... here and call exit if uc_link is NULL.  New file.
30912         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30913         __makecontext_ret.S.
30914         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30915         __makecontext_ret to ...
30916         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30917         ... here and call exit if uc_link is NULL.  New file.
30918         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30919         __makecontext_ret.S.
30920
30921 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30922
30923         * elf/elf.h (R_390_IRELATIVE): New definition.
30924         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30925         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
30926         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30927         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30928         (elf_machine_lazy_rel): Likewise.
30929         * sysdeps/s390/dl-irel.h: New file.
30930         * sysdeps/s390/s390-64/memcpy.S: New asm code.
30931         * sysdeps/s390/s390-64/memset.S: New asm code.
30932         * sysdeps/s390/s390-64/memcmp.S: New asm code.
30933         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30934         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30935         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30936         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30937         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30938         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30939         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30940         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30941         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30942         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30943         * sysdeps/s390/s390-32/memcpy.S: New asm code.
30944         * sysdeps/s390/s390-32/memset.S: New asm code.
30945         * sysdeps/s390/s390-32/memcmp.S: New asm code.
30946
30947 2012-07-17  Marek Polacek  <polacek@redhat.com>
30948
30949         [BZ #14349]
30950         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30951         * sysdeps/s390/s390-64/configure.in: Likewise.
30952         * sysdeps/sparc/configure.in: Likewise.
30953         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30954         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30955         * sysdeps/i386/configure.in: Likewise.
30956         * sysdeps/x86_64/configure.in: Likewise.
30957         * sysdeps/sh/configure.in: Likewise.
30958         * sysdeps/s390/s390-32/configure: Regenerated.
30959         * sysdeps/s390/s390-64/configure: Likewise.
30960         * sysdeps/x86_64/configure: Likewise.
30961         * sysdeps/sh/configure: Likewise.
30962         * sysdeps/powerpc/powerpc64/configure: Likewise.
30963         * sysdeps/powerpc/powerpc32/configure: Likewise.
30964         * sysdeps/sparc/configure: Likwise.
30965         * sysdeps/i386/configure: Likewise.
30966
30967         * elf/dl-open.c: Comment fixes.
30968
30969 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
30970
30971         * Makefile [CXX] (check-data): Remove.
30972         [CXX] (c++-types.data): New vpath directive.
30973         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30974         vpath.  Do not allow for C++ type data being missing.
30975         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30976         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30977         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30978         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30979         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30980         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30981         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30983         ... here.
30984         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30986         ... here.
30987         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30989         ... here.
30990         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30992         ... here.
30993         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30995         ... here.
30996         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30998         ... here.
30999         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31000         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31001         ... here.
31002         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31004
31005         * elf/tls-macros.h (TLS_LE): Move architecture-specific
31006         definitions to architecture-specific files.
31007         (TLS_IE): Likewise.
31008         (TLS_LD): Likewise.
31009         (TLS_GD): Likewise.
31010         * sysdeps/i386/tls-macros.h: New file.
31011         * sysdeps/powerpc/tls-macros.h: Likewise.
31012         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31013         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31014         * sysdeps/sh/tls-macros.h: Likewise.
31015         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31016         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31017         * sysdeps/x86_64/tls-macros.h: Likewise.
31018
31019 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31020
31021         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31022         zero value for regular exit case.
31023
31024         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31025         (__start_context): Preserve zero value for regular exit case.
31026
31027 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31028             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31029
31030         * manual/setjmp.texi (setcontext): Clarify normal process
31031         termination when uc_link is the null pointer.
31032         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31033         exit call.
31034
31035 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
31036
31037         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31038         preprocessor.  Test for each exception mask separately.
31039
31040 2012-07-16  Andreas Jaeger  <aj@suse.de>
31041
31042         * po/ru.po: Update from translation team.
31043
31044 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
31045
31046         * conform/data/string.h-data (NULL): Use macro-constant.  Require
31047         equal to 0.
31048         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31049         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31050         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31051         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31052         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31053
31054 2012-07-13  Andreas Jaeger  <aj@suse.de>
31055
31056         * po/fr.po: Update from translation team.
31057
31058 2012-07-12  Marek Polacek  <polacek@redhat.com>
31059
31060         [BZ #14173]
31061         * math/libm-test.inc (yn_test): Add test for BZ #14173.
31062         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31063         loop condition.
31064
31065 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
31066
31067         [BZ #13717]
31068         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31069         Change to 2.4.1 where previously 2.4.0.
31070         * sysdeps/unix/sysv/linux/configure: Regenerated.
31071         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31072         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31073         version.
31074         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31075         (__ASSUME_AT_CLKTCK): Remove.
31076         (__ASSUME_AT_PAGESIZE): Likewise.
31077         (__ASSUME_AT_XID): Likewise.
31078         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31079         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31080         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31081         unconditionally.
31082         (HAVE_AUX_PAGESIZE): Likewise.
31083         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31084         [__ASSUME_AT_CLKTCK]: Make code unconditional.
31085         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31086
31087 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
31088
31089         [BZ #14307]
31090         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31091         the temporary buffer used to invoke __gethostbyname2_r,
31092         __gethostbyaddr_r and gethostbyname4_r to make room for struct
31093         host_data / struct gaih_addrtuple.
31094         * resolv/nss_dns/dns-host.c (global scope): Move definition of
31095         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31096         header file nss/nsswitch.h.
31097         * nss/nsswitch.h (global scope): Add definition of implementation
31098         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31099         resolv/nss_dns/dns-host.c).
31100
31101 2012-07-11  Andreas Jaeger  <aj@suse.de>
31102
31103         * po/fr.po: Update from translation team.
31104
31105         * po/sv.po: Update from translation team
31106         * po/fr.po: Another update from translation team.
31107
31108 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31109
31110         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31111         for subnormals or multiply small sinh result by itself.
31112         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31114
31115 2012-07-11  David S. Miller  <davem@davemloft.net>
31116
31117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31118
31119 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
31120
31121         [BZ #14347]
31122         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31123         (INTERNAL_MARK): Shift it here.
31124
31125 2012-07-10  Marek Polacek  <polacek@redhat.com>
31126
31127         [BZ #14151]
31128         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
31129         libc_cv_asm_global_directive with .globl.
31130         * configure: Regenerated.
31131         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31132         with .globl.
31133         * sysdeps/i386/configure: Regenerated.
31134         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31135         with .globl.
31136         * sysdeps/x86_64/configure: Regenerated.
31137         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31138         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31139         * elf/tst-unique2mod2.c: Likewise.
31140         * elf/tst-unique2mod1.c: Likewise.
31141         * elf/tst-unique1mod2.c: Likewise.
31142         * elf/tst-unique1mod1.c: Likewise.
31143         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31144         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31145         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31146         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31147         * sysdeps/mach/sysdep.h: Likewise.
31148         * sysdeps/i386/sysdep.h: Likewise.
31149         * sysdeps/i386/i386-mcount.S: Likewise.
31150         * sysdeps/x86_64/_mcount.S: Likewise.
31151         * sysdeps/x86_64/sysdep.h: Likewise.
31152         * sysdeps/sh/_mcount.S: Likewise.
31153         * sysdeps/sh/sysdep.h: Likewise.
31154         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31155         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31156         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31157         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31158         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31159         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31160         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31161         * locale/localeinfo.h: Likewise.
31162         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31163         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31164
31165 2012-07-09  Roland McGrath  <roland@hack.frob.com>
31166
31167         [BZ #14336]
31168         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31169         system".
31170         * manual/message.texi (The Uniforum approach): Likewise.
31171         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31172         (glibc iconv Implementation): Likewise.
31173
31174 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
31175
31176         [BZ #14337]
31177         * math/s_clog.c (__clog): Avoid scaling a value down where that
31178         could result in underflow.
31179         * math/s_clog10.c (__clog10): Likewise.
31180         * math/s_clog10f.c (__clog10f): Likewise.
31181         * math/s_clog10l.c (__clog10l): Likewise.
31182         * math/s_clogf.c (__clogf): Likewise.
31183         * math/s_clogl.c (__clogl): Likewise.
31184         * math/libm-test.inc (clog_test): Add more tests.
31185         (clog10_test): Likewise.
31186         * sysdeps/i386/fpu/libm-test-ulps: Update.
31187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31188
31189 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
31190
31191         [BZ #14283]
31192         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31193         by 7 not 8 to examine high bit of fractional part.
31194
31195         [BZ #14042]
31196         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31197         for call to __mcount_internal.
31198         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31199         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31200         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31201
31202 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
31203
31204         [BZ #14154]
31205         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31206         approximation for values within 0x1p-13f of an odd multiple of
31207         pi/4.
31208         * math/libm-test.inc (tan_test): Do not allow spurious underflow
31209         exception.  Add more tests.
31210         * sysdeps/i386/fpu/libm-test-ulps: Update.
31211
31212         [BZ #6778]
31213         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31214         inputs and return -1 for them.  Do not check for +Inf in case not
31215         reachable for +Inf.
31216         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31217         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31218         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31219         and return -1 for them.  Do not check for +Inf in case not
31220         reachable for +Inf.
31221         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31222         define.
31223         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31224         and return -1 for them.  Do not check for +Inf in case not
31225         reachable for +Inf.
31226         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
31227         spurious underflow.
31228         * sysdeps/i386/fpu/libm-test-ulps: Update.
31229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31230
31231 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
31232
31233         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31234
31235 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
31236
31237         [BZ #14157]
31238         [BZ #14331]
31239         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31240         could result in spurious underflow.  Scale down values above
31241         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31242         * math/s_csqrtf.c (__csqrtf): Likewise.
31243         * math/s_csqrtl.c (__csqrtl): Likewise.
31244         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
31245         spurious underflow.
31246         * sysdeps/i386/fpu/libm-test-ulps: Update.
31247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31248
31249 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
31250
31251         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31252         xopen-msg.sed.
31253         * catgets/xopen-msg.awk: New file.
31254         * catgets/xopen-msg.sed: Removed.
31255
31256         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31257         po2text.sed.
31258         * intl/po2test.awk: New file.
31259         * intl/po2test.sed: Removed.
31260
31261 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
31262
31263         [BZ #14328]
31264         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31265         or multiply small sinh result by itself.
31266         * math/s_ctanf.c (__ctanf): Likewise.
31267         * math/s_ctanh.c (__ctanh): Likewise.
31268         * math/s_ctanhf.c (__ctanhf): Likewise.
31269         * math/s_ctanhl.c (__ctanhl): Likewise.
31270         * math/s_ctanl.c (__ctanl): Likewise.
31271         * math/libm-test.inc (ctan_test_tonearest): New function.
31272         (ctan_test_towardzero): Likewise.
31273         (ctan_test_downward): Likewise.
31274         (ctan_test_upward): Likewise.
31275         (ctanh_test_tonearest): Likewise.
31276         (ctanh_test_towardzero): Likewise.
31277         (ctanh_test_downward): Likewise.
31278         (ctanh_test_upward): Likewise.
31279         (main): Call these new functions.
31280         * sysdeps/i386/fpu/libm-test-ulps: Update.
31281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31282
31283 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31284
31285         * .gitignore: Delete /ports entry.
31286
31287 2012-07-03  Andreas Jaeger  <aj@suse.de>
31288
31289         * po/bg.po: Update from translation team.
31290         * po/cs.po: Likewise.
31291         * po/de.po: Likewise.
31292         * po/hr.po: Likewise.
31293         * po/nl.pl: Likewise.
31294         * po/pl.po: Likewise.
31295         * po/vi.po: Likewise.
31296
31297 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31298
31299         * Makeconfig [!+link] (+link-before-libc): New variable.
31300         [!+link] (+link-after-libc): Likewise.
31301         [!+link] (+link-tests): Likewise.
31302         [!+link] (+link): Define in terms of $(+link-before-libc) and
31303         $(+link-after-libc).
31304         [!+link-static] (+link-static-before-libc): New variable.
31305         [!+link-static] (+link-static-after-libc): Likewise.
31306         [!+link-static] (+link-static-tests): Likewise.
31307         [!+link-static] (+link-static): Define in terms of
31308         $(+link-static-before-libc) and $(+link-static-after-libc).
31309         [build-shared] (link-libc-before-gnulib): New variable.
31310         [build-shared] (link-libc-tests): Likewise.
31311         [build-shared] (link-libc): Define in terms of
31312         $(link-libc-before-gnulib).
31313         [!build-shared] (link-libc-tests): New variable.
31314         (link-libc-static-tests): New variable.
31315         [!gnulib] (gnulib-arch): New variable.
31316         [!gnulib] (gnulib-tests): Likewise.
31317         [!gnulib] (static-gnulib-arch): Likewise.
31318         [!gnulib] (static-gnulib-tests): Likewise.
31319         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31320         Define with "=" instead of ":=".
31321         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31322         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31323         * Rules (binaries-all-notests): New variable.
31324         (binaries-all-tests): Likewise.
31325         (binaries-static-notests): Likewise.
31326         (binaries-static-tests): Likewise.
31327         (binaries-all): Define using $(binaries-all-notests) and
31328         $(binaries-all-tests).
31329         (binaries-static): Define using $(binaries-static-notests) and
31330         $(binaries-static-tests).
31331         (binaries-shared-tests): New variable.
31332         (binaries-shared-notests): Likewise.
31333         (binaries-shared): Remove variable.
31334         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31335         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31336         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31337         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31338         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31339         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31340         * elf/Makefile (sln-modules): New variable.
31341         (extra-objs): Add $(sln-modules:=.o).
31342         (ldconfig-modules): Add static-stubs.
31343         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31344         * elf/static-stubs.c: New file.
31345
31346         [BZ #14283]
31347         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31348         by 7 not 8 to examine high bit of fractional part.  Use volatile
31349         variables when splitting into final array of floats if
31350         __FLT_EVAL_METHOD__ != 0.
31351         * math/libm-test.inc (cos_test): Add another test.
31352         (sin_test): Likewise.
31353         * sysdeps/i386/fpu/libm-test-ulps: Update.
31354
31355         [BZ #14273]
31356         * math/libm-test.inc (cosh_test): Add more tests.
31357
31358         * version.h (RELEASE): Set to "development".
31359         (VERSION): Set to "2.16.90".
31360
31361 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31362
31363         * NEWS: Update copyright. Remove last-updated date.
31364         Mention math library bug fixes and timezone data changes.
31365         * README: Mention GNU/Hurd, x32, and HPPA support status.
31366
31367 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31368
31369         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31370
31371 2012-06-27  Andreas Jaeger  <aj@suse.de>
31372
31373         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31374
31375 2012-06-25  Andreas Jaeger  <aj@suse.de>
31376
31377         * sysdeps/s390/fpu/libm-test-ulps: Update.
31378
31379 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31380             Thomas Schwinge  <thomas@codesourcery.com>
31381
31382         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31383         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31384         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31385         fanotify_mark.
31386
31387 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31388
31389         * sysdeps/mach/start.c: Remove file.
31390         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31391         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31392         * sysdeps/sh/init-first.c: Likewise.
31393
31394         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31395         registers for frame unwinding purposes, add CFI directives.
31396         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31397         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31398         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31399         Likewise.
31400
31401         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31402         __fortify_fail returning.
31403         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31404
31405         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31406         sysdeps/sh/____longjmp_chk.S.
31407         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31408         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31409         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31410         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31411
31412         * sysdeps/sh/abort-instr.h: New file.
31413         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31414         process in case exit returns.
31415
31416         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31417         initialize the GOT register before use.
31418
31419         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31420         calculation of ARGC > 4.
31421
31422         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31423         meaningful names to some local labels.
31424
31425 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31426             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31427
31428         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31429         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31430         (__arch_compare_and_exchange_val_16_acq): Likewise.
31431         (__arch_compare_and_exchange_val_32_acq): Likewise.
31432         (atomic_exchange_and_add): Fix gUSA sequence.
31433         (atomic_add): Likewise.
31434         (atomic_add_negative): Likewise.
31435         (atomic_add_zero): Likewise.
31436         (atomic_bit_test_set): Likewise.
31437
31438 2012-06-22  Andreas Schwab  <schwab@redhat.com>
31439
31440         [BZ #13579]
31441         * include/link.h (struct link_map): Add l_free_initfini.
31442         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31443         l_initfini.
31444         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31445         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31446         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31447         set.
31448
31449 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
31450
31451         * configure.in: Use AC_LANG_SOURCE.
31452         * configure: Regenerate.
31453
31454 2012-06-22  Roland McGrath  <roland@hack.frob.com>
31455
31456         * configure.in (libc_cv_localstatedir): New substituted variable.
31457         * configure: Regenerated.
31458         * config.make.in (localstatedir): New variable, substituted from
31459         libc_cv_localstatedir.
31460         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31461         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31462         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31463         * sysdeps/gnu/configure: Regenerated.
31464
31465 2012-06-21  Jeff Law  <law@redhat.com>
31466
31467         [BZ #14277]
31468         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31469         free.  Simplify list management for _LIBC case.
31470
31471 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
31472
31473         [BZ #14273]
31474         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31475         Clear sign bit of 64-bit integer value before comparing against
31476         overflow value.
31477
31478         * sysdeps/mach/configure: Regenerated.
31479
31480 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
31481
31482         [BZ #14278]
31483         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31484
31485 2012-06-21  Jeff Law  <law@redhat.com>
31486
31487         [BZ #13882]
31488         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
31489         uint16_t for elements in the "seen" array to avoid char overflows.
31490         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31491         * elf/dl-open.c (dl_open_worker): Likewise.
31492
31493 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
31494
31495         * scripts/list-sources.sh: Scan PORTS for translations.
31496         * po/libc.pot: Regenerated.
31497
31498 2012-06-21  Andreas Jaeger  <aj@suse.de>
31499
31500         [BZ #12194]
31501         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31502         warning.
31503         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31504         * bits/byteswap-16.h (__bswap_16): Likewise.
31505         * bits/byteswap.h (__bswap_constant_16): Likewise.
31506
31507 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
31508
31509         [BZ #14117]
31510         * sysdeps/i386/fpu_control.h: Removed.
31511         * sysdeps/x86_64/fpu_control.h: Moved to ...
31512         * sysdeps/x86/fpu_control.h: Here.
31513
31514         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31515         (_FPU_SETCW): Likewise.
31516
31517 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
31518
31519         [BZ #14117]
31520         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31521         * sysdeps/x86/fpu/bits/mathinline.h: This.
31522         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31523
31524         [BZ #14050]
31525         [BZ #14117]
31526         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31527         functions if __x86_64__ is defined.
31528
31529 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
31530
31531         * string/endian.h: Add !__ASSEMBLER__ condition for including
31532         conversion interfaces.
31533
31534 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
31535
31536         [BZ #14241]
31537         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31538         of ABS(x) in calculating zero to negative powers other than odd
31539         integers.
31540         * math/libm-test.inc (pow_test): Add more tests.
31541
31542 2012-06-15  Andreas Jaeger  <aj@suse.de>
31543
31544         * manual/contrib.texi (Contributors): Update entry of Liubov
31545         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31546         Machado Filho.
31547
31548 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
31549
31550         * string/string.h: Add __wur to GNU version of strerror_r.
31551
31552 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
31553
31554         [BZ #14229]
31555         * string/Makefile (tests): Add tst-strtok_r.
31556         * string/tst-strtok_r.c: New file.
31557         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31558         RAX_LP/RDX_LP on SAVE_PTR.
31559
31560 2012-06-14  Roland McGrath  <roland@hack.frob.com>
31561
31562         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31563
31564 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
31565
31566         * libm_test.inc (csqrt_test): Allow more spurious underflow
31567         exceptions.
31568         (j0_test): Likewise.
31569         (j1_test): Likewise.
31570         (y0_test): Likewise.
31571         (y1_test): Likewise.
31572
31573 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
31574
31575         * po/Makefile (libc.pot): Use UTF-8 charset.
31576
31577 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
31578
31579         [BZ #14210]
31580         Suppress sign-conversion warning from FD_SET.
31581         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31582         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31583         not unsigned long int.
31584         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31585
31586 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
31587
31588         [BZ #14050]
31589         [BZ #14117]
31590         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31591         __extern_always_inline instead of __extern_inline.
31592         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31593         (__signbit): Likewise.
31594         (__signbitl): Support C++ namespace.
31595         (lrintf): New inline function.
31596         (lrint): Likewise.
31597         (llrintf): Likewise.
31598         (llrint): Likewise.
31599         (fmaxf): Likewise.
31600         (fmax): Likewise.
31601         (fminf): Likewise.
31602         (fmin): Likewise.
31603         (rint): Likewise.
31604         (rintf): Likewise.
31605         (ceil): Likewise.
31606         (ceilf): Likewise.
31607         (floor): Likewise.
31608         (floorf): Likewise.
31609         (nearbyint): Likewise.
31610         (nearbyintf): Likewise.
31611
31612 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
31613
31614         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31615         non-default versions.
31616
31617 2012-06-11  Roland McGrath  <roland@hack.frob.com>
31618
31619         [BZ #14218]
31620         * manual/argp.texi (Argp): Reword argp_parse description slightly.
31621
31622 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
31623
31624         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31625         (FE_UPWARD, FE_DOWNWARD): Don't define.
31626         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31627         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31628
31629         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31630         reading it.
31631         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31632         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31633
31634 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31635
31636         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31637         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31638         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31639         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31640
31641 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
31642
31643         [BZ #14117]
31644         * sysdeps/i386/fpu/bits/fenv.h: Removed.
31645         * sysdeps/i386/fpu/Implies: New file.
31646         * sysdeps/x86_64/fpu/Implies: Likewise.
31647         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31648         * sysdeps/x86/fpu/bits/fenv.h: This.
31649
31650         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31651         __SSE_MATH__.
31652
31653 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31654
31655         [BZ #14134]
31656         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31657         character 0xffff that matches the last element of the
31658         conversion table.
31659
31660 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31661
31662         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31663         fmodl commit.
31664
31665 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31666
31667         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31668         values higher than 25.6283.
31669
31670 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31671
31672         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31673         subnormal exponent extraction and add some __builtin_expect.
31674         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31675         Fix for subnormal mantissa calculation.
31676
31677 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
31678
31679         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31680         cpu2 is -1 and errno is not ENOSYS.
31681
31682 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
31683
31684         [BZ #14117]
31685         * sysdeps/i386/i486/bits/string.h: Renamed to ...
31686         * sysdeps/x86/bits/string.h: This.
31687         * sysdeps/x86_64/bits/string.h: Removed.
31688
31689         * sysdeps/i386/i486/bits/string.h: Define inline functions only
31690         if not compiling for x86-64, but compiling for >= i486.
31691
31692         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31693         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31694
31695         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31696         New macro from Linux kernel 3.4.0.
31697         (FP_XSTATE_MAGIC2): Likewise.
31698         (FP_XSTATE_MAGIC2_SIZE): Likewise.
31699         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31700         (struct _fpx_sw_bytes): New struct.
31701         (struct _xsave_hdr): Likewise.
31702         (struct _ymmh_state): Likewise.
31703         (struct _xstate): Likewise.
31704
31705         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31706         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31707         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31708         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31709         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31710         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31711
31712         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31713         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31714         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31715         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31716         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31717         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31718
31719 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31720
31721         [BZ #13743]
31722         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31723         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31724         (sysdep_headers): Include sys/platform/ppc.h.
31725         * sysdeps/powerpc/test-gettimebase.c: Test for
31726         __ppc_get_timebase() to catch future ISA opcode/insn changes.
31727         * manual/Makefile (appendices): Include platform.texi.
31728         * manual/contrib.texi (Contributors): Update @node pointers.
31729         * manual/maint.texi (Maintenance): Likewise.
31730         (Platform): New node.
31731         * manual/platform.texi: New file.  Document the new features.
31732
31733 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31734             Jakub Jelinek  <jakub@redhat.com>
31735
31736         [BZ #14188]
31737         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31738         where __builtin_expect is unavailable.
31739
31740 2012-06-03  David S. Miller  <davem@davemloft.net>
31741
31742         * stdlib/longlong.h: Updated from GCC.
31743
31744 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
31745
31746         [BZ #14042]
31747         * sysdeps/powerpc/powerpc32/mcount.c: New file.
31748         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31749         __mcount_internal.
31750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31751         (GLIBC_2.16): Likewise.
31752
31753 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31754
31755         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31756
31757 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31758
31759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31760         (default-abi): New variable.
31761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31762         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31763         variable.
31764         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31765         Likewise.
31766         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31767         Likewise.
31768         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31769         Likewise.
31770
31771         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31772         definition.  Document in comment.
31773
31774 2012-06-01  David S. Miller  <davem@davemloft.net>
31775
31776         * stdlib/longlong.h: Updated from GCC.
31777
31778 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31779
31780         [BZ #14117]
31781         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31782         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31783         sys/debugreg.h sys/io.h here.
31784         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31785         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31786         sys/io.h.
31787         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31788         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31789         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31790         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31791         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31792         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31793
31794         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31795         Define only if __x86_64__ is defined.
31796
31797 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31798
31799         [BZ #14048]
31800         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31801         Use int64_t for variable i.
31802         * math/libm-test.inc (fmod_test): Add more tests.
31803
31804         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31805         z computation is not scheduled after fetestexcept.
31806         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31807         Use math_force_eval instead of asm to ensure calculation scheduled
31808         before exception test.
31809         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31810         Ensure a1 + u.d computation is not scheduled after fetestexcept.
31811
31812 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
31813
31814         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31815         computation is not scheduled after fetestexcept.
31816
31817 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31818
31819         [BZ #14117]
31820         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31821         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31822
31823 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31824
31825         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31826         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31827
31828 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31829
31830         [BZ #14117]
31831         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31832         <bits/wordsize.h>.
31833         (__WCHAR_MIN): Support __WORDSIZE == 64.
31834         (__WCHAR_MAX): Likewise.
31835
31836         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31837         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31838
31839         [BZ #14183]
31840         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31841         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31842
31843         [BZ #14117]
31844         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31845         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31846
31847         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31848         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31849
31850         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31851         Defined to 1 if __x86_64__ isn't defined.
31852         (_STAT_VER_LINUX_OLD): New.
31853         (st_atime): Remove duplicate.
31854         (st_mtime): Likewise.
31855         (st_ctime): Likewise.
31856
31857 2012-05-31  David S. Miller  <davem@davemloft.net>
31858
31859         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31860         entries.
31861
31862 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
31863
31864         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31865         gen-libm-test.pl.
31866
31867         [BZ #14132]
31868         * elf/dl-reloc.c: Include <_itoa.h>.
31869         (_dl_reloc_bad_type): Remove use of INTUSE.
31870         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31871         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31872         * stdio-common/psiginfo.c (psiginfo): Likewise.
31873         * stdio-common/psignal.c (psignal): Likewise.
31874         * string/strsignal.c (strsignal): Likewise.
31875         * include/signal.h (_sys_siglist): Declare hidden proto.
31876         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
31877         INTVARDEF with libc_hidden_data_def.
31878         * stdio-common/itoa-udigits.c: Likewise.
31879         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31880         (_itoa_lower_digits_internal): Remove declaration.
31881         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31882         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31883         (_sys_sigabbrev_internal): Remove aliases.
31884         (_sys_siglist): Define hidden alias.
31885
31886 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
31887
31888         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31889         bits/sysctl.h.
31890
31891 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31892
31893         [BZ #14117]
31894         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31895         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31896
31897         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31898         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31899         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31900         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31901         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31902         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31903
31904         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31905         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31906         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31907
31908         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31909         with __addr.
31910         (insw): Likewise.
31911         (insl): Likewise.
31912         (outsb): Likewise.
31913         (outsw): Likewise.
31914         (outsl): Likewise.
31915
31916         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31917         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31918         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31919
31920         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31921         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31922         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31923         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31924         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31925         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31926
31927         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31928         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31929
31930         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31931         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31932
31933         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31934         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31935         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31936
31937         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31938         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31939         to ...
31940         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31941
31942         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31943         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31944         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31945
31946         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31947         for x86-64.
31948         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31949
31950 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
31951
31952         * math/math.h (M_El): Use two more decimal places.
31953         (M_LOG2El): Likewise.
31954         (M_LOG10El): Likewise.
31955         (M_LN2l): Likewise.
31956         (M_LN10l): Likewise.
31957         (M_PIl): Likewise.
31958         (M_PI_2l): Likewise.
31959         (M_PI_4l): Likewise.
31960         (M_1_PIl): Likewise.
31961         (M_2_PIl): Likewise.
31962         (M_2_SQRTPIl): Likewise.
31963         (M_SQRT2l): Likewise.
31964         (M_SQRT1_2l): Likewise.
31965
31966 2012-05-31  David S. Miller  <davem@davemloft.net>
31967
31968         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31969         values between float registers.
31970         * sysdeps/sparc/sparc64/memset.S: Likewise.
31971         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31972
31973 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
31974
31975         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31976         -D_FORTIFY_SOURCE=1.
31977         (CPPFLAGS-tst-longjmp_chk.c): Define.
31978         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31979         (CPPFLAGS-tst-longjmp_chk2.c): Define.
31980         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31981         CFLAGS-tst-wchar-h.c.
31982
31983 2012-05-31  Marek Polacek  <polacek@redhat.com>
31984
31985         [BZ #14132]
31986         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31987         __endmntent_internal): Remove declaration.
31988         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31989         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31990         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31991
31992 2012-05-30  David S. Miller  <davem@davemloft.net>
31993
31994         * sysdeps/sparc/sparc32/soft-fp/q_util.c
31995         (___Q_simulate_exceptions): Use real FP ops rather than writing
31996         into the %fsr.
31997         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31998         Likewise.
31999
32000 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32001
32002         [BZ #14117]
32003         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32004         * sysdeps/x86/bits/xtitypes.h: This.
32005
32006         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32007         * sysdeps/x86/bits/wordsize.h: This.
32008
32009         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32010         * sysdeps/x86/bits/huge_vall.h: This.
32011
32012         * sysdeps/i386/bits/select.h: Removed.
32013         * sysdeps/x86_64/bits/select.h: Renamed to ...
32014         * sysdeps/x86/bits/select.h: This.
32015
32016         * sysdeps/i386/bits/setjmp.h: Removed.
32017         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32018         * sysdeps/x86/bits/setjmp.h: This.
32019
32020         * sysdeps/i386/bits/mathdef.h: Removed.
32021         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32022         * sysdeps/x86/bits/mathdef.h: This.
32023
32024 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
32025
32026         [BZ #14132]
32027         * include/sys/socket.h (__connect_internal)
32028         (__libc_sa_len_internal): Remove declaration.
32029         (__connect, __libc_sa_len): Declare hidden_proto.
32030         (SA_LEN): Remove use of INTUSE.
32031         * socket/connect.c: Add libc_hidden_def.
32032         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32033         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32034         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32035         alias.
32036         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32037         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32038         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32039         of adding _internal alias.
32040
32041 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32042
32043         [BZ #14117]
32044         * sysdeps/i386/bits/link.h: Removed.
32045         * sysdeps/i386/bits/linkmap.h: Likewise.
32046         * sysdeps/x86_64/bits/link.h: Renamed to ...
32047         * sysdeps/x86/bits/link.h: This.
32048         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32049         * sysdeps/x86/bits/linkmap.h: This.
32050
32051         * sysdeps/i386/bits/endian.h: Removed.
32052         * sysdeps/x86_64/bits/endian.h: Renamed to ...
32053         * sysdeps/x86/bits/endian.h: This.
32054
32055         * sysdeps/i386/bits/byteswap.h: Removed.
32056         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32057         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32058         * sysdeps/x86/bits/byteswap.h: This.
32059         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32060         * sysdeps/x86/bits/byteswap-16.h: This.
32061         * sysdeps/i386/Implies: Add x86.
32062         * sysdeps/x86_64/Implies: Likewise.
32063
32064 2012-05-30  David S. Miller  <davem@davemloft.net>
32065
32066         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32067         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32068         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32069         (FP_TRAPPING_EXCEPTIONS): Define.
32070         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32071         (FP_TRAPPING_EXCEPTIONS): Define.
32072         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32073         subnormals only when inexact has been signalled or underflow
32074         exceptions are enabled.
32075         (_FP_PACK_CANONICAL): Likewise.
32076
32077 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32078
32079         [BZ #14183]
32080         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32081         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32082
32083 2012-05-30  Richard Henderson  <rth@twiddle.net>
32084
32085         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32086         with #ifndef NOT_IN_libc.
32087
32088         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
32089         marked to avoid plt entry.
32090
32091 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32092
32093         [BZ #14112]
32094         * Makeconfig (default-abi): New macro.
32095         (abi-includes): Likewise.
32096         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
32097         $(abi-$(default-abi)-lib-soname) for soname if defined.
32098         ($(common-objpfx)gnu/lib-names.stmp): Generate from
32099         abi-variants.
32100         * Makefile (installed-stubs): Likewise.
32101         * include/stubs-biarch.h: Removed.
32102         * scripts/lib-names.awk: Only handle one library at a time.
32103         * scripts/soversions.awk: Remove WORDSIZE support.
32104         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32105         entries.
32106         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32107         Removed.
32108         (syscall-list-default-condition): Likewise.
32109         (syscall-list-default-condition): Likewise.
32110         (syscall-list-includes): Likewise.
32111         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32112         syscall-list-* with abi-*.  Handle undefined abi-variants.
32113         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32114         * sysdeps/unix/sysv/linux/i386/Implies: New file.
32115         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32116         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32117         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32118         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32119         Removed.
32120         (syscall-list-32-options): Likewise.
32121         (syscall-list-32-condition): Likewise.
32122         (syscall-list-64-options): Likewise.
32123         (syscall-list-64-condition): Likewise.
32124         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32125         macro.
32126         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32127         Renamed to ...
32128         (abi-*): This.
32129         (abi-64-ld-soname): New macro.
32130         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32131         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32132         Renamed to ...
32133         (abi-*): This.
32134         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32135         * sysdeps/x86_64/x32/shlib-versions: Likewise.
32136
32137 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
32138
32139         * sysdeps/unix/sysv/linux/kernel-features.h
32140         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32141         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32142         include <kernel-features.h>.
32143         [!__NR_ftruncate64]: Remove conditional code.
32144         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32145         [__NR_ftruncate64]: Make code unconditional.
32146         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32147         * sysdeps/unix/sysv/linux/truncate64.c: Do not
32148         include <kernel-features.h>.
32149         [!__NR_ftruncate64]: Remove conditional code.
32150         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32151         [__NR_ftruncate64]: Make code unconditional.
32152         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32154         include <kernel-features.h>.
32155         [!__NR_ftruncate64]: Remove conditional code.
32156         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32157         [__NR_ftruncate64]: Make code unconditional.
32158         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32160         include <kernel-features.h>.
32161         [!__NR_ftruncate64]: Remove conditional code.
32162         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32163         [__NR_ftruncate64]: Make code unconditional.
32164         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32165
32166         * configure.in (libc_cv_fpie): Weaken to a compile test using
32167         LIBC_TRY_CC_OPTION.
32168         * configure: Regenerated.
32169
32170 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32171
32172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32176         Refreshed.
32177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32181         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32183         Refreshed.
32184
32185 2012-05-27  David S. Miller  <davem@davemloft.net>
32186
32187         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32188         (___Q_zero): New.
32189         (__Q_simulate_exceptions): Return void.  Change to simulate
32190         exceptions by writing into the %fsr.
32191         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32192         (__Qp_handle_exceptions): Likewise.
32193         (numbers): Delete.
32194         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32195         __Qp_handle_exceptions.
32196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32197         __Qp_handle_exceptions.
32198         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32199         as unused and give dummy FP_RND_NEAREST initializer.
32200         (FP_INHIBIT_RESULTS): Define.
32201         (___Q_simulate_exceptions): Update declaration.
32202         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32203         formatting.
32204         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32205         as unused and give dummy FP_RND_NEAREST initializer.
32206         (__Qp_handle_exceptions): Update declaration.
32207         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32208         formatting.
32209
32210 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
32211
32212         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32213         the temporary FPU control word.
32214         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32215         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32216         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32217         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32218         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32219         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32220         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32221         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32222         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32223         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32224         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32225
32226 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32227
32228         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32229         fields.
32230
32231 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
32232
32233         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32234         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32235         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32236         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32237         Likewise.
32238         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32239         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32240         Likewise.
32241
32242 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
32243
32244         * po/h.po: Update from translation team.
32245
32246 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
32247
32248         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32249
32250         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32251         handling of denormals.
32252         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32253         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32254         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32255         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32256         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32257         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32258         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32259         Likewise.
32260
32261 2012-05-26  Marek Polacek  <polacek@redhat.com>
32262
32263         [BZ #14152]
32264         * math/libm-test.inc (fma_test): Don't always expect underflow
32265         exception.
32266
32267 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32268
32269         [BZ #12416]
32270         * elf/tst-execstack.c: Include stackinfo.h.
32271         (do_test): Adjust test case to ensure that pthread_getattr_np
32272         behaviour remains the same after marking stack executable.
32273
32274 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32275
32276         * sysdeps/unix/sysv/linux/kernel-features.h
32277         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32278         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32279         kernel-features.h.
32280         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32281         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32282         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32283         kernel-features.h.
32284         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32285         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32286
32287 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32288
32289         * configure.in: Define the default includes to being none.
32290         * configure: Regenerated.
32291
32292 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32293
32294         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32295         * sysdeps/x86_64/setjmp.S: Likewise.
32296         * sysdeps/i386/bsd-setjmp.S: Likewise.
32297         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32298         * sysdeps/i386/setjmp.S: Likewise.
32299         * sysdeps/i386/__longjmp.S: Likewise.
32300         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32301         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32302
32303         * include/stap-probe.h: New file.
32304         * configure.in: Handle --enable-systemtap.
32305         * configure: Regenerated.
32306         * config.h.in (USE_STAP_PROBE): New #undef.
32307         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32308         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32309         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32310
32311 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32312
32313         [BZ #13717]
32314         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32315         to 2.4.0 where earlier.
32316         * sysdeps/unix/sysv/linux/configure: Regenerated.
32317         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32318         <kernel-features.h>.
32319         [__ASSUME_32BITUIDS]: Make code unconditional.
32320         [!__ASSUME_32BITUIDS]: Remove conditional code.
32321         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32322         <kernel-features.h>.
32323         [__ASSUME_32BITUIDS]: Make code unconditional.
32324         [!__ASSUME_32BITUIDS]: Remove conditional code.
32325         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32326         [__ASSUME_32BITUIDS]: Make code unconditional.
32327         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32328         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32329         <kernel-features.h>.
32330         [__ASSUME_32BITUIDS]: Make code unconditional.
32331         [!__ASSUME_32BITUIDS]: Remove conditional code.
32332         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32333         <kernel-features.h>.
32334         [__ASSUME_32BITUIDS]: Make code unconditional.
32335         [!__ASSUME_32BITUIDS]: Remove conditional code.
32336         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32337         <kernel-features.h>.
32338         [__ASSUME_32BITUIDS]: Make code unconditional.
32339         [!__ASSUME_32BITUIDS]: Remove conditional code.
32340         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32341         <kernel-features.h>.
32342         [__ASSUME_32BITUIDS]: Make code unconditional.
32343         [!__ASSUME_32BITUIDS]: Remove conditional code.
32344         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32345         <kernel-features.h>.
32346         [__ASSUME_32BITUIDS]: Make code unconditional.
32347         [!__ASSUME_32BITUIDS]: Remove conditional code.
32348         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32349         <kernel-features.h>.
32350         [__ASSUME_32BITUIDS]: Make code unconditional.
32351         [!__ASSUME_32BITUIDS]: Remove conditional code.
32352         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32353         <kernel-features.h>.
32354         [__ASSUME_32BITUIDS]: Make code unconditional.
32355         [!__ASSUME_32BITUIDS]: Remove conditional code.
32356         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32357         <kernel-features.h>.
32358         [__ASSUME_32BITUIDS]: Make code unconditional.
32359         [!__ASSUME_32BITUIDS]: Remove conditional code.
32360         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32361         <kernel-features.h>.
32362         [__ASSUME_32BITUIDS]: Make code unconditional.
32363         [!__ASSUME_32BITUIDS]: Remove conditional code.
32364         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32365         <kernel-features.h>.
32366         [__ASSUME_32BITUIDS]: Make code unconditional.
32367         [!__ASSUME_32BITUIDS]: Remove conditional code.
32368         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32369         <kernel-features.h>.
32370         [__NR_setresgid] (__setresgid): Do not declare.
32371         [__ASSUME_32BITUIDS]: Make code unconditional.
32372         [!__ASSUME_32BITUIDS]: Remove conditional code.
32373         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32374         <kernel-features.h>.
32375         [__NR_setresuid] (__setresuid): Do not declare.
32376         [__ASSUME_32BITUIDS]: Make code unconditional.
32377         [!__ASSUME_32BITUIDS]: Remove conditional code.
32378         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32379         <kernel-features.h>.
32380         [__ASSUME_32BITUIDS]: Make code unconditional.
32381         [!__ASSUME_32BITUIDS]: Remove conditional code.
32382         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32383         <kernel-features.h>.
32384         [__ASSUME_32BITUIDS]: Make code unconditional.
32385         [!__ASSUME_32BITUIDS]: Remove conditional code.
32386         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32387         <kernel-features.h>.
32388         [__ASSUME_32BITUIDS]: Make code unconditional.
32389         [!__ASSUME_32BITUIDS]: Remove conditional code.
32390         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32391         <kernel-features.h>.
32392         [__ASSUME_32BITUIDS]: Make code unconditional.
32393         [!__ASSUME_32BITUIDS]: Remove conditional code.
32394         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32395         <kernel-features.h>.
32396         [__ASSUME_32BITUIDS]: Make code unconditional.
32397         [!__ASSUME_32BITUIDS]: Remove conditional code.
32398         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32399         <kernel-features.h>.
32400         [__ASSUME_32BITUIDS]: Make code unconditional.
32401         [!__ASSUME_32BITUIDS]: Remove conditional code.
32402         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32403         <kernel-features.h>.
32404         [__ASSUME_32BITUIDS]: Make code unconditional.
32405         [!__ASSUME_32BITUIDS]: Remove conditional code.
32406         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32407         <kernel-features.h>.
32408         [__ASSUME_32BITUIDS]: Make code unconditional.
32409         [!__ASSUME_32BITUIDS]: Remove conditional code.
32410         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32411         <kernel-features.h>.
32412         [__ASSUME_32BITUIDS]: Make code unconditional.
32413         [!__ASSUME_32BITUIDS]: Remove conditional code.
32414         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32415         <kernel-features.h>.
32416         [__ASSUME_32BITUIDS]: Make code unconditional.
32417         [!__ASSUME_32BITUIDS]: Remove conditional code.
32418         * sysdeps/unix/sysv/linux/kernel-features.h
32419         (__ASSUME_SETRESUID_SYSCALL): Remove.
32420         (__ASSUME_SETRESGID_SYSCALL): Likewise.
32421         (__ASSUME_32BITUIDS): Likewise.
32422         (__ASSUME_LDT_WORKS): Likewise.
32423         (__ASSUME_O_DIRECTORY): Likewise.
32424         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32425         architecture but not kernel version.
32426         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32427         (__ASSUME_MMAP2_SYSCALL): Likewise.
32428         (__ASSUME_STAT64_SYSCALL): Likewise.
32429         (__ASSUME_IPC64): Likewise.
32430         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32431         <kernel-features.h>.
32432         [__ASSUME_32BITUIDS]: Make code unconditional.
32433         [!__ASSUME_32BITUIDS]: Remove conditional code.
32434         * sysdeps/unix/sysv/linux/opendir.c: Do not include
32435         <kernel-features.h>.
32436         [__ASSUME_O_DIRECTORY]: Make code unconditional.
32437         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32438         132096]: Remove conditional code.
32439         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32440         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32441         <kernel-features.h>.
32442         [__ASSUME_32BITUIDS]: Make code unconditional.
32443         [!__ASSUME_32BITUIDS]: Remove conditional code.
32444         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32445         <kernel-features.h>.
32446         [__ASSUME_32BITUIDS]: Make code unconditional.
32447         [!__ASSUME_32BITUIDS]: Remove conditional code.
32448         * sysdeps/unix/sysv/linux/setegid.c: Do not include
32449         <kernel-features.h>.
32450         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32451         unconditional.
32452         (__setresgid): Do not declare.
32453         [__ASSUME_32BITUIDS]: Make code unconditional.
32454         [!__ASSUME_32BITUIDS]: Remove conditional code.
32455         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32456         <kernel-features.h>.
32457         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32458         unconditional.
32459         (__setresuid): Do not declare.
32460         [__ASSUME_32BITUIDS]: Make code unconditional.
32461         [!__ASSUME_32BITUIDS]: Remove conditional code.
32462         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32463         <kernel-features.h>.
32464         [__ASSUME_32BITUIDS]: Make code unconditional.
32465         [!__ASSUME_32BITUIDS]: Remove conditional code.
32466         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32467         <kernel-features.h>.
32468         [__ASSUME_32BITUIDS]: Make code unconditional.
32469         [!__ASSUME_32BITUIDS]: Remove conditional code.
32470
32471 2012-05-25  Richard Henderson  <rth@twiddle.net>
32472
32473         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32474         dl_hwcap to ifunc resolver.
32475         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32476         elf_ifunc_invoke.
32477         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32478         dl_hwcap to ifunc resolver.
32479         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32480
32481 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32482
32483         [BZ #14153]
32484         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32485         for |x| <= 2**-26, not 2**-57.
32486         * math/libm-test.inc (acos_test): Do not allow spurious underflow
32487         exception.
32488
32489 2012-05-24  Jeff Law  <law@redhat.com>
32490
32491         * stdio-common/Makefile (tests): Add bug25.
32492         * stdio-common/bug25.c: New test.
32493
32494 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32495
32496         [BZ #13576]
32497         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32498         multiple of MALLOC_ALIGNMENT in size.
32499         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32500
32501 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32502
32503         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32504         Require >= 256.
32505         (FILENAME_MAX): Use macro-int-constant.
32506         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
32507         (_IOFBF): Use macro-int-constant.
32508         (_IOLBF): Likewise.
32509         (_IONBF): Likewise.
32510         (SEEK_CUR): Likewise.
32511         (SEEK_END): Likewise.
32512         (SEEK_SET): Likewise.
32513         (TMP_MAX): Likewise.
32514         (EOF): Use macro-int-constant.  Require < 0.
32515         (NULL): Use macro-constant.  Require == 0.
32516         (stdin): Require type to be FILE *.
32517         (stdout): Likewise.
32518         (stderr): Likewise.
32519         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32520         macro-int-constant.
32521         (EXIT_SUCCESS): Likewise.
32522         (NULL): Use macro-constant.  Require == 0.
32523         (RAND_MAX): Use macro-int-constant.
32524         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32525         [C99-based standards] (strtof): Require function.
32526         [C99-based standards] (strtold): Likewise.
32527         [C99-based standards] (strtoll): Likewise.
32528         [C99-based standards] (strtoull): Likewise.
32529         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32530         [ISO || ISO99 || ISO11] (limits.h): Likewise.
32531         [ISO || ISO99 || ISO11] (math.h): Likewise.
32532         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32533         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32534         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32535
32536 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
32537
32538         [BZ #14132]
32539         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32540         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32541         * intl/dgettext.c (DCGETTEXT): Likewise.
32542         * intl/gettext.c (DCGETTEXT): Likewise.
32543         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32544         * posix/regex_internal.h (gettext): Likewise.
32545         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32546         Remove declaration.
32547         * include/argz.h (__argz_count_internal)
32548         (__argz_stringify_internal): Remove declaration.
32549         (__argz_count, __argz_stringify): Declare hidden proto.
32550         * intl/dcgettext.c: Remove use of INTDEF.
32551         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32552         * string/argz-stringify.c: Likewise.
32553         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32554         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32555         Declare hidden proto.
32556         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32557         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32558         Declare hidden proto.
32559         * include/stdio.h (__asprintf_internal): Don't declare.
32560         (__asprintf): Don't define as macro.  Declare hidden proto.
32561         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32562         (__fsetlocking): Declare hidden proto.
32563         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32564         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32565         hidden proto.
32566         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32567         (_IO_setlinebuf): Remove use of INTUSE.
32568         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32569         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32570         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32571         Remove declaration.
32572         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32573         (_IO_do_flush): Remove use of INTUSE.
32574         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32575         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32576         (_IO_adjust_column, _IO_least_wmarker)
32577         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32578         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32579         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32580         (_IO_default_doallocate, _IO_wdefault_doallocate)
32581         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32582         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32583         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32584         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32585         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32586         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32587         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32588         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32589         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32590         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32591         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32592         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32593         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32594         proto.
32595         (_IO_flush_all_internal, _IO_adjust_column_internal)
32596         (_IO_default_uflow_internal, _IO_default_finish_internal)
32597         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32598         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32599         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32600         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32601         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32602         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32603         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32604         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32605         (_IO_file_close_internal, _IO_file_close_it_internal)
32606         (_IO_file_underflow_internal, _IO_file_overflow_internal)
32607         (_IO_file_init_internal, _IO_file_attach_internal)
32608         (_IO_file_fopen_internal, _IO_file_read_internal)
32609         (_IO_file_sync_internal, _IO_file_seek_internal)
32610         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32611         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32612         (_IO_str_underflow_internal, _IO_str_overflow_internal)
32613         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32614         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32615         (_IO_list_all_internal, _IO_link_in_internal)
32616         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32617         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32618         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32619         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32620         (_IO_do_write_internal, _IO_padn_internal)
32621         (_IO_getline_info_internal, _IO_getline_internal)
32622         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32623         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32624         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32625         (_IO_vfscanf_internal, _IO_vfprintf_internal)
32626         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32627         (_IO_init_internal, _IO_un_link_internal): Don't declare.
32628         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32629         with libc_hidden_ver, remove use of INTUSE.
32630         * libio/genops.c: Likewise.
32631         * libio/freopen.c: Likewise.
32632         * libio/freopen64.c: Likewise.
32633         * libio/iofclose.c: Likewise.
32634         * libio/iofdopen.c: Likewise.
32635         * libio/iofflush.c: Likewise.
32636         * libio/iofflush_u.c: Likewise.
32637         * libio/iofgets.c: Likewise.
32638         * libio/iofgets_u.c: Likewise.
32639         * libio/iofopen.c: Likewise.
32640         * libio/iofopncook.c: Likewise.
32641         * libio/iofread.c: Likewise.
32642         * libio/iofread_u.c: Likewise.
32643         * libio/ioftell.c: Likewise.
32644         * libio/iofwrite.c: Likewise.
32645         * libio/iogetline.c: Likewise.
32646         * libio/iogets.c: Likewise.
32647         * libio/iogetwline.c: Likewise.
32648         * libio/iopadn.c: Likewise.
32649         * libio/iopopen.c: Likewise.
32650         * libio/ioseekoff.c: Likewise.
32651         * libio/ioseekpos.c: Likewise.
32652         * libio/iosetbuffer.c: Likewise.
32653         * libio/iosetvbuf.c: Likewise.
32654         * libio/ioungetc.c: Likewise.
32655         * libio/ioungetwc.c: Likewise.
32656         * libio/iovdprintf.c: Likewise.
32657         * libio/iovsprintf.c: Likewise.
32658         * libio/iovsscanf.c: Likewise.
32659         * libio/memstream.c: Likewise.
32660         * libio/obprintf.c: Likewise.
32661         * libio/oldfileops.c: Likewise.
32662         * libio/oldiofclose.c: Likewise.
32663         * libio/oldiofdopen.c: Likewise.
32664         * libio/oldiofopen.c: Likewise.
32665         * libio/oldiopopen.c: Likewise.
32666         * libio/oldstdfiles.c: Likewise.
32667         * libio/putc.c: Likewise.
32668         * libio/setbuf.c: Likewise.
32669         * libio/setlinebuf.c: Likewise.
32670         * libio/stdfiles.c: Likewise.
32671         * libio/strops.c: Likewise.
32672         * libio/vasprintf.c: Likewise.
32673         * libio/vscanf.c: Likewise.
32674         * libio/vsnprintf.c: Likewise.
32675         * libio/vswprintf.c: Likewise.
32676         * libio/wfiledoalloc.c: Likewise.
32677         * libio/wfileops.c: Likewise.
32678         * libio/wgenops.c: Likewise.
32679         * libio/wmemstream.c: Likewise.
32680         * libio/wstrops.c: Likewise.
32681         * libio/__fpurge.c: Likewise.
32682         * libio/__fsetlocking.c: Likewise.
32683         * assert/assert.c: Likewise.
32684         * debug/fgets_chk.c: Likewise.
32685         * debug/fgets_u_chk.c: Likewise.
32686         * debug/fread_chk.c: Likewise.
32687         * debug/fread_u_chk.c: Likewise.
32688         * debug/gets_chk.c: Likewise.
32689         * debug/obprintf_chk.c: Likewise.
32690         * debug/vasprintf_chk.c: Likewise.
32691         * debug/vdprintf_chk.c: Likewise.
32692         * debug/vsnprintf_chk.c: Likewise.
32693         * debug/vsprintf_chk.c: Likewise.
32694         * malloc/mtrace.c: Likewise.
32695         * misc/error.c: Likewise.
32696         * misc/syslog.c: Likewise.
32697         * stdio-common/asprintf.c: Likewise.
32698         * stdio-common/fxprintf.c: Likewise.
32699         * stdio-common/getw.c: Likewise.
32700         * stdio-common/isoc99_fscanf.c: Likewise.
32701         * stdio-common/isoc99_scanf.c: Likewise.
32702         * stdio-common/isoc99_vfscanf.c: Likewise.
32703         * stdio-common/isoc99_vscanf.c: Likewise.
32704         * stdio-common/isoc99_vsscanf.c: Likewise.
32705         * stdio-common/printf-prs.c: Likewise.
32706         * stdio-common/printf_fp.c: Likewise.
32707         * stdio-common/printf_fphex.c: Likewise.
32708         * stdio-common/printf_size.c: Likewise.
32709         * stdio-common/putw.c: Likewise.
32710         * stdio-common/scanf.c: Likewise.
32711         * stdio-common/sprintf.c: Likewise.
32712         * stdio-common/tmpfile.c: Likewise.
32713         * stdio-common/vfprintf.c: Likewise.
32714         * stdio-common/vfscanf.c: Likewise.
32715         * stdlib/strfmon_l.c: Likewise.
32716         * sunrpc/openchild.c: Likewise.
32717         * sunrpc/xdr_stdio.c: Likewise.
32718         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32719         * sysdeps/mach/hurd/tmpfile.c: Likewise.
32720
32721 2012-05-24  Roland McGrath  <roland@hack.frob.com>
32722
32723         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32724
32725         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32726         in the third column, to generate for the shared library an IFUNC
32727         that uses _dl_vdso_vsym.
32728         * Makerules (COMPILE.c, compile-stdin.c): New variables.
32729         * Makeconfig (object-suffixes-noshared): New variable.
32730
32731         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32732         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32733         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32734         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32735
32736         [BZ #14132]
32737         * include/sys/time.h (__gettimeofday): Remove macro.
32738         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32739         * time/gettimeofday.c (__gettimeofday): Remove #undef.
32740         Remove INTDEF.
32741         (__gettimeofday): Add libc_hidden_def.
32742         (gettimeofday): Add libc_hidden_weak.
32743         * sysdeps/mach/gettimeofday.c: Likewise.
32744         * sysdeps/posix/gettimeofday.c: Likewise.
32745         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32746         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32747         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32748         (__gettimeofday_internal): Remove strong_alias.
32749         (__gettimeofday): Add libc_hidden_def.
32750         (gettimeofday): Add libc_hidden_weak.
32751         * sysdeps/unix/syscalls.list (gettimeofday):
32752         Remove __gettimeofday_internal alias.
32753
32754 2012-05-24  Daniel Jacobowitz  <drow@false.org>
32755             H.J. Lu  <hongjiu.lu@intel.com>
32756
32757         [BZ #12495]
32758         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32759         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32760         (largebin_index_32_big): New.
32761         (largebin_index): Use it for 16-byte alignment.
32762         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
32763         correction with front_misalign.
32764
32765 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32766
32767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32768         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32769         Likewise.
32770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32771         Likewise.
32772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32773         Likewise.
32774         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32775         Likewise.
32776         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32777         Likewise.
32778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32779         Likewise.
32780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32781         Likewise.
32782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32783         Likewise.
32784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32785         Likewise.
32786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32787         Likewise.
32788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32789         Likewise.
32790         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32791         Likewise.
32792
32793         * scripts/data/c++-types-x32-linux-gnu.data: New file.
32794         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32795
32796 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32797
32798         [BZ #10846]
32799         [BZ #14036]
32800         * math/libm-test.inc (exp_test): Add test from bug 14036.
32801         (pow_test): Add test from bug 10846.
32802
32803         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32804         and other flags.
32805         (special_function): Do not include flags in test name.
32806         (parse_args): Likewise.
32807         * sysdeps/i386/fpu/libm-test-ulps: Update.
32808         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32809         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32810         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32812
32813         * math/gen-libm-test.pl (%beautify): Add entries for underflow
32814         exceptions.
32815         * math/libm-test.inc ("Philosophy"): Update comment about
32816         exception testing.
32817         (UNDERFLOW_EXCEPTION): New macro.
32818         (UNDERFLOW_EXCEPTION_OK): Likewise.
32819         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32820         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32821         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32822         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32823         (INVALID_EXCEPTION_OK): Update value.
32824         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32825         (OVERFLOW_EXCEPTION_OK): Likewise.
32826         (IGNORE_ZERO_INF_SIGN): Likewise.
32827         (test_exceptions): Handle underflow exceptions.
32828         (acos_test): Update for underflow exception expectations.
32829         (cexp_test): Likewise.
32830         (clog_test): Likewise.
32831         (clog10_test): Likewise.
32832         (csqrt_test): Likewise.
32833         (ctan_test): Likewise.
32834         (ctanh_test): Likewise.
32835         (exp_test): Likewise.
32836         (exp10_test): Likewise.
32837         (exp2_test): Likewise.
32838         (expm1_test): Likewise.
32839         (fma_test): Likewise.
32840         (j0_test): Likewise.
32841         (jn_test): Likewise.
32842         (nexttoward_test): Likewise.
32843         (pow_test): Likewise.
32844         (scalbn_test): Likewise.
32845         (scalbln_test): Likewise.
32846         (tan_test): Likewise.
32847         (y1_test): Likewise.
32848         * sysdeps/i386/fpu/libm-test-ulps: Update.
32849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32850
32851 2012-05-23  David S. Miller  <davem@davemloft.net>
32852
32853         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32854         (__libc_sigaction): Remove unused local variables.
32855
32856 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32857
32858         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32859
32860 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
32861
32862         mktime: avoid signed integer overflow
32863         * time/mktime.c (__mktime_internal): Do not mishandle the case
32864         where diff == INT_MIN.
32865
32866         mktime: simplify computation of average
32867         * time/mktime.c (ranged_convert): Use new time_t_avg function
32868         instead of rolling our own (probably-slower) code.
32869
32870         mktime: do not assume signed right shift propagates sign bit
32871         * time/mktime.c (isdst_differ): New static function.
32872         (__mktime_internal): No need to normalize tm_isdst now.
32873         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32874         tm_isdst values.
32875
32876         mktime: merge another wrapv change from gnulib
32877         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32878         from some compilers.
32879
32880         mktime: remove incorrect attempt at unusual arithmetics
32881         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32882         The code didn't really work on such machines anyway.
32883         (TYPE_MINIMUM): Assume two's complement.
32884         (twos_complement_arithmetic): Verify that long_int and time_t
32885         are two's complement (or unsigned, in the latter case).
32886
32887         mktime: check signed shifts on long_int and time_t, too
32888         * time/mktime.c (SHR): Check that shifts work as desired
32889         on the types long_int and time_t too, as SHR is used on
32890         such types.
32891
32892         mktime: do not assume 'long' is wide enough
32893         * time/mktime.c (verify): Move decl up.
32894         (long_int): New type.
32895         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32896         to remove assumption in the code that 'long' is wide enough to
32897         store year values.  This assumption is not true on x32 and on
32898         some non-glibc platforms.
32899
32900         mktime: merge wrapv change from gnulib
32901         * time/mktime.c (WRAPV): New macro.
32902         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32903         (guess_time_tm, __mktime_internal): Do not assume that signed
32904         integer overflow wraps around; modern compilers generate code
32905         where this assumption is no longer valid.
32906
32907 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32908
32909         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32910         Replace "jmp L(pseudo_end)" with "ret".
32911         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32912         Likewise.
32913
32914 2012-05-23  Andreas Jaeger  <aj@suse.de>
32915
32916         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32917         * sysdeps/unix/sysv/linux/poll.c: Remove file.
32918
32919 2012-05-23  Andreas Jaeger  <aj@suse.de>
32920             Maximilian Attems  <max@stro.at>
32921
32922         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32923         New macros.
32924
32925 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32926
32927         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32928         code so that pseudo_end is just ret and the stack pointer is
32929         correct also for static library in error case.
32930
32931 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
32932
32933         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32934         move to syscalls.list.
32935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32939
32940         * manual/install.texi (Running make install): Do not mention Linux
32941         kernel version for which pt_chown is not needed.
32942         (Linux): Do not mention problems with nscd with 2.0 kernels.
32943         * INSTALL: Regenerated.
32944
32945 2012-05-23  Andreas Jaeger  <aj@suse.de>
32946
32947         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32948         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32949         macro.
32950         * sysdeps/unix/sysv/linux/s390/bits/mman.h
32951         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32952         * sysdeps/unix/sysv/linux/sh/bits/mman.h
32953         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32954         * sysdeps/unix/sysv/linux/i386/bits/mman.h
32955         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32956         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32957         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32958         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32959         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32960         * sysdeps/unix/sysv/linux/bits/in.h
32961         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32962
32963 2012-05-22  Roland McGrath  <roland@hack.frob.com>
32964
32965         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32966         (PREPARE_VERSION): Just use assert instead, it will be elided
32967         under [NDEBUG] anyway.
32968
32969 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32970
32971         * sysdeps/unix/sysv/linux/Makefile: Include
32972         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32973         (sysdep_routines): Remove sysctl.
32974         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32975         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32976         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32977         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32978         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32979
32980 2012-05-22  Andreas Jaeger  <aj@suse.de>
32981
32982         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32983         that pseudo_end is just ret and the stack pointer is correct also
32984         for static library in error case.
32985
32986 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32987
32988         [BZ #14122]
32989         * nss/nsswitch.c (defconfig_entries): New variable.
32990         (__nss_database_lookup): Don't leak defconfig entries.
32991         (nss_parse_service_list): Don't leak on error paths.
32992         (free_database_entries): New function.
32993         (free_defconfig): New function.
32994         (free_mem): Move common code to free_database_entries.
32995
32996 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32997
32998         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32999         Add arch_prctl.
33000         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33001
33002         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33003         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33004         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33005         New macro.
33006         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33007         (INTERNAL_SYSCALL_TYPES): Likewise.
33008         (LOAD_ARGS_TYPES_[1-6]): Likewise.
33009         (LOAD_REGS_TYPES_[1-6]): Likewise.
33010         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33011         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33012
33013 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33014
33015         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33016         copysignl for GLIBC_2_0.
33017         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33018         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33019         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33020         logbl for GLIBC_2_0.
33021         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33022         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33023
33024 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33025
33026         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33027         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33028
33029         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33030         Use "neg %eax".
33031
33032         * time/mktime.c: Update copyright years.
33033
33034 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33035
33036         mktime: merge comment-quoting-style change from gnulib
33037         * time/mktime.c: Quote 'like this' in comments.
33038         The GNU coding standards suggest that we no longer quote `like this',
33039         as "`" and "'" are typically rendered asymmetrically nowadays.
33040         The typical gnulib style is to quote 'like this' when quoting
33041         code, and "like this" when quoting English.
33042
33043         * time/mktime.c (compile-command): Add "-I.".
33044
33045         mktime: merge mktime-internal.h change from gnulib
33046         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33047
33048         mktime: merge time_r change from gnulib
33049         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33050
33051         mktime: merge DEBUG change from gnulib
33052         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33053         case system <time.h> has a #define.
33054
33055         mktime: merge <sys/types.h> change from gnulib
33056         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33057         since <time.t> is now guaranteed to define time_t.
33058
33059         mktime: merge HAVE_CONFIG_H change from gnulib
33060         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33061
33062 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33063
33064         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33065         Use "neg %eax".
33066
33067         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33068         __rlim_t cast.
33069         (struct rusage): Use anonymous union to pad each field to
33070         __syscall_slong_t.
33071
33072 2012-05-21  David S. Miller  <davem@davemloft.net>
33073
33074         * Makefules (o-iterator): Remove .s cases.
33075         (compile-command.s): Delete.
33076         (COMPILE.s): Delete.
33077         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33078
33079 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
33080
33081         * configure.in (libc_cv_predef_stack_protector): Only consider
33082         "foobar" and "__stack_chk_fail" lines in libc_undefs.
33083         * configure: Regenerated.
33084
33085 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33086
33087         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33088         New macro.  Use R*LP on int and pointer.
33089         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33090         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33091         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33092         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33093
33094         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33095         [__WORDSIZE_TIME64_COMPAT32] instead of
33096         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33097         (struct utmp): Likewise.
33098         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33099         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33100         Renamed to ...
33101         (__WORDSIZE_TIME64_COMPAT32): This.
33102         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33103         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33104         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33105         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33106         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33107         (__WORDSIZE_TIME64_COMPAT32): New macro.
33108
33109 2012-05-21  Andreas Jaeger  <aj@suse.de>
33110
33111         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33112         only if [SHARED]. Add prototype for __wcschr_ia32.
33113
33114 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33115
33116         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33117         of %rbp unmolested in the jmp_buf while mangling the low bits.
33118         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33119         unmolested high bits of %rbp while demangling the low bits.
33120         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33121
33122 2012-05-21  Andreas Jaeger  <aj@suse.de>
33123
33124         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33125         * sunrpc/svc_simple.c: Use it for registerrpc.
33126         * sunrpc/xcrypt.c: Use it for passwd2des.
33127
33128         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33129
33130 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33131
33132         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33133         Don't define if [__SYSCALL_WORDSIZE != 32].
33134         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33135         New macro.
33136
33137 2012-05-21  Bruno Haible  <bruno@clisp.org>
33138             Andreas Jaeger  <aj@suse.de>
33139
33140         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33141         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33142         inptr and inend for must_buffer_ch.
33143         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33144         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33145         * stdio-common/Makefile (tests): Remove bug15.
33146         (bug15-ENV): Remove macro.
33147         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33148         anymore.
33149
33150 2012-05-19  Andreas Jaeger  <aj@suse.de>
33151             Roland McGrath  <roland@hack.frob.com>
33152
33153         * manual/contrib.texi: Completely rewritten. It contains now an
33154         alphabetical list of contributors and their contributions.
33155
33156 2012-05-21  Richard Henderson  <rth@twiddle.net>
33157
33158         * misc/getauxval.c (__getauxval): Use unsigned long int.
33159         * misc/sys/auxv.h: Include <sys/cdefs.h>.
33160         (getauxval): Use unsigned long int.
33161
33162 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33163
33164         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33165
33166 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33167
33168         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33169         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33170         __alignof__ (long double).
33171
33172 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33173
33174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33175
33176 2012-05-20  Richard Henderson  <rth@twiddle.net>
33177
33178         * misc/getauxval.c: New file.
33179         * misc/sys/auxv.h: New file.
33180         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33181         (routines): Add getauxval.
33182         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33183         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33184         * elf/dl-sysdep.c (_dl_auxv): Remove.
33185         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33186         * elf/dl-support.c (_dl_auxv): New variable.
33187         (_dl_aux_init): Initialize it.
33188         * manual/startup.texi (Auxiliary Vector): New node.
33189         * sysdeps/generic/bits/hwcap.h: New file.
33190         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33191         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
33192         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33193         * sysdeps/sparc/sysdep.h: ... here.  Include it.
33194         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33195         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33197         Update.
33198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33201         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33206
33207 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33208
33209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33210
33211 2012-05-19  David S. Miller  <davem@davemloft.net>
33212
33213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33214
33215 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33216
33217         [BZ #14123]
33218         * math/s_ccosh.c: Include <float.h>
33219         (__ccosh): Avoid internal overflow calculating sinh and cosh
33220         values before multiplying by sin and cos values.
33221         * math/s_ccoshf.c: Likewise.
33222         * math/s_ccoshl.c: Likewise.
33223         * math/s_csin.c: Likewise.
33224         * math/s_csinf.c: Likewise.
33225         * math/s_csinl.c: Likewise.
33226         * math/s_csinh.c: Likewise.
33227         * math/s_csinhf.c: Likewise.
33228         * math/s_csinhl.c: Likewise.
33229         * math/libm-test.inc (ccos_test): Add more tests.
33230         (ccosh_test): Likewise.
33231         (csin_test): Likewise.
33232         (csinh_test): Likewise.
33233         * sysdeps/i386/fpu/libm-test-ulps: Update.
33234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33235
33236 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
33237
33238         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33239         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33240
33241         * sysdeps/x86_64/x32/_itoa.h: Add comment.
33242
33243 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33244
33245         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33246         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33247         * sysdeps/powerpc/soft-fp/Versions: Likewise.
33248         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33249         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33250         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33251         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33252         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33253         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33254         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33255         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33256         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33257         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33258         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33259         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33260         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33261         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33262         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33263         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33264         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33265         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33266         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33267         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33268         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33269         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33270         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33271         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33272         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33273         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33274         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33275         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33276
33277 2012-05-18  Andreas Jaeger  <aj@suse.de>
33278
33279         * csu/.gitignore: Delete.
33280
33281 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33282
33283         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33284         (timex): Use __syscall_slong_t.
33285
33286 2012-05-18  Andreas Jaeger  <aj@suse.de>
33287             Carlos O'Donell  <carlos_odonell@mentor.com>
33288
33289         * manual/install.texi (Configuring and compiling): Update
33290         description about files modified in the source directory.
33291         * INSTALL: Regenerated.
33292
33293 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33294
33295         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33296         value.  Use "or" to set return value to -1.
33297         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33298         negate return value.
33299
33300 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33301
33302         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33303         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33304         failure if the compiler has Graphite support disabled.
33305         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33306         Likewise.
33307         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33308         (CFLAGS-memmove.c): Likewise.
33309         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33310         Likewise.
33311
33312 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33313
33314         * sysdeps/x86_64/x32/_itoa.h: New file.
33315
33316         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33317         getdents system call only if kernel and user dirents have the
33318         same d_ino and d_off.
33319
33320         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33321         LLONG_MAX != LONG_MAX.
33322         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33323         (_fitoa_word): Likewise.
33324
33325         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33326         years.
33327         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33328         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33329         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33330
33331         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33332         include <bits/wordsize.h>.  Check __x86_64__ instead of
33333         __WORDSIZE.
33334         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33335         if __x86_64__ is defined.  Use anonymous union on fpstate.
33336
33337         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33338         anonymous union.
33339
33340 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33341
33342         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33343         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33344         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33345         Refer to _rtld_local_ro instead of _rtld_global_ro.
33346         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33347         Likewise.
33348         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33349         Likewise.
33350         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33351         Likewise.
33352         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33353         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33354         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33355
33356         * sysdeps/powerpc/powerpc32/dl-machine.c
33357         (__elf_machine_runtime_setup) [PROF]: Don't reference
33358         _dl_prof_resolve.
33359
33360 2012-05-18  Andreas Jaeger  <aj@suse.de>
33361
33362         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33363         function only available for GCCs before 3.4 since GCC 3.4
33364         introduced a builtin.
33365         (lrint): Likewise.
33366         (llrintf): Likewise.
33367         (llrint): Likewise.
33368         (fmaxf): Likewise.
33369         (fmax): Likewise.
33370         (fminf): Likewise.
33371         (fmin): Likewise.
33372         (rint): Likewise.
33373         (rintf): Likewise.
33374         (nearbyint): Likewise.
33375         (nearbyintf): Likewise.
33376         (ceil): Likewise.
33377         (ceilf): Likewise.
33378         (floor): Likewise.
33379         (floorf): Likewise.
33380
33381 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33382
33383         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33384         on both fields and cast pointer to __syscall_ulong_t.
33385
33386         * bits/types.h (__fsword_t): New type.
33387         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33388         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33389         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33390         (__FSWORD_T_TYPE): Likewise.
33391         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33392         (__FSWORD_T_TYPE): Likewise.
33393         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33394         (__FSWORD_T_TYPE): Likewise.
33395         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33396         (__FSWORD_T_TYPE): Likewise.
33397         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33398         __SWORD_TYPE with __fsword_t.
33399         (statfs64): Likewise.
33400
33401 2012-05-17  David S. Miller  <davem@davemloft.net>
33402
33403         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33404
33405 2012-05-17  Andreas Jaeger  <aj@suse.de>
33406
33407         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33408         warning.
33409
33410 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33411
33412         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33413
33414 2012-05-17  Andreas Jaeger  <aj@suse.de>
33415
33416         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33417         when it is used.
33418
33419 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33420
33421         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33422
33423 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33424
33425         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33426         * sysdeps/x86_64/tst-mallocalign1.c: New file.
33427
33428 2012-05-17  Andreas Jaeger  <aj@suse.de>
33429             Carlos O'Donell  <carlos_odonell@mentor.com>
33430
33431         [BZ #14059]
33432         * sysdeps/x86_64/multiarch/init-arch.h
33433         (bit_YMM_Usable): Rename to...
33434         (bit_AVX_Usable): ... this.
33435         (bit_FMA4_Usable): New macro.
33436         (bit_XMM_state): New macro.
33437         (bit_YMM_state): New macro.
33438         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33439         [__ASSEMBLER__] (index_AVX_Usable): ... this.
33440         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33441         (CPUID_OSXSAVE): New macro.
33442         (CPUID_AVX): New macro.
33443         (CPUID_FMA4): New macro.
33444         (index_YMM_Usable): Rename to...
33445         (index_AVX_Usable): ... this.
33446         (HAS_AVX): Use HAS_ARCH_FEATURE.
33447         (HAS_FMA4): Likewise.
33448         (HAS_YMM_USABLE): Remove.
33449         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33450         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33451         are present.
33452         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33453         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33454         * sysdeps/x86_64/multiarch/Makefile: Likewise.
33455         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33456         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33457
33458 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33459
33460         * math/libm-test.c: Support platforms without multiple rounding modes.
33461         * math/bug-nextafter.c: Support platforms without FP exceptions.
33462         * math/bug-nexttoward.c: Likewise.
33463         * math/test-fenv.c: Likewise.
33464         * math/test-misc.c: Likewise.
33465         * stdlib/bug-getcontext.c: Likewise.
33466
33467 2012-05-17  Andreas Jaeger  <aj@suse.de>
33468
33469         * manual/examples/search.c (critter_cmp): Change signature to
33470         avoid warnings.
33471         * manual/string.texi (Collation Functions): Likewise.
33472
33473 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33474
33475         * bits/types.h: Fold copyright years.
33476         * bits/typesizes.h: Likewise.
33477         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33478         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33479         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33480         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33481         * time/time.h: Likewise.
33482
33483 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
33484
33485         [BZ #208]
33486         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33487         in instead of returning them.  Return void.
33488         (__libc_mallinfo): Accumulate over all arenas.
33489         (__malloc_stats): Adjust for change in int_mallinfo interface.
33490
33491 2012-05-16  Roland McGrath  <roland@hack.frob.com>
33492
33493         [BZ #10375]
33494         * configure.in (NM): Add AC_CHECK_TOOL for it.
33495         (libc_extra_cflags): New substituted variable.
33496         Check for -fstack-protector being used implicitly.
33497         * configure: Regenerated.
33498         * config.make.in (config-extra-cflags): New variable,
33499         gets @libc_extra_cflags@.
33500         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33501
33502         [BZ #10375]
33503         * configure.in: Check for _FORTIFY_SOURCE being predefined.
33504         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33505         * configure: Regenerated.
33506         * config.make.in (CPPUNDEFS): New substituted variable.
33507         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33508         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33509         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33510
33511 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33512
33513         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33514         (mq_attr): Use __syscall_slong_t.
33515
33516 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33517
33518         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33519         Check __x86_64__ instead of __WORDSIZE.
33520         (_STAT_VER_LINUX): Likewise.
33521         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
33522         __syscall_ulong_t and __syscall_slong_t.
33523         (stat64): Likewise.
33524
33525 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33526
33527         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33528
33529 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33530
33531         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33532
33533 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33534
33535         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33536         __syscall_ulong_t.
33537
33538         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33539         include <bits/wordsize.h>.  Check __x86_64__ instead of
33540         __WORDSIZE.
33541         (greg_t): Use "__extension__ long long int" if __x86_64__ is
33542         defined.
33543         (mcontext_t): Replace "unsigned long" with "unsigned long long".
33544
33545         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33546         include <bits/wordsize.h>.  Check __x86_64__ instead of
33547         __WORDSIZE.
33548         (user_regs_struct): Use "__extension__ unsigned long long"
33549         instead of "unsigned long" if __x86_64__ is defined.
33550         (user): Likewise.  Pad after pointer field if __ILP32__ is
33551         defined.
33552
33553 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
33554
33555         * configure.in (makeinfo): Require version 4.5 or later.  Allow
33556         versions 5 to 9.
33557         * configure: Regenerated.
33558         * manual/install.texi (texinfo): Increase version requirement to
33559         4.5 or later.
33560         * INSTALL: Regenerated.
33561
33562         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33563
33564 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33565
33566         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33567
33568         * sysdeps/x86_64/x32/ffs.c: New file.
33569
33570         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33571         __syscall_ulong_t.
33572         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33573         defined.  Use __syscall_ulong_t.
33574         (shminfo): Use __syscall_ulong_t.
33575         (shm_info): Likewise.
33576
33577         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33578         __syscall_ulong_t.
33579
33580         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33581         <bits/wordsize.h>.
33582         (msgqnum_t): Use __syscall_ulong_t.
33583         (msglen_t): Likewise.
33584         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
33585         __syscall_ulong_t.
33586
33587         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33588         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33589
33590         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33591
33592         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33593         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33594
33595         * sysvipc/sys/msg.h (msgbuf): Replace long int with
33596         __syscall_slong_t.
33597
33598         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33599         include <bits/wordsize.h>.  Check __x86_64__ instead of
33600         __WORDSIZE.
33601
33602         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33603         "unsigned long long int" if __x86_64__ is defined.
33604         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33605
33606         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33607         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33608         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33609
33610         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33611         <stdint.h>.
33612         (GET_PC): Cast to uintptr_t first.
33613         (GET_FRAME): Likewise.
33614         (GET_STACK): Likewise.
33615
33616         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33617         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33618         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33619         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33620         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33621         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33622         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33623         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33624         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33625         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33626         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33627         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33628         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33629         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33630         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33631         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33632         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33633         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33634         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33635         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33636         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33637         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33638         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33639         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33640         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33641         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33642         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33643         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33644         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33645
33646 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
33647
33648         * Makerules (+depfiles): Also collect depfiles from .oS in
33649         $(extra-objs).
33650         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33651         .oS, $(libnldbl-routines)).
33652
33653         * Makerules (native-compile-mkdep-flags): Define.
33654         * sunrpc/Makefile (extra-objs): Add $(addprefix
33655         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33656         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33657         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
33658         calling $(make-target-directory).
33659
33660 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33661
33662         * bits/types.h (__snseconds_t): Removed.
33663         * time/time.h (struct timespec): Replace __snseconds_t with
33664         __syscall_slong_t.
33665         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33666         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33667         Likewise.
33668         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33669         (__SNSECONDS_T_TYPE): Likewise.
33670         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33671         (__SNSECONDS_T_TYPE): Likewise.
33672         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33673         (__SNSECONDS_T_TYPE): Likewise.
33674
33675 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33676
33677         * sysdeps/mach/hurd/bits/typesizes.h
33678         (__SYSCALL_SLONG_TYPE): New macro.
33679         (__SYSCALL_ULONG_TYPE): Likewise.
33680
33681 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33682
33683         * bits/types.h (__syscall_slong_t): New type.
33684         (__syscall_ulong_t): Likewise.
33685
33686         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33687         (__SYSCALL_ULONG_TYPE): Likewise.
33688         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33689         (__SYSCALL_SLONG_TYPE): Likewise.
33690         (__SYSCALL_ULONG_TYPE): Likewise.
33691         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33692         (__SYSCALL_SLONG_TYPE): Likewise.
33693         (__SYSCALL_ULONG_TYPE): Likewise.
33694         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33695         (__SYSCALL_SLONG_TYPE): Likewise.
33696         (__SYSCALL_ULONG_TYPE): Likewise.
33697
33698 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33699
33700         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33701         Add sigaltstack-offsets.sym.
33702         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33703         <sigaltstack-offsets.h>.
33704         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
33705         longjmp_msg pointer.
33706         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
33707         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33708         signal stack.
33709         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33710
33711 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33712
33713         * elf/stackguard-macros.h: Remove file.
33714         * sysdeps/generic/stackguard-macros.h: New file.
33715         * sysdeps/i386/stackguard-macros.h: Likewise.
33716         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33717         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33718         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33719         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33720         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33721         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33722         * sysdeps/x86_64/stackguard-macros.h: Likewise.
33723         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33724         <elf/stackguard-macros.h>.
33725
33726         [BZ #14109]
33727         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33728         __aligned__ in attribute.
33729         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33730         (gregset_t): Likewise.
33731
33732 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33733
33734         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33735         * sysdeps/x86_64/64/Implies-after: Here.  New file.
33736         * sysdeps/x86_64/x32/Implies-after: New file.
33737
33738 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33739
33740         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33741         and access return value for _dl_profile_fixup.  Use R10_LP to
33742         load frame size.
33743
33744 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33745
33746         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33747
33748 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33749
33750         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33751         * sysdeps/x86_64/x32/sysdep.h: New file.
33752
33753 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33754
33755         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33756         * sysdeps/x86_64/setjmp.S: Likewise.
33757
33758 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33759
33760         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33761         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33762         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33763         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33764         remove unused global constant.
33765
33766 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
33767
33768         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33769         include of <not-cancel.h>.
33770
33771 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33772
33773         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33774
33775 2012-05-15  Jeff Law  <law@redhat.com>
33776             Andreas Jaeger  <aj@suse.de>
33777
33778         [BZ #13594]
33779         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33780         out from...
33781         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33782         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33783         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33784         code changing __hst_map_handle.map.
33785
33786 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33787
33788         * configure.in (sysnames): Look for Implies-before and Implies-after
33789         files.
33790         * configure: Regenerated.
33791
33792 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33793
33794         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33795         8-byte data alignment with LP_SIZE alignment.
33796
33797 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33798
33799         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33800         into R10_LP.
33801
33802 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33803
33804         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33805
33806 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33807
33808         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33809         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33810         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33811         Likewise.
33812         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33813
33814 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33815
33816         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33817         (stackinfo_sub_sp): Likewise.
33818
33819 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33820
33821         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33822         RAX_LP.
33823
33824 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33825
33826         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33827         into R*_LP.
33828
33829 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33830
33831         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33832         sizes into R*_LP.
33833
33834 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33835
33836         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33837
33838 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33839
33840         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33841         into R11_LP and load __x86_64_shared_cache_size_half into
33842         R8_LP.
33843
33844 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33845
33846         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33847         R8_LP.
33848
33849 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33850
33851         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33852         logb for POWER7.
33853         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33854         logbf for POWER7.
33855         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33856         logbl for POWER7.
33857         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33858         powerpc32/power7/fpu/s_logb.c via #include.
33859         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33860         powerpc32/power7/fpu/s_logbf.c via #include.
33861         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33862         powerpc32/power7/fpu/s_logbl.c via #include.
33863
33864 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33865
33866         * README.libm: Remove file.
33867
33868 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33869
33870         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33871         count for x32.  Use R*_LP and omit operand-size suffix.
33872
33873 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33874
33875         * shlib-versions: Move x86_64-.*-linux.* entries to ...
33876         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
33877         * sysdeps/x86_64/x32/shlib-versions: New file.
33878
33879 2012-05-14  Roland McGrath  <roland@hack.frob.com>
33880
33881         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33882         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33883         Use _dl_fatal_printf instead.
33884
33885 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33886
33887         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33888         set if not set by the user.  Do not allow for being unset.
33889         * sysdeps/unix/sysv/linux/configure: Regenerated.
33890
33891 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33892
33893         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33894         the `q' suffix from lea and replace .quad with ASM_ADDR.
33895
33896 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33897
33898         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33899         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
33900         instead of $17.
33901         (PTR_DEMANGLE): Likewise.
33902
33903 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33904
33905         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33906         (LP_OP): Likewise.
33907         (ASM_ADDR): Likewise.
33908         (RAX_LP): Likewise.
33909         (RBP_LP): Likewise.
33910         (RBX_LP): Likewise.
33911         (RCX_LP): Likewise.
33912         (RDI_LP): Likewise.
33913         (RSI_LP): Likewise.
33914         (RSP_LP): Likewise.
33915         (R8_LP): Likewise.
33916         (R9_LP): Likewise.
33917         (R10_LP): Likewise.
33918         (R10_LP): Likewise.
33919         (R11_LP): Likewise.
33920         (R12_LP): Likewise.
33921         (R13_LP): Likewise.
33922         (R14_LP): Likewise.
33923         (R15_LP): Likewise.
33924
33925 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33926
33927         * sysdeps/x86_64/x32/dl-machine.h: New file.
33928
33929 2012-05-14  Andreas Jaeger  <aj@suse.de>
33930
33931         * manual/Makefile (subdir): Remove export of subdir.
33932         (all): Remove target.
33933         (.PHONY): Remove all from list.
33934         (mkinstalldirs): Remove.
33935         (.PHONY): Remove installdirs from list.
33936         ($(inst_infodir)/libc.info): Use make-target-directory.
33937         (installdirs): Remove.
33938         (subdir_%): Remove.
33939         (glibc-targets): Remove.
33940         (lib): Remove.
33941         (stubs): Remove.
33942         ($(objpfx)stubs ../po/manual.pot): Remove.
33943         ($(objpfx)stamp%): Remove.
33944         (make-target-directory): Remove.
33945         (subdir_install): Remove.
33946         (routines): Remove.
33947         (aux): Remove.
33948         (sources): Remove.
33949         (objects): Remove.
33950         (headers): Remove.
33951
33952         [BZ #13750]
33953         * manual/.gitignore: Remove, it's not needed anymore.
33954         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33955         all files in it.
33956         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33957         directory.
33958         (texis): Renamed to $(objpfx)texis.
33959         (texis-path): New, contains path to generated files.
33960         (chapters.%): Use texis-path for complete path, add extra argument
33961         libc-texinfo.sh.
33962         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33963         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33964         (summary,texi, stamp-summary): Use complete path of
33965         files. Generate files in build dir.
33966         (dir-add.texi): Build in build dir.
33967         (libm-err.texi,stamp-libm-err): Likewise.
33968         (version.texi, stamp-version): Likewise.
33969         (.%c.texi): Likewise.
33970         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33971         (mostlyclean): Remove target.
33972         (realclean): Remove target.
33973         (generated): Add new variable with contents from mostlyclean and
33974         realclean, remove entries duplicated in common-mostlyclean, add
33975         stamp-libm-err and stamp-version.
33976         (generated-dirs): Add libc directory.
33977         ($(inst_infodir)/libc.info): Install files from build dir.
33978
33979         * manual/install.texi (Configuring and compiling): Adjust since
33980         the info files are not part of the tar ball anymore.
33981
33982 2012-05-14  Andreas Jaeger  <aj@suse.de>
33983
33984         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33985         variable.
33986
33987 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33988
33989         [BZ #13717]
33990         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33991         to 2.2.0 where earlier.
33992         * sysdeps/unix/sysv/linux/configure: Regenerated.
33993         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33994         Remove conditional code.
33995         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33996         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33997         Remove conditional code.
33998         [!__NR_lchown]: Likewise.
33999         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34000         [__NR_lchown]: Likewise.
34001         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34002         comment referencing __ASSUME_LCHOWN_SYSCALL.
34003         * sysdeps/unix/sysv/linux/i386/sigaction.c
34004         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34005         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34006         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34007         Remove conditional code.
34008         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34009         (__protocol_available): Remove #if 0 code.
34010         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34011         conditional code.
34012         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34013         * sysdeps/unix/sysv/linux/kernel-features.h
34014         (__ASSUME_GETCWD_SYSCALL): Don't define.
34015         (__ASSUME_REALTIME_SIGNALS): Likewise.
34016         (__ASSUME_PREAD_SYSCALL): Likewise.
34017         (__ASSUME_PWRITE_SYSCALL): Likewise.
34018         (__ASSUME_POLL_SYSCALL): Likewise.
34019         (__ASSUME_LCHOWN_SYSCALL): Likewise.
34020         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34021         non-SPARC.
34022         (__ASSUME_SIOCGIFNAME): Don't define.
34023         (__ASSUME_MSG_NOSIGNAL): Likewise.
34024         (__ASSUME_SENDFILE): Define unconditionally.
34025         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34026         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34027         conditional code.
34028         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34029         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34030         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34031         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34032         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34033         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34034         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34036         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34037         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34039         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34040         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34042         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34043         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34045         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34046         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34048         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34049         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34051         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34052         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34054         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34055         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34057         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34058         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34059         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34060         Remove conditional code.
34061         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34062         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34063         Remove conditional code.
34064         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34065         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34066         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34067         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34068         Remove conditional code.
34069         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34070         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34071         Remove conditional code.
34072         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34073         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34074         Remove conditional code.
34075         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34076         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34077         Remove conditional code.
34078         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34079         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34080         Remove conditional code.
34081         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34082         * sysdeps/unix/sysv/linux/sh/pwrite64.c
34083         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34084         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34085         * sysdeps/unix/sysv/linux/sigaction.c
34086         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34087         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34088         * sysdeps/unix/sysv/linux/sigpending.c
34089         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34090         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34091         * sysdeps/unix/sysv/linux/sigprocmask.c
34092         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34093         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34094         * sysdeps/unix/sysv/linux/sigsuspend.c
34095         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34096         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34097         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34098         (__libc_missing_rt_sigs): Remove.
34099         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34100         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34101         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34102         Remove conditional code.
34103         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34104         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34105         return 1.
34106         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34107         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34108         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34109         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34110
34111 2012-05-14  Andreas Jaeger  <aj@suse.de>
34112
34113         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34114         it's not used in glibc.
34115         (__coshm1): Likewise.
34116         (__acosh1p): Likewise.
34117         (__sgn): Likewise.
34118
34119         * manual/string.texi (Copying and Concatenation): Add missing
34120         variable in concat example.
34121         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34122
34123 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34124
34125         [BZ #14103]
34126         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34127         __builtin_clzl with __builtin_clzll.
34128
34129 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34130
34131         [BZ #14104]
34132         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34133         libc_freeres_ptr.
34134
34135 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34136
34137         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34138         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34139         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34140         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34141
34142 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
34143
34144         * NEWS: Update ia64 info.
34145
34146 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
34147
34148         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34149         used as bcopy.
34150
34151 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
34152
34153         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34154         * sysdeps/unix/syscalls.list (dup3): Likewise.
34155         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34156         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34157
34158 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34159
34160         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34161         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34162
34163 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34164
34165         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34166         thread pointer.
34167         (TLS_IE): Use mov/add instead of movq/addq to load thread
34168         pointer.
34169         (TLS_GD_PREFIX): New.
34170         (TLS_GD): Use it.
34171
34172 2012-05-11  David S. Miller  <davem@davemloft.net>
34173
34174         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34175         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34176         (_FPU_SETCW): Likewise.
34177
34178 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34179
34180         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34181         is 32-byte aligned.
34182
34183 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
34184
34185         [BZ #11837]
34186         * iconvdata/gb18030.c: Update tables.
34187         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
34188         characters specially.
34189         (BODY for TO_LOOP): Add encoding of missing ranges.
34190
34191 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
34192
34193         [BZ #13673]
34194         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34195         * sysdeps/mach/hurd/dup3.c: Likewise.
34196         * sysdeps/mach/hurd/readlinkat.c: Likewise.
34197         * sysdeps/powerpc/memmove.c:: Likewise.
34198
34199 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34200
34201         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34202         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34203
34204 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34205
34206         * elf/elf.h (R_X86_64_RELATIVE64): New.
34207         (R_X86_64_NUM): Updated.
34208         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34209         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
34210         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34211         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34212         tst-quad1pie tst-quad2pie
34213         (modules-names): Add tst-quadmod1 tst-quadmod2.
34214         ($(objpfx)tst-quad1): New dependency.
34215         ($(objpfx)tst-quad2): Likewise.
34216         ($(objpfx)tst-quad1pie): Likewise.
34217         ($(objpfx)tst-quad2pie): Likewise.
34218         * sysdeps/x86_64/tst-quad1.c: New file.
34219         * sysdeps/x86_64/tst-quad1pie.c: New file.
34220         * sysdeps/x86_64/tst-quad2.c: Likewise.
34221         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34222         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34223         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34224         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34225         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34226
34227 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34228
34229         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34230         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34231         * streams/stropts.h (t_scalar_t): Define type.
34232
34233         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34234         (_PATH_PRESERVE): Set to "/var/lib".
34235         (_PATH_RWHODIR): Set to "/var/spool/rwho".
34236
34237         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34238         instead of int.
34239
34240         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34241         if __dir_mkfile succeeded.
34242
34243         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34244         checking for _hurd_dtablesize.  Unlock it right after having
34245         finished _hurd_dtable allocation.
34246
34247 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34248
34249         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34250         * sysdeps/mach/hurd/configure: Regenerated.
34251         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34252         special-casing to...
34253         * sysdeps/gnu/configure.in: ... this new file.
34254         * sysdeps/unix/sysv/linux/configure: Regenerated.
34255         * sysdeps/gnu/configure: New generated file.
34256
34257         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34258         for Linux: use nsec instead of usec, as well as:
34259         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34260         members of type struct timespec.
34261         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34262         New macros.
34263         (struct stat64): Likewise.
34264         (_STATBUF_ST_NSEC): New macro.
34265         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34266
34267         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34268         __strtoul_internal rather than strtoul.
34269
34270 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34271
34272         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34273         and reject them.
34274
34275 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34276
34277         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34278         which preserves existing values.
34279         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34280
34281 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34282
34283         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34284         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34285         greater than FD_SETSIZE.
34286
34287 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34288
34289         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34290         allocated, call __vm_protect to finish enabling the existing space, and
34291         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34292         allocate the remainder.
34293
34294 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34295
34296         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34297         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34298
34299 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34300
34301         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34302         sysdeps/mach/hurd/readlink.c.
34303
34304         * posix/tst-sysconf.c (posix_options): Only use
34305         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34306         _POSIX_SYNCHRONIZED_IO when they are defined
34307         * sysdeps/mach/hurd/bits/posix_opt.h:
34308         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34309         (_XOPEN_REALTIME): Undefine macro.
34310         (_XOPEN_REALTIME_THREADS): Undefine macro.
34311         (_XOPEN_SHM): Undefine macro.
34312         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34313         macro to -1.
34314         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34315         macro to -1.
34316         (_POSIX_ASYNC_IO): Undefine macro.
34317         (_POSIX_PRIORITIZED_IO): Undefine macro.
34318         (_POSIX_SPIN_LOCKS): Define macro to -1.
34319
34320         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34321         SA_NODEFER, SA_RESETHAND.
34322         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34323         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34324         F_DUPFD_CLOEXEC.
34325
34326 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34327
34328         * elf/Makefile (pldd-modules): Define unconditionally.
34329
34330 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34331
34332         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34333
34334 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34335
34336         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34337         Return ENOENT when name is empty.
34338         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34339
34340 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34341
34342         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34343
34344         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34345
34346 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34347
34348         Fix mlock in all cases except non-readable pages.
34349         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34350         instead of VM_PROT_ALL as parameter to __vm_wire function.
34351
34352         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34353         (__mkdir): When path is `/', just fail with EEXIST.
34354         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34355
34356 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34357
34358         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34359         <sys/uio.h> (for writev).
34360         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34361         and <sys/param.h> (for MIN).
34362
34363 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34364
34365         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34366         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34367         if interrupted.
34368
34369 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34370
34371         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34372         Depend on against $(link-rpcuserlibs).
34373
34374 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34375
34376         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34377         (__libc_stack_end): Do not use attribute_relro.
34378         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34379         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34380         to libthread-provided value.
34381         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34382         attribute_relro.
34383
34384 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34385
34386         [BZ #3748]
34387         * bits/libc-lock.h (__libc_once_get): New macro.
34388         * sysdeps/mach/bits/libc-lock.h: Likewise.
34389         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34390         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34391         instead of using implementation details.
34392
34393         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34394         * libio/freopen.c: Likewise.
34395         * libio/freopen64.c: Likewise.
34396         * misc/syslog.c: Likewise.
34397         * nscd/connections.c: Likewise.
34398         * nscd/netgroupcache.c: Likewise.
34399         * sysdeps/posix/getcwd.c: Likewise.
34400
34401 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34402
34403         * math/w_ilogbf.c: Add #include <limits.h>.
34404
34405 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34406
34407         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34408         path instead of returning without unlocking.
34409
34410         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34411         immediate-write ioctls.
34412         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34413
34414 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34415
34416         * sysdeps/mach/hurd/i386/init-first.c (init): Use
34417         __builtin_frame_address instead of making assumptions about the
34418         location of the return address relative to DATA.  Force early load of
34419         the return address.
34420         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34421         __builtin_frame_address.
34422
34423         dup3 for GNU Hurd.
34424         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34425         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
34426         implement dup3 and do some further code clean-ups.
34427         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34428         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34429
34430 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34431
34432         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34433
34434         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34435         HURD_CRITICAL_END around holding _hurd_dtable_lock.
34436         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34437         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34438         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34439         d->port.lock.
34440
34441         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34442         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
34443         when handler == SIG_ERR, not when handler != SIG_ERR.
34444
34445 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34446
34447         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34448         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34449         definitions.
34450
34451         accept4 for GNU Hurd.
34452         * include/sys/socket.h (__libc_accept4): New prototype.
34453         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
34454         to implement __libc_accept4.
34455         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34456         __libc_accept4.
34457         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34458
34459         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34460         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34461         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34462         signal-defines.sym.
34463
34464 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34465
34466         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34467
34468 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34469
34470         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34471         assertion on O_CLOEXEC flag.
34472         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34473         * hurd/intern-fd.c: Likewise.
34474         * hurd/port2fd.c: Likewise.
34475
34476 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34477
34478         [BZ #3906]
34479         * bits/in.h (IPV6_PKTINFO): Define new macro.
34480         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34481
34482 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34483
34484         [BZ #13954]
34485         [BZ #13955]
34486         [BZ #13956]
34487         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34488         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34489         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34490         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34491         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34492         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34493         * math/libm-test.inc (logb_test) : Additional logb tests.
34494
34495 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
34496             Andreas Jaeger  <aj@suse.de>
34497
34498         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34499         * configure: Regenerated.
34500         * config.h.in (LINK_OBSOLETE_RPC): New macro.
34501         * config.make.in (link-obsolete-rpc): New substituted variable.
34502         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34503         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34504         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34505         (shared-only-routines): Don't set it under [link-obsolete-rpc],
34506         so that libc.a contains the symbols.
34507         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34508         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34509         * sunrpc/auth_none.c: Likewise.
34510         * sunrpc/auth_unix.c: Likewise.
34511         * sunrpc/authdes_prot.c: Likewise.
34512         * sunrpc/authuxprot.c: Likewise.
34513         * sunrpc/clnt_gen.c: Likewise.
34514         * sunrpc/clnt_perr.c: Likewise.
34515         * sunrpc/clnt_raw.c: Likewise.
34516         * sunrpc/clnt_simp.c: Likewise.
34517         * sunrpc/clnt_tcp.c: Likewise.
34518         * sunrpc/clnt_udp.c: Likewise.
34519         * sunrpc/clnt_unix.c: Likewise.
34520         * sunrpc/des_crypt.c: Likewise.
34521         * sunrpc/des_soft.c: Likewise.
34522         * sunrpc/get_myaddr.c: Likewise.
34523         * sunrpc/key_call.c: Likewise.
34524         * sunrpc/key_prot.c: Likewise.
34525         * sunrpc/netname.c: Likewise.
34526         * sunrpc/pm_getmaps.c: Likewise.
34527         * sunrpc/pm_getport.c: Likewise.
34528         * sunrpc/pmap_clnt.c: Likewise.
34529         * sunrpc/pmap_prot.c: Likewise.
34530         * sunrpc/pmap_prot2.c: Likewise.
34531         * sunrpc/pmap_rmt.c: Likewise.
34532         * sunrpc/publickey.c: Likewise.
34533         * sunrpc/rpc_cmsg.c: Likewise.
34534         * sunrpc/rpc_common.c: Likewise.
34535         * sunrpc/rpc_dtable.c: Likewise.
34536         * sunrpc/rpc_prot.c: Likewise.
34537         * sunrpc/rpc_thread.c: Likewise.
34538         * sunrpc/rtime.c: Likewise.
34539         * sunrpc/svc.c: Likewise.
34540         * sunrpc/svc_auth.c: Likewise.
34541         * sunrpc/svc_raw.c: Likewise.
34542         * sunrpc/svc_run.c: Likewise.
34543         * sunrpc/svc_tcp.c: Likewise.
34544         * sunrpc/svc_udp.c: Likewise.
34545         * sunrpc/svc_unix.c: Likewise.
34546         * sunrpc/svcauth_des.c: Likewise.
34547         * sunrpc/xcrypt.c: Likewise.
34548         * sunrpc/xdr.c: Likewise.
34549         * sunrpc/xdr_array.c: Likewise.
34550         * sunrpc/xdr_float.c: Likewise.
34551         * sunrpc/xdr_intXX_t.c: Likewise.
34552         * sunrpc/xdr_mem.c: Likewise.
34553         * sunrpc/xdr_rec.c: Likewise.
34554         * sunrpc/xdr_ref.c: Likewise.
34555         * sunrpc/xdr_sizeof.c: Likewise.
34556         * sunrpc/xdr_stdio.c: Likewise.
34557
34558 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34559
34560         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34561         change.  Update copyright years.
34562
34563 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34564
34565         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34566
34567 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
34568             Joseph Myers  <joseph@codesourcery.com>
34569             Paul Pluzhnikov  <ppluzhnikov@google.com>
34570
34571         [BZ #14012]
34572         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34573         requiring rpcgen.
34574         [cross-compiling] (extra-libs): Likewise.
34575         [cross-compiling] (extra-libs-others): Likewise.
34576         [cross-compiling] (librpcsvc-routines): Likewise.
34577         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34578         [cross-compiling] (omit-deps): Likewise.
34579         (sunrpc-CPPFLAGS): New variable.
34580         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34581         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34582         (cross-rpcgen-objs): New variable.
34583         (extra-objs): Append $(cross-rpcgen-objs).
34584         ($(cross-rpcgen-objs)): New rule.
34585         ($(objpfx)cross-rpcgen): Likewise.
34586         (rpcgen-cmd): Define to use $(built-program-file).  Expand
34587         comment.
34588         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34589         ($(objpfx)x%.stmp): Likewise.
34590         * sunrpc/proto.h [IS_IN_build] (_): Define.
34591         [IS_IN_build] (_libc_intl_domainname): Likewise.
34592
34593 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34594
34595         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34596         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34597         and R_X86_64_TPOFF64.
34598
34599 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34600
34601         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34602         sysdeps/unix/sysv/syscalls.list.
34603         (stime): Likewise.
34604         (utime): Likewise.
34605         * sysdeps/unix/sysv/syscalls.list: Remove file.
34606
34607 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
34608
34609         [BZ #3440]
34610         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34611         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34612         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34613         (__LC_IDENTIFICATION): Make these macros useful in #if
34614         expressions, as required by C99.
34615
34616 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
34617
34618         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34619         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
34620         after this.
34621
34622 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
34623
34624         * stdlib/longlong.h: Updated from GCC.
34625
34626 2012-05-09  Andreas Jaeger  <aj@suse.de>
34627
34628         * nscd/nscd.c (run_modes): Make named enum, reorder so that
34629         default is first entry.
34630         (run_mode): Set type.
34631         (main): Remove informal message about syslog.
34632         (options): Fix typo.
34633
34634         [BZ #14053]
34635         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34636         to asm.
34637         (lrint): Likewise.
34638         (llrintf): Likewise.
34639         (llrint): Likewise.
34640         (rint): Likewise.
34641         (rintf): Likewise.
34642         (nearbyint): Likewise.
34643         (nearbyintf): Likewise.
34644
34645 2012-05-09  Andreas Jaeger  <aj@suse.de>
34646             Pedro Alves  <palves@redhat.com>
34647
34648         * nscd/nscd.c (run_mode): Use enum.
34649         (main): Cleanup coding style issue.
34650
34651 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
34652             Andreas Jaeger  <aj@suse.de>
34653
34654         * nscd/nscd.c (go_background): Replaced with...
34655         (run_mode): ... this.
34656         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34657         (options): Add -F --foreground.
34658         (main): Implement it.
34659         (parse_opt): Parse it.
34660
34661 2012-05-09  Andreas Jaeger  <aj@suse.de>
34662
34663         [BZ #14083]
34664         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34665         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34666         -Wconversion warning.
34667         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34668         Likewise.
34669
34670 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
34671
34672         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
34673         == 0.
34674         (LC_ALL): Use macro-int-constant.
34675         (LC_COLLATE): Likewise.
34676         (LC_CTYPE): Likewise.
34677         (LC_MESSAGES): Likewise.
34678         (LC_MONETARY): Likewise.
34679         (LC_NUMERIC): Likewise.
34680         (LC_TIME): Likewise.
34681         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34682         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34683         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34684         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34685         Specify type.
34686         [C99-based standards] (float_t): Expect type.
34687         [C99-based standards] (double_t): Expect type.
34688         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
34689         type.
34690         [C99-based standards] (HUGE_VALL): Likewise.
34691         [C99-based standards] (INFINITY): Likewise.
34692         [C99-based standards] (NAN): Likewise.
34693         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34694         [C99-based standards] (FP_NAN): Likewise.
34695         [C99-based standards] (FP_NORMAL): Likewise.
34696         [C99-based standards] (FP_SUBNORMAL): Likewise.
34697         [C99-based standards] (FP_ZERO): Likewise.
34698         [C99-based standards] (FP_FAST_FMA): Use
34699         optional-macro-int-constant.  Specify type.  Require == 1.
34700         [C99-based standards] (FP_FAST_FMAF): Likewise.
34701         [C99-based standards] (FP_FAST_FMAL): Likewise.
34702         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34703         [C99-based standards] (FP_ILOGBNAN): Likewise.
34704         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34705         Specify type.
34706         [C99-based standards] (MATH_ERREXCEPT): Likewise.
34707         [C99-based standards] (math_errhandling): Specify type.
34708         [ISO99 || ISO11] (signgam): Do not allow.
34709         [non-C99-based standards] (copysignf): Do not allow.
34710         [non-C99-based standards] (exp2f): Likewise.
34711         [non-C99-based standards] (log2f): Likewise.
34712         [non-C99-based standards] (modff): Allow.
34713         [non-C99-based standards] (erff): Do not allow.
34714         [non-C99-based standards] (erfcf): Likewise.
34715         [non-C99-based standards] (gammaf): Likewise.
34716         [non-C99-based standards] (hypotf): Likewise.
34717         [non-C99-based standards] (j0f): Likewise.
34718         [non-C99-based standards] (j1f): Likewise.
34719         [non-C99-based standards] (jnf): Likewise.
34720         [non-C99-based standards] (lgammaf): Likewise.
34721         [non-C99-based standards] (tgammaf): Likewise.
34722         [non-C99-based standards] (y0f): Likewise.
34723         [non-C99-based standards] (y1f): Likewise.
34724         [non-C99-based standards] (ynf): Likewise.
34725         [non-C99-based standards] (isnanf): Likewise.
34726         [non-C99-based standards] (acoshf): Likewise.
34727         [non-C99-based standards] (asinhf): Likewise.
34728         [non-C99-based standards] (atanhf): Likewise.
34729         [non-C99-based standards] (cbrtf): Likewise.
34730         [non-C99-based standards] (expm1f): Likewise.
34731         [non-C99-based standards] (ilogbf): Likewise.
34732         [non-C99-based standards] (log1pf): Likewise.
34733         [non-C99-based standards] (logbf): Likewise.
34734         [non-C99-based standards] (nextafterf): Likewise.
34735         [non-C99-based standards] (remainderf): Likewise.
34736         [non-C99-based standards] (rintf): Likewise.
34737         [non-C99-based standards] (scalbf): Likewise.
34738         [non-C99-based standards] (copysignl): Likewise.
34739         [non-C99-based standards] (exp2l): Likewise.
34740         [non-C99-based standards] (log2l): Likewise.
34741         [non-C99-based standards] (modfl): Allow.
34742         [non-C99-based standards] (erfl): Do not allow.
34743         [non-C99-based standards] (erfcl): Likewise.
34744         [non-C99-based standards] (gammal): Likewise.
34745         [non-C99-based standards] (hypotl): Likewise.
34746         [non-C99-based standards] (j0l): Likewise.
34747         [non-C99-based standards] (j1l): Likewise.
34748         [non-C99-based standards] (jnl): Likewise.
34749         [non-C99-based standards] (lgammal): Likewise.
34750         [non-C99-based standards] (tgammal): Likewise.
34751         [non-C99-based standards] (y0l): Likewise.
34752         [non-C99-based standards] (y1l): Likewise.
34753         [non-C99-based standards] (ynl): Likewise.
34754         [non-C99-based standards] (isnanl): Likewise.
34755         [non-C99-based standards] (acoshl): Likewise.
34756         [non-C99-based standards] (asinhl): Likewise.
34757         [non-C99-based standards] (atanhl): Likewise.
34758         [non-C99-based standards] (cbrtl): Likewise.
34759         [non-C99-based standards] (expm1l): Likewise.
34760         [non-C99-based standards] (ilogbl): Likewise.
34761         [non-C99-based standards] (log1pl): Likewise.
34762         [non-C99-based standards] (logbl): Likewise.
34763         [non-C99-based standards] (nextafterl): Likewise.
34764         [non-C99-based standards] (remainderl): Likewise.
34765         [non-C99-based standards] (rintl): Likewise.
34766         [non-C99-based standards] (scalbl): Likewise.
34767         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34768         [non-C99-based standards] (FP_*): Do not allow.
34769         [C99-based standards] (FP_*): Change to
34770         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34771         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34772         allow.
34773         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34774         (SIG_ERR): Likewise.
34775         [X/Open-based standards] (SIG_HOLD): Likewise.
34776         (SIG_IGN): Likewise.
34777         (SIGABRT): Use macro-int-constant.  Specify type.  Require
34778         positive value.
34779         (SIGFPE): Likewise.
34780         (SIGILL): Likewise.
34781         (SIGINT): Likewise.
34782         (SIGSEGV): Likewise.
34783         (SIGTER): Likewise.
34784         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34785         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34786         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34787         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34788         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34789         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34790         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34791         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34792         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34793         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34794         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34795         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34796         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34797         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34798         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34799         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34800         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34801         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34802         [X/Open-based standards] (SIGTRAP): Likewise.
34803         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34804         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34805         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34806         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34807         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34808         allow.
34809
34810 2012-05-08  Ian Wienand  <ianw@vmware.com>
34811
34812         [BZ #14080]
34813         * time/tzset.c (__tzset_parse_tz): Update default rules for
34814         daylight time changes in the Energy Policy Act of 2005.
34815
34816 2012-05-09  Andreas Jaeger  <aj@suse.de>
34817
34818         [BZ #13983]
34819         * elf/ldconfig.c (parse_conf): Change string to make clear that
34820         ldconfig only issued a warning if ld.so.conf does not exist.
34821
34822 2012-05-08  David S. Miller  <davem@davemloft.net>
34823
34824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34825         movxtod instead of popping the value on the stack.
34826
34827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34828
34829 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
34830
34831         * config.h.in: Add HAVE_ARM_PCS_VFP.
34832
34833 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
34834
34835         [BZ #13979]
34836         * include/features.h: Warn if user requests __FORTIFY_SOURCE
34837         checking but the checks are disabled for any reason.
34838
34839 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
34840
34841         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34842         and ELF64_R_TYPE with ELFW(R_TYPE).
34843
34844 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
34845
34846         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34847         (ulimit): Likewise.
34848
34849         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34850         (settimeofday): Likewise.
34851
34852 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
34853
34854         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
34855         a struct th_u2 inside the union, and move tu_block/tu_code into
34856         a new th_u3 union of tu_block/tu_code inside of that.  Move
34857         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
34858         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
34859         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34860         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34861         (th_stuff): Change to th_u1.tu_stuff.
34862         (th_data): Define.
34863         (th_msg): Change to th_u1.th_u2.tu_data.
34864
34865 2012-05-07  David S. Miller  <davem@davemloft.net>
34866
34867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34868
34869         [BZ #14074]
34870         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34871         (SETUP_PIC_REG): Use it.
34872         (SETUP_PIC_REG_LEAF): Use it.
34873
34874 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
34875
34876         [BZ #13885]
34877         [BZ #13923]
34878         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34879         USE_AS_EXPM1L.
34880         (EXPL_FINITE): Likewise.
34881         (FLDLOG): Likewise.
34882         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34883         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34884         e_expl.S.
34885         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34886         USE_AS_EXPM1L.
34887         (EXPL_FINITE): Likewise.
34888         (FLDLOG): Likewise.
34889         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34890         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34891         e_expl.S.
34892         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
34893         test of -max_value argument for long double.
34894         * sysdeps/i386/fpu/libm-test-ulps: Update.
34895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34896
34897 2012-05-06  David S. Miller  <davem@davemloft.net>
34898
34899         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34900         quad soft-float symbols whose references which are compiler
34901         generated.
34902         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34903
34904 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
34905
34906         [BZ #13884]
34907         [BZ #13914]
34908         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34909         USE_AS_EXP10L.
34910         (EXPL_FINITE): Likewise.
34911         (FLDLOG): Likewise.
34912         (c0): Likewise.
34913         (c1): Likewise.
34914         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34915         Adjust comments for base varying.
34916         (__expl_finite): Change alias to EXPL_FINITE.
34917         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34918         e_expl.S.
34919         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34920         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34921         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34922         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34923         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34924         USE_AS_EXP10L.
34925         (EXPL_FINITE): Likewise.
34926         (FLDLOG): Likewise.
34927         (c0): Likewise.
34928         (c1): Likewise.
34929         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34930         Adjust comments for base varying.
34931         (__expl_finite): Change alias to EXPL_FINITE.
34932         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
34933         tests for bugs.
34934         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34935
34936         [BZ #14064]
34937         * math/libm-test.inc (check_float_internal): Correct ulp
34938         calculation for subnormal expected results.
34939
34940 2012-05-06  Andreas Jaeger  <aj@suse.de>
34941
34942         * Makeconfig (+math-flags): New, set to -frounding-math.
34943         (+cflags): Add +math-flags so that all of glibc gets compiled with
34944         it.
34945
34946         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34947
34948 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
34949
34950         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34951         Disable one test.
34952
34953         [BZ #13787]
34954         [BZ #13922]
34955         [BZ #14036]
34956         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34957         (__ieee754_expl): Allow for and saturate large arguments.
34958         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34959         (u_threshold): Likewise.
34960         (__exp): Call __ieee754_exp before checking for overflow and
34961         underflow.
34962         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34963         (u_threshold): Likewise.
34964         (__expf): Call __ieee754_expf before checking for overflow and
34965         underflow.
34966         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34967         (u_threshold): Likewise.
34968         (__expl): Call __ieee754_expl before checking for overflow and
34969         underflow.
34970         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34971         (__ieee754_expl): Allow for and saturate large arguments.
34972         * math/libm-test.inc (exp_test): Add another test.  Do not allow
34973         missing overflow exception on overflow.
34974         (expm1_test): Do not allow missing overflow exception on overflow.
34975
34976         * sysdeps/i386/fpu/e_expl.c: Move to ...
34977         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
34978         rather than using inline asm.
34979         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34980         * sysdeps/x86_64/fpu/e_expl.S: Copy from
34981         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34982
34983         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34984         (nice): Likewise.
34985         (poll): Likewise.
34986         (signal): Likewise.
34987         (time): Likewise.
34988         (times): Likewise.
34989
34990 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34991
34992         * sysdeps/unix/syscalls.list (adjtime): Add entry from
34993         sysdeps/unix/common/syscalls.list.
34994         (fchmod): Likewise.
34995         (fchown): Likewise.
34996         (ftruncate): Likewise.
34997         (getrusage): Likewise.
34998         (gettimeofday): Likewise.
34999         (setpgid): Likewise.
35000         (setregid): Likewise.
35001         (setreuid): Likewise.
35002         (sigaction): Likewise.
35003         (truncate): Likewise.
35004         (vhangup): Likewise.
35005         * sysdeps/unix/common/syscalls.list: Remove file.
35006         * sysdeps/unix/bsd/Implies: Don't include unix/common.
35007         * sysdeps/unix/sysv/linux/Implies: Likewise.
35008
35009 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
35010
35011         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35012         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35013         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35014         Moved to ...
35015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35016         Here.
35017         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35018         to ...
35019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35020         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35021         to ...
35022         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35023         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35024         to ...
35025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35026         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35027         to ...
35028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35029         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35030         to ...
35031         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35032         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35033         to ...
35034         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35035         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35036         to ...
35037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35038         Here.
35039         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35040         to ...
35041         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35042         Here.
35043         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35044         to ...
35045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35046         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35047         Moved to ...
35048         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35049         Here.
35050         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35051         to ...
35052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35053
35054 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35055
35056         * sysdeps/unix/common/bits/dirent.h: Remove file.
35057         * sysdeps/unix/common/bits/fcntl.h: Likewise.
35058
35059         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35060         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35061         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35062         * sysdeps/unix/bsd/isatty.c: Likewise.
35063         * sysdeps/unix/bsd/tcdrain.c: Likewise.
35064         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35065         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35066
35067 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35068
35069         [BZ #13563]
35070         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35071         long double comparison inaccuracies.
35072         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35074
35075 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
35076
35077         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35078         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35079
35080 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35081
35082         [BZ #14049]
35083         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35084         nonzero digits before rounding a hex value.
35085         * stdlib/tst-strtod.c (tests): Add another test.
35086
35087 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35088
35089         * sysdeps/s390/fpu/libm-test-ulps: Update.
35090
35091 2012-05-03  Andreas Jaeger  <aj@suse.de>
35092
35093         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35094         does not get optimized out.
35095         (malloc_opt_barrier): New.
35096
35097 2012-05-03  Andreas Jaeger  <aj@suse.de>
35098             Roland McGrath  <roland@hack.frob.com>
35099
35100         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35101         intermediate file deletion.
35102         (generated): Add .symlist files.
35103
35104 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
35105
35106         [BZ #13775]
35107         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35108         Redirect under this condition.
35109         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35110         [__USE_GNU] (__dprintf_chk): Not under this condition.
35111         [__USE_GNU] (__vdprintf_chk): Likewise.
35112         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35113         under this condition.
35114         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35115         [__USE_XOPEN2K8] (dprintf): Define under this condition.
35116         [__USE_XOPEN2K8] (vdprintf): Likewise.
35117         [__USE_GNU] (__dprintf_chk): Not under this condition.
35118         [__USE_GNU] (__vdprintf_chk): Likewise.
35119         [__USE_GNU] (dprintf): Likewise.
35120         [__USE_GNU] (vdprintf): Likewise.
35121
35122 2012-05-03  Roland McGrath  <roland@hack.frob.com>
35123
35124         * elf/Makefile (common-generated): Set this instead of generated for
35125         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
35126         $(all-built-dso)-derived lists.
35127
35128 2012-05-03  Andreas Jaeger  <aj@suse.de>
35129
35130         * sysdeps/i386/fpu/libm-test-ulps: Update.
35131
35132         * FAQ: Removed.
35133         * FAQ.in: Likewise.
35134         * scripts/gen-FAQ.pl: Likewise.
35135         * manual/install.texi (Installation): Point to online location of
35136         FAQ.
35137         * Makefile (files-for-dist): Remove FAQ.
35138         (FAQ): Remove.
35139
35140 2012-05-02  Allan McRae  <allan@archlinux.org>
35141
35142         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35143         (LDFLAGS-reldepmod5.so): Likewise.
35144         (LDFLAGS-reldep6mod1.so): Likewise.
35145         (LDFLAGS-reldep6mod4.so): Likewise.
35146         (LDFLAGS-reldep8mod3.so): Likewise.
35147         (LDFLAGS-unload4mod1.so): Likewise.
35148         (LDFLAGS-unload4mod2.so): Likewise.
35149         (LDFLAGS-tst-initorder): Likewise.
35150         (LDFLAGS-tst-initordera2.so): Likewise.
35151         (LDFLAGS-tst-initordera3.so): Likewise.
35152         (LDFLAGS-tst-initordera4.so): Likewise.
35153         (LDFLAGS-tst-initorderb2.so): Likewise.
35154         (LDFLAGS-noload): Likewise.
35155         (LDFLAGS-next): Likewise.
35156         (LDFLAGS-order2mod1.so): Likewise.
35157         (LDFLAGS-order2mod2.so): Likewise.
35158         (LDFLAGS-tst-initorder2): Likewise.
35159         (LDFLAGS-tst-initorder2a.so): Likewise.
35160         (LDFLAGS-tst-initorder2b.so): Likewise.
35161         (LDFLAGS-tst-initorder2c.so): Likewise.
35162         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35163
35164 2012-05-02  David S. Miller  <davem@davemloft.net>
35165
35166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35167
35168 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35169
35170         [BZ #14055]
35171         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35172
35173 2012-05-02  Andreas Jaeger  <aj@suse.de>
35174
35175         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35176         since we manipulate rounding mode.
35177         (CPPFLAGS-test-idouble.c): Likewise.
35178         (CPPFLAGS-test-ifloat.c): Likewise.
35179         (CFLAGS-test-ldouble.c): Likewise.
35180         (CFLAGS-test-double.c): Likewise.
35181         (CFLAGS-test-float.c): Likewise.
35182         (CFLAGS-test-misc.c): Likewise.
35183         (CFLAGS-test-test-fenv.c): Likewise.
35184
35185 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35186
35187         [BZ #2550]
35188         [BZ #2570]
35189         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35190         comparisons to determine direction to adjust input.
35191
35192 2012-05-01  Roland McGrath  <roland@hack.frob.com>
35193
35194         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35195         output to the target.
35196
35197         * scripts/localplt.awk: New file.
35198         * elf/Makefile ($(objpfx)check-localplt): Target removed.
35199         (check-localplt-CFLAGS): Variable removed.
35200         ($(all-built-dso:=.jmprel)): New static pattern rule.
35201         (generated): Add those targets.
35202         (localplt-built-dso): New variable.
35203         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35204
35205         * elf/check-localplt.c: File removed.
35206
35207         * scripts/check-execstack.awk: New file.
35208         * elf/Makefile ($(objpfx)check-execstack): Target removed.
35209         (check-execstack-CFLAGS): Variable removed.
35210         ($(objpfx)check-execstack.h): Target removed.
35211         ($(objpfx)execstack-default): New target.
35212         (generated): Add that instead of check-execstack.h.
35213         ($(all-built-dso:=.phdr)): New static pattern rule.
35214         (generated): Add those targets.
35215         * elf/check-execstack.c: File removed.
35216
35217         * scripts/check-textrel.awk: New file.
35218         * elf/Makefile ($(objpfx)check-textrel): Target removed.
35219         (check-textrel-CFLAGS): Variable removed.
35220         (all-built-dso): Use := to define.o
35221         ($(all-built-dso:=.dyn)): New static pattern rule.
35222         (generated): Add those targets.
35223         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35224         * config.make.in (READELF): New substituted variable.
35225         * elf/check-textrel.c: File removed.
35226
35227 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35228
35229         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35230         allow.
35231         * conform/data/ctype.h-data [C99-based standards] (isblank):
35232         Expect function.
35233         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35234         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35235         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35236         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35237         Specify type.  Require positive value.
35238         (EILSEQ): Likewise.
35239         (ERANGE): Likewise.
35240         [ISO || POSIX] (EILSEQ): Do not expect.
35241         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35242         Specify type.  Require positive value.
35243         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35244         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35245         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35246         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35247         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35248         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35249         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35250         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35251         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35252         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35253         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35254         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35255         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35256         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35257         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35258         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35259         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35260         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35261         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35262         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35263         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35264         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35265         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35266         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35267         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35268         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35269         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35270         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35271         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35272         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35273         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35274         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35275         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35276         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35277         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35278         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35279         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35280         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35281         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35282         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35283         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35284         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35285         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35286         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35287         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35288         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35289         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35290         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35291         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35292         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35293         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35294         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35295         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35296         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35297         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35298         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35299         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35300         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35301         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35302         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35303         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35304         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35305         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35306         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35307         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35308         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35309         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35310         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35311         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35312         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35313         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35314         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35315         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35316         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35317         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35318         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35319         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35320         Require >= 2.
35321         (FLT_ROUNDS): Expect as macro, not constant.
35322         (FLT_MANT_DIG): Use macro-int-constant.
35323         (DBL_MANT_DIG): Likewise.
35324         (LDBL_MANT_DIG): Likewise.
35325         (FLT_DIG): Likewise.
35326         (DBL_DIG): Likewise.
35327         (LDBL_DIG): Likewise.
35328         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35329         (DBL_MIN_EXP): Likewise.
35330         (LDBL_MIN_EXP): Likewise.
35331         (FLT_MAX_EXP): Use macro-int-constant.
35332         (DBL_MAX_EXP): Likewise.
35333         (LDBL_MAX_EXP): Likewise.
35334         (FLT_MAX_10_EXP): Likewise.
35335         (DBL_MAX_10_EXP): Likewise.
35336         (LDBL_MAX_10_EXP): Likewise.
35337         (FLT_MAX): Use macro-constant.
35338         (DBL_MAX): Likewise.
35339         (LDBL_MAX): Likewise.
35340         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35341         (DBL_EPSILON): Likewise.
35342         (LDBL_EPSILON): Likewise.
35343         (FLT_MIN): Likewise.
35344         (DBL_MIN): Likewise.
35345         (LDBL_MIN): Likewise.
35346         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35347         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35348         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35349         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35350         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35351         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35352         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35353         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35354         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35355         [ISO11] (FLT_TRUE_MIN): Likewise.
35356         [ISO11] (LDBL_TRUE_MIN): Likewise.
35357         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35358         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35359         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35360         (SCHAR_MAX): Likewise.
35361         (UCHAR_MAX): Likewise.
35362         (CHAR_MIN): Likewise.
35363         (CHAR_MAX): Likewise.
35364         (MB_LEN_MAX): Use macro-int-constant.
35365         (SHRT_MIN): Use macro-int-constant.  Specify type.
35366         (SHRT_MAX): Likewise.
35367         (USHRT_MAX): Likewise.
35368         (INT_MAX): Likewise.
35369         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35370         bound negative.
35371         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35372         bound with "U".
35373         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35374         bound with "L".
35375         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35376         bound negative.  Suffix upper bound with "L".
35377         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35378         bound with "UL".
35379         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35380         Specify type.
35381         [C99-based standards] (LLONG_MAX): Likewise.
35382         [C99-based standards] (ULLONG_MAX): Likewise.
35383         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35384         == 0.
35385         [ISO11] (max_align_t): Require type.
35386         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35387
35388         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35389         from $CFLAGS, without defining away __attribute__ calls.
35390         (checknamespace): Use $CFLAGS_namespace.
35391
35392         * conform/conformtest.pl (@keywords): Only include C99 keywords
35393         for standards based on C99 or C11.
35394
35395         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35396         Disable tests.
35397         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35398         UNIX98]: Likewise.
35399
35400         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35401         usability of symbols in #if.
35402
35403         * conform/conformtest.pl: If macro or constant types start
35404         "promoted:", expect the symbol to be of the following type
35405         promoted by the integer promotions.
35406
35407         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35408         in one place.  Also handle "macro-constant".
35409
35410         * conform/conformtest.pl: Only accept expected macro values with
35411         "==".  Parse all "macro" lines in one place.
35412         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35413
35414         * conform/conformtest.pl: Handle braced types on "constant" lines
35415         instead of handling "typed-constant".
35416         * conform/data/signal.h-data: Use "constant" instead of
35417         "typed-constant".
35418
35419         * conform/conformtest.pl: Handle "optional-" at start of lines in
35420         one place rather than duplicating several cases.  Handle each
35421         format of "macro" line with initial "optional-".
35422
35423         * conform/conformtest.pl: Only accept expected constant or
35424         optional-constant values with "==".  Parse all "constant" lines in
35425         one place.  Parse all "optional-constant" lines in one place.
35426         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35427         * conform/data/fmtmsg.h-data: Likewise.
35428         * conform/data/netinet/in.h-data: Likewise.
35429         * conform/data/tar.h-data: Likewise.
35430         * conform/data/limits.h-data: Use "==" form on "constant" and
35431         "optional-constant" lines.
35432
35433         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35434         Use -std=c99 for XOPEN2K.
35435         (@knownproblems): Remove.
35436         (newtoken): Don't check %isknown.
35437
35438         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35439         Do not expect macro.
35440         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35441         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35442         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35443         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35444         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35445         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35446         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35447         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35448         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35449         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35450         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35451         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35452         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35453         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35454         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35455         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35456         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35457         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35458         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35459         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35460         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35461         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35462         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35463         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35464         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35465         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35466         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35467         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35468         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35469         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35470         [XPG3] (acosh): Likewise.
35471         [XPG3] (asinh): Likewise.
35472         [XPG3] (atanh): Likewise.
35473         [XPG3] (cbrt): Likewise.
35474         [XPG3] (expm1): Likewise.
35475         [XPG3] (ilogb): Likewise.
35476         [XPG3] (log1p): Likewise.
35477         [XPG3] (logb): Likewise.
35478         [XPG3] (nextafter): Likewise.
35479         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35480         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35481         [XPG3] (remainder): Likewise.
35482         [XPG3] (rint): Likewise.
35483         [XPG3 || XPG4 || UNIX98] (round): Likewise.
35484         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35485         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35486         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35487         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35488         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35489         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35490         [UNIX98 || XOPEN2K] (scalb): Expect.
35491         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35492         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35493         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35494         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35495         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35496         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35497         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35498         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35499         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35500         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35501         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35502         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35503         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35504         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35505         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35506         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35507         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35508         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35509         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35510         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35511         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35512         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35513         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35514         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35515         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35516         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35517         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35518         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35519         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35520         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35521         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35522         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35523         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35524         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35525         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35526         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35527         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35528         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35529         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35530         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35531         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35532         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35533         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35534         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35535         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35536         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35537         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35538         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35539         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35540         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35541         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35542         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35543         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35544         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35545         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35546         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35547         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35548         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35549         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35550         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35551         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35552         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35553         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35554         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35555         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35556         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35557         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35558         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35559         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35560         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35561         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35562         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35563         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35564         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35565         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35566         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35567         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35568         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35569         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35570         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35571         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35572         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35573         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35574         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35575         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35576         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35577         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35578         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35579         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35580         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35581         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35582         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35583         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35584         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35585         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35586         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35587         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35588         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35589         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35590         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35591         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35592         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35593         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35594         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35595         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35596         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35597         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35598         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35599         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35600         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35601         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35602         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35603         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35604         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35605         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35606         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35607         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35608         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35609         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35610         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35611         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35612         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35613         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35614         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35615         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35616         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35617         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35618         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35619         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35620         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35621         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35622         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35623         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35624         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35625         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35626         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35627         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35628
35629         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35630         _XOPEN_SOURCE_EXTENDED for XPG4.
35631
35632         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35633
35634         * Makeconfig (localtime): Remove variable.
35635         (inst_localtime-file): Likewise.
35636
35637 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35638
35639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35640         Update.
35641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35642         Update.
35643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35644         Update.
35645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35646         Update.
35647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35648         Update.
35649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35650         Update.
35651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35652         Update.
35653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35654         Update.
35655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35656         Update.
35657
35658 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35659
35660         [BZ #2550]
35661         [BZ #2570]
35662         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35663         comparisons to determine direction to adjust input.
35664         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35665         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35666         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35667         Likewise.
35668         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35669         Likewise.
35670         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35671         Likewise.
35672         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35673         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35674         Likewise.
35675         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35676         Likewise.
35677         * math/libm-test.inc (nexttoward_test): Add more tests.
35678
35679 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35680
35681         [BZ #14040]
35682         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35683         in version GLIBC_2.1, not GLIBC_2.0.
35684         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35685         Likewise.
35686
35687 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
35688
35689         [BZ #13942]
35690         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35691         (1 - x) * (1 + x).
35692         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35693         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35694         * math/libm-test.inc (acos_test): Add more tests.
35695         (asin_test): Likewise.
35696         * sysdeps/i386/fpu/libm-test-ulps: Update.
35697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35698
35699         [BZ #14034]
35700         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35701         of square root.
35702         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35703         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35704         * math/libm-test.inc (acos_test_tonearest): New function.
35705         (acos_test_towardzero): Likewise.
35706         (acos_test_downward): Likewise.
35707         (acos_test_upward): Likewise.
35708         (asin_test_tonearest): Likewise.
35709         (asin_test_towardzero): Likewise.
35710         (asin_test_downward): Likewise.
35711         (asin_test_upward): Likewise.
35712         (main): Call the new functions.
35713         * sysdeps/i386/fpu/libm-test-ulps: Update.
35714         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35715
35716         [BZ #13884]
35717         [BZ #13924]
35718         * math/e_exp10.c: Include <float.h>.
35719         (__ieee754_exp10): Handle underflow here rather than multiplying
35720         large negative argument by M_LN10.
35721         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35722         of __ieee754_expf.
35723         * math/e_exp10l.c: Include <float.h>.
35724         (__ieee754_exp10l): Handle underflow here rather than multiplying
35725         large negative argument by M_LN10l.
35726         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
35727         spurious overflow exception on underflow.
35728
35729 2012-04-29  Marek Polacek  <polacek@redhat.com>
35730
35731         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35732         (__fortify_function): New macro.
35733         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35734         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35735         __extern_always_inline.
35736         * libio/bits/stdio2.h: Likewise.
35737         * libio/bits/stdio.h: Likewise.
35738         * string/string.h: Likewise.
35739         * string/bits/string3.h: Likewise.
35740         * include/stdio.h: Likewise.
35741         * stdlib/bits/stdlib.h: Likewise.
35742         * stdlib/stdlib.h: Likewise.
35743         * rt/bits/mqueue2.h: Likewise.
35744         * rt/mqueue.h: Likewise.
35745         * posix/bits/unistd.h: Likewise.
35746         * posix/unistd.h: Likewise.
35747         * io/bits/poll2.h: Likewise.
35748         * io/bits/fcntl2.h: Likewise.
35749         * io/fcntl.h: Likewise.
35750         * io/sys/poll.h: Likewise.
35751         * misc/bits/syslog.h: Likewise.
35752         * misc/bits/syslog-ldbl.h: Likewise.
35753         * misc/sys/syslog.h: Likewise.
35754         * socket/bits/socket2.h: Likewise.
35755         * socket/sys/socket.h: Likewise.
35756         * debug/tst-chk1.c: Likewise.
35757         * wcsmbs/bits/wchar2.h: Likewise.
35758         * wcsmbs/bits/wchar-ldbl.h: Likewise.
35759         * wcsmbs/wchar.h: Likewise.
35760
35761 2012-04-29  Andreas Jaeger  <aj@suse.de>
35762
35763         * Makerules (tests): Remove enable-check-abi protection.
35764         (check-abi-warn): Remove.
35765         (check-abi-%): Remove check-abi-warn usage.
35766
35767         * configure.in: Remove check-abi configure option.
35768         * configure: Regenerated.
35769         * config.make.in (enable-check-abi): Remove.
35770
35771 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
35772
35773         [BZ #14033]
35774         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35775         double functions to double *_finite functions.
35776
35777         [BZ #13941]
35778         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35779         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35780         LDBL_MIN_EXP.
35781         * stdio-common/Makefile (tests): Add tst-sprintf3.
35782         * stdio-common/tst-sprintf3.c: New file.
35783
35784         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35785         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35786
35787 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35788
35789         * conform/conformtest.pl: Remove duplicate typed-constant
35790         handling.
35791
35792 2012-04-28  David S. Miller  <davem@davemloft.net>
35793
35794         * Makerules (%.abilist): Add vpath on sysdep_dirs.
35795         (check-abi-%): Remove AWK script prerequisite and explicit
35796         abilist directory.
35797         (check-abi): Rewrite to just diff the symlist with the abilist.
35798         (config-tls, config-abi-config): Delete, no longer used.
35799         (update-abi-%): Remove AWK script and explicit abilist directory.
35800         (update-abi): Rewrite to simply compare and conditionally copy the
35801         symlist and the sysdep abilist file.  Remove update-abi-config
35802         checks.
35803         * abilist/ld.abilist: Remove.
35804         * abilist/libBrokenLocale.abilist: Remove.
35805         * abilist/libanl.abilist: Remove.
35806         * abilist/libcrypt.abilist: Remove.
35807         * abilist/libdl.abilist: Remove.
35808         * abilist/librt.abilist: Remove.
35809         * abilist/libthread_db.abilist: Remove.
35810         * abilist/libutil.abilist: Remove.
35811         * scripts/extract-abilist.awk: Remove.
35812         * scripts/merge-abilist.awk: Remove.
35813         * sysdeps/generic/libcidn.abilist: New file.
35814         * sysdeps/generic/libnss_compat.abilist: New file.
35815         * sysdeps/generic/libnss_db.abilist: New file.
35816         * sysdeps/generic/libnss_dns.abilist: New file.
35817         * sysdeps/generic/libnss_files.abilist: New file.
35818         * sysdeps/generic/libnss_hesiod.abilist: New file.
35819         * sysdeps/generic/libnss_nis.abilist: New file.
35820         * sysdeps/generic/libnss_nisplus.abilist: New file.
35821         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35822         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35823         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35824         file.
35825         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35826         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35827         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35828         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35829         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35830         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35831         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35832         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35833         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35834         file.
35835         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35836         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35837         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35838         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35839         file.
35840         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35841         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35842         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35843         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35844         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35845         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35846         file.
35847         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35848         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35849         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35850         file.
35851         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35852         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35853         New file.
35854         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35855         New file.
35856         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35857         New file.
35858         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35859         New file.
35860         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35861         New file.
35862         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35863         New file.
35864         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35865         New file.
35866         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35867         New file.
35868         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35869         New file.
35870         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35871         New file.
35872         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35873         New file.
35874         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35875         New file.
35876         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35877         New file.
35878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35879         file.
35880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35881         New file.
35882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35883         New file.
35884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35885         file.
35886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35887         New file.
35888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35889         New file.
35890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35891         file.
35892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35893         New file.
35894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35895         New file.
35896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35897         New file.
35898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35899         New file.
35900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35901         New file.
35902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35903         New file.
35904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35905         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35906         file.
35907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35908         New file.
35909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35910         file.
35911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35912         file.
35913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35914         file.
35915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35916         file.
35917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35918         file.
35919         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35920         New file.
35921         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35922         file.
35923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35924         file.
35925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35926         New file.
35927         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35928         file.
35929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35931         file.
35932         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35933         New file.
35934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35935         file.
35936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35937         file.
35938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35939         file.
35940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35941         file.
35942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35943         file.
35944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35945         New file.
35946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35947         file.
35948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35949         file.
35950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35951         New file.
35952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35953         file.
35954         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35955         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35956         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35957         file.
35958         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35959         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35960         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35961         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35962         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35963         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35964         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35965         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35966         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35967         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35969         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35970         file.
35971         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35972         New file.
35973         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35974         file.
35975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35976         file.
35977         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35978         file.
35979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35980         file.
35981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35982         file.
35983         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35984         New file.
35985         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35986         New file.
35987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35988         file.
35989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35990         New file.
35991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35992         file.
35993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35994         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35995         file.
35996         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35997         New file.
35998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35999         file.
36000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36001         file.
36002         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36003         file.
36004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36005         file.
36006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36007         file.
36008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36009         New file.
36010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36011         New file.
36012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36013         file.
36014         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36015         New file.
36016         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36017         file.
36018
36019 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36020
36021         * conform/conformtest.pl: Fix typo in handling typed-constant from
36022         allow-header.
36023
36024 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36025
36026         * README: Cut down references to pre-2.6 Linux kernels and
36027         Linuxthreads.  Update lists of configurations in libc and ports
36028         and sort alphabetically.  Say "or newer" with Linux kernel version
36029         requirements.
36030
36031         * config.h.in [IS_IN_build]: Allow compiling without optimization.
36032
36033 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36034
36035         [BZ #887]
36036         * math/libm-test.inc (logb_test_downward): New test to expose
36037         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36038         rounding mode.
36039
36040 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36041
36042         [BZ #14027]
36043         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36044         to be done.
36045         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36046         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36047
36048 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
36049
36050         * sysdeps/unix/i386/brk.S: Remove file.
36051         * sysdeps/unix/i386/dl-brk.S: Likewise.
36052         * sysdeps/unix/i386/pipe.S: Likewise.
36053         * sysdeps/unix/i386/sigreturn.S: Likewise.
36054         * sysdeps/unix/i386/syscall.S: Likewise.
36055         * sysdeps/unix/i386/vfork.S: Likewise.
36056         * sysdeps/unix/i386/wait.S: Likewise.
36057
36058         * sysdeps/unix/common/tcsendbrk.c: Move to ...
36059         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36060
36061         * configure.in (arm*-none*): Do not allow without
36062         --enable-hacker-mode.
36063         (netbsd*): Remove case setting base_os.
36064         (386bsd*): Likewise.
36065         (freebsd*): Likewise.
36066         (bsdi*): Likewise.
36067         (osf*): Likewise.
36068         (sunos*): Likewise.
36069         (ultrix*): Likewise.
36070         (newsos*): Likewise.
36071         (dynix*): Likewise.
36072         (*bsd*): Likewise.
36073         (sysv*): Likewise.
36074         (isc*): Likewise.
36075         (esix*): Likewise.
36076         (sco*): Likewise.
36077         (minix*): Likewise.
36078         (irix4*): Likewise.
36079         (irix6*): Likewise.
36080         (solaris[2-9]*): Likewise.
36081         (none): Likewise.
36082         * configure: Regenerated.
36083
36084 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36085
36086         [BZ #11521]
36087         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36088         overflow or cancellation in calculating denominator.
36089         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36090         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36091         down expression to avoid unexpected rounding in newer GCCs.
36092         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36093
36094 2012-04-26  David S. Miller  <davem@davemloft.net>
36095
36096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36097         long-double compat symbols.
36098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36111
36112 2012-04-25  David S. Miller  <davem@davemloft.net>
36113
36114         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36115         HWCAP_* values only after the memory barriers have been defined.
36116         (atomic_full_barrier): Define.
36117         (atomic_read_barrier): Define.
36118         (atomic_write_barrier): Define.
36119
36120 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36121
36122         * shlib-versions: Add libgcc_s version information.
36123         * sysdeps/generic/libgcc_s.h: Remove.
36124         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36125         libgcc_s.h.
36126         * sysdeps/gnu/unwind-resume.c: Likewise.
36127         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36128
36129 2012-04-25  David S. Miller  <davem@davemloft.net>
36130
36131         * sysdeps/unix/sparc/brk.S: Delete.
36132         * sysdeps/unix/sparc/dl-brk.S: Delete.
36133         * sysdeps/unix/sparc/pipe.S: Delete.
36134         * sysdeps/unix/sparc/sysdep.S: Delete.
36135         * sysdeps/unix/sparc/sysdep.h: Delete.
36136         * sysdeps/unix/sparc/vfork.S: Delete.
36137         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36138         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36139         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36140         (ret_ERRVAL, r0, r1, MOVE): Define.
36141         (JUMPTARGET): Remove.
36142         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36143         sysdeps/unix/sparc/sysdep.h
36144         (ENTRY, END): Remove.
36145         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36146
36147 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
36148
36149         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36150         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36151         -DIS_IN_build.
36152
36153         * timezone/README: Update upstream location and email address for
36154         tzcode and tzdata.
36155         * timezone/zdump.c: Update from tzcode 2012b.
36156         * timezone/zic.c: Likewise.
36157
36158         * configure.in (libc_cv_as_needed): Remove test.
36159         * configure: Regenerated.
36160         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36161         conditional definition.
36162         [$(have-as-needed) != yes] (no-as-needed): Likewise.
36163         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36164         * config.make.in (have-as-needed): Remove variable.
36165
36166 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36167             Paul Pluzhnikov  <ppluzhnikov@google.com>
36168
36169         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36170         strings correctly.
36171
36172 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
36173
36174         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36175         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36176         * sysdeps/sh/strlen.S: Likewise.
36177
36178 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36179
36180         * sysdeps/unix/fork.S: Remove file.
36181         * sysdeps/unix/i386/fork.S: Likewise.
36182         * sysdeps/unix/sparc/fork.S: Likewise.
36183
36184         * sysdeps/unix/system.c: Remove file.
36185         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36186
36187         * sysdeps/unix/getegid.S: Remove file.
36188         * sysdeps/unix/geteuid.S: Likewise.
36189
36190 2012-04-24  Roland McGrath  <roland@hack.frob.com>
36191
36192         * scripts/check-localplt.awk: New file.
36193         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36194         of diff.
36195         * scripts/data/localplt-generic.data: Add a comment.
36196
36197         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36198         NODE when __dir_mkfile failed.
36199         * sysdeps/mach/hurd/symlinkat.c: Likewise.
36200         Reported by Ludovic Courtès <ludo@gnu.org>.
36201
36202 2012-04-24  Andreas Jaeger  <aj@suse.de>
36203
36204         * Makerules (common-clean): Also remove gen-as-const-headers
36205         files.
36206
36207 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36208
36209         * Makerules (native-compile): Do not change working directory for
36210         build.  Use $(OUTPUT_OPTION) in command.
36211         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36212
36213 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36214
36215         [BZ #13886]
36216         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36217         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36218         * math/libm-test.inc (floor_test): Add more tests.
36219         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36220
36221 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36222
36223         * sysdeps/unix/getdents.c: Remove file.
36224         * sysdeps/unix/sysv/getdents.c: Likewise.
36225         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36226
36227         * sysdeps/unix/syscalls.list (madvise): Add syscall from
36228         sysdeps/unix/mman/syscalls.list.
36229         (mmap): Likewise.
36230         (mprotect): Likewise.
36231         (msync): Likewise.
36232         (munmap): Likewise.
36233         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36234         * sysdeps/unix/mman/syscalls.list: Remove.
36235         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36236
36237         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36238         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36239         * configure: Regenerated.
36240         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36241         $(libgcc_s_suffix).
36242         * config.make.in (libgcc_s_suffix): Remove variable.
36243
36244 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
36245
36246         * sysdeps/unix/sysv/gethostname.c: Move to ...
36247         * sysdeps/posix/gethostname.c: ... here.
36248
36249         * sysdeps/unix/execve.S: Remove file.
36250
36251         * sysdeps/unix/_exit.S: Remove file.
36252
36253 2012-04-23  Andreas Jaeger  <aj@suse.de>
36254
36255         [BZ #13739]
36256         * manual/Makefile: Remove make dist support, there's no
36257         need for a stand-alone documentation tar ball.
36258         (TEXI2DVI): Define always, it's not in Makeconfig.
36259         (dist): Removed.
36260         (tar-it): Removed.
36261         (edition): Removed.
36262         (glibc-doc-$(edition).tar): Removed
36263         (%.Z): Removed.
36264         (%.gz): Removed.
36265         (%.uu): Removed.
36266         (ETAGS): Remove, it's in Makeconfig.
36267         (move-if-change): Remove, it's in Makeconfig.
36268
36269 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
36270
36271         [BZ #13970]
36272         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36273         (strtod, strtof, strtold, strtol, strtoul, strtoq)
36274         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36275         (strtod_l, strtof_l, strtold_l): Remove __wur.
36276         It is not necessarily an error to ignore strtol's return value.
36277         One can reliably look at the stored endptr to decide whether
36278         the number had valid syntax.
36279
36280 2012-04-21  Andreas Jaeger  <aj@suse.de>
36281
36282         [BZ #13739]
36283         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36284
36285 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36286
36287         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36288         * sysdeps/unix/sysv/Versions: Remove file.
36289
36290 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36291
36292         [BZ #13927]
36293         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36294
36295 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36296
36297         [BZ #7064]
36298         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36299         version from __vm86.
36300
36301 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36302
36303         * sysdeps/unix/common/lxstat.c: Remove file.
36304         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36305
36306         * sysdeps/unix/sysv/Makefile: Remove file.
36307
36308         * sysdeps/unix/sysv/direct.h: Remove file.
36309
36310         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36311         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36312         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36313         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36314         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36315         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36316         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36317
36318         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36319
36320         * sysdeps/unix/xmknod.c: Remove file.
36321         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36322
36323         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36324
36325         * sysdeps/unix/sysv/i386/time.S: Remove file.
36326
36327         * sysdeps/unix/fxstat.c: Remove file.
36328         * sysdeps/unix/xstat.c: Likewise.
36329         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36330
36331         * sysdeps/unix/sysv/sigaction.c: Remove file.
36332
36333         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36334         (sysdep_headers): Remove variable.
36335         [termio.h not in sysdep_headers] (generated): Likewise.
36336         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36337         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36338         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36339         * sysdeps/unix/sysv/tcflow.c: Likewise.
36340         * sysdeps/unix/sysv/tcflush.c: Likewise.
36341         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36342         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36343         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36344         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36345         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36346
36347         * sysdeps/unix/siglist.c: Remove file.
36348
36349         * sysdeps/unix/getppid.S: Remove file.
36350
36351         * sysdeps/unix/mkdir.c: Remove file.
36352         * sysdeps/unix/rmdir.c: Likewise.
36353
36354 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36355
36356         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36357         ERR_MAX value.
36358         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36359         errlist-compat value.
36360
36361 2012-04-18  David S. Miller  <davem@davemloft.net>
36362
36363         * sysdeps/generic/memcopy.h (reg_char): Delete.
36364         * debug/strcat_chk.c: Use char, not reg_char.
36365         * debug/strcpy_chk.c: Likewise.
36366         * debug/strncat_chk.c: Likewise.
36367         * debug/strncpy_chk.c: Likewise.
36368         * string/memchr.c: Likewise.
36369         * string/memrchr.c: Likewise.
36370         * string/rawmemchr.c: Likewise.
36371         * string/strcat.c: Likewise.
36372         * string/strchr.c: Likewise.
36373         * string/strchrnul.c: Likewise.
36374         * string/strcmp.c: Likewise.
36375         * string/strcpy.c: Likewise.
36376         * string/strncat.c: Likewise.
36377         * string/strncmp.c: Likewise.
36378         * string/strncpy.c: Likewise.
36379
36380 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36381
36382         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36383         __builtin_memcopy is called when src and dest ranges are known to not
36384         overlap.
36385
36386 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36387
36388         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36389         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36390         fwd_align_merge macro call.
36391         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36392         bwd_align_merge macro call.
36393         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36394
36395 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36396
36397         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36398         bwd_align_merge macros.
36399         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36400         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36401         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36402
36403 2012-04-18  David S. Miller  <davem@davemloft.net>
36404
36405         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36406
36407 2012-04-18  Andreas Jaeger  <aj@suse.de>
36408
36409         [BZ# 6794]
36410         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36411         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36412         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36413
36414         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36415         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36416         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36417
36418         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36419         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36420         Adjust for changed ldbl-128 files.
36421
36422         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36423         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36424         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36425
36426 2012-04-17  David S. Miller  <davem@davemloft.net>
36427
36428         * sysdeps/sparc/sparc32/memcopy.h: Delete.
36429
36430 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
36431
36432         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36433         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36434         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36435         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36436         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36437         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36438
36439 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36440
36441         [BZ #6794]
36442         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36443         * math/libm-test.inc: Add ilogb errno and exception tests.
36444         * math/w_ilogb.c: New file: ilogb wrapper.
36445         * math/w_ilogbf.c: New file: ilogbf wrapper.
36446         * math/w_ilogbl.c: New file: ilogbl wrapper.
36447         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36448         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36449         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36450         exception being thrown with 0.0 as argument.
36451         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36452         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36453         exception being thrown with 0.0 as argument.
36454         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36455         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36456         exception being thrown with 0.0 as argument.
36457         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36458         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36459         exception being thrown with 0.0 as argument.
36460         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36461         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36462         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36463         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36464         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36465         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36466         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36467         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36468         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36469
36470 2012-04-17  Petr Baudis  <pasky@ucw.cz>
36471
36472         * include/sys/uio.h: Change __vector to __iovec to avoid clash
36473         with altivec.
36474
36475 2012-04-16  Marek Polacek  <polacek@redhat.com>
36476
36477         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36478
36479 2012-04-16  Marek Polacek  <polacek@redhat.com>
36480
36481         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36482         operands of fdivp instruction.
36483
36484 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36485
36486         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36487         * elf/tst-auditmod3b.c: Likewise.
36488         * elf/tst-auditmod4b.c: Likewise.
36489         * elf/tst-auditmod5b.c: Likewise.
36490         * elf/tst-auditmod6b.c: Likewise.
36491         * elf/tst-auditmod6c.c: Likewise.
36492         * elf/tst-auditmod7b.c: Likewise.
36493         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36494         * sysdeps/x86_64/preconfigure.in: Likewise.
36495         * sysdeps/x86_64/preconfigure: Regenerated.
36496
36497 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36498
36499         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36500         __ILP32__.
36501
36502 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
36503
36504         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36505         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36506
36507 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
36508
36509         [BZ #13973]
36510         * locale/iso-639.def: Fix gl language name. Spotted by
36511         Yaron Shahrabani.
36512
36513 2012-04-12  Roland McGrath  <roland@hack.frob.com>
36514
36515         [BZ #2074]
36516         * libio/libio.h (__io_write_fn): Update comment.
36517
36518 2012-04-12  Petr Baudis  <pasky@ucw.cz>
36519
36520         [BZ #2074]
36521         * stdio.texi (Hook Functions): The user provided writer function
36522         is not allowed to return -1.
36523
36524 2012-04-11  David S. Miller  <davem@davemloft.net>
36525
36526         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36527
36528 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
36529
36530         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36531         Add a leading slash to rtkaio.
36532
36533 2012-04-11  Jim Meyering  <meyering@redhat.com>
36534
36535         [BZ #11959]
36536         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36537         It is not necessarily an error to ignore fwrite's return
36538         value.  One can reliably use ferror to test for errors after
36539         the fact.
36540
36541 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36542
36543         * bits/types.h (__snseconds_t): New type.
36544         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36545
36546         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36547         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36548         (__SNSECONDS_T_TYPE): Likewise.
36549         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36550         (__SNSECONDS_T_TYPE): Likewise.
36551         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36552         (__SNSECONDS_T_TYPE): Likewise.
36553
36554 2012-04-10  Andreas Jaeger  <aj@suse.de>
36555
36556         [BZ #2636]
36557         * manual/time.texi (Processor Time): Return type of times is
36558         elapsed real time since an arbitrary point in the past.
36559         (CPU Time): Move CLK_TCK from here...
36560         (Processor Time): ...to here.  Correct description.
36561         * manual/conf.texi (Constants for Sysconf): Correct description of
36562         _SC_CLK_TCK.
36563
36564 2012-04-10  David S. Miller  <davem@davemloft.net>
36565
36566         [BZ #13967]
36567         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36568         where the is a gap between DT_REL(A) and DT_JMPREL.
36569
36570 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36571
36572         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36573         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36574         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36575
36576 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36577
36578         * elf/dl-support.c (_dl_inhibit_cache): New variable.
36579         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36580         (dl_main): Handle --inhibit-cache.
36581         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36582         _dl_inhibit_cache.
36583         * elf/dl-load.c (_dl_map_object): Use it.
36584         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36585
36586 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36587
36588         [BZ #13872]
36589         * sysdeps/i386/fpu/e_powl.S (p78): New object.
36590         (__ieee754_powl): Saturate large exponents rather than testing for
36591         overflow of y*log2(x).
36592         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36593         * math/libm-test.inc (pow_test): Do not permit spurious overflow
36594         exceptions.
36595
36596         [BZ #11521]
36597         * math/s_ctan.c: Include <float.h>.
36598         (__ctan): Avoid internal overflow or cancellation in calculating
36599         denominator.
36600         * math/s_ctanf.c: Likewise.
36601         * math/s_ctanl.c: Likewise.
36602         * math/s_ctanh.c: Likewise.
36603         * math/s_ctanhf.c: Likewise.
36604         * math/s_ctanhl.c: Likewise.
36605         * math/libm-test.inc (ctan_test): Add more tests.
36606         (ctanh_test): Likewise.
36607         * sysdeps/i386/fpu/libm-test-ulps: Update.
36608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36609
36610 2012-04-09  Andreas Jaeger  <aj@suse.de>
36611
36612         [BZ #6894]
36613         * manual/filesys.texi (Directory Entries): Mention that d_namlen
36614         is an optional BSD extension.
36615
36616         [BZ #10254]
36617         * manual/stdio.texi (Opening Streams): Document additional fopen
36618         parameters.
36619
36620 2012-04-09  Roland McGrath  <roland@hack.frob.com>
36621
36622         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36623         %eax without telling the compiler.
36624
36625 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
36626
36627         [BZ # 13963]
36628         * manual/install.texi: Use sourceware.org.
36629
36630 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36631
36632         [BZ #13873]
36633         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36634         (__ieee754_pow): Generate overflow and underflow using huge*huge
36635         and tiny*tiny rather than just returning constant infinity or zero
36636         for large exponents.
36637         * math/libm-test.inc (pow_test): Require overflow exceptions for
36638         applicable cases of large exponents.
36639
36640         [BZ #706]
36641         * sysdeps/i386/fpu/e_pow.S (p10): New object.
36642         (__ieee754_pow): Use iterative multiplication algorithm only for
36643         integer exponents with absolute value below 1024.  Check for odd
36644         integer exponents when using algorithm for real exponents.
36645         * math/libm-test.inc (pow_test): Add more tests.
36646         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36647
36648 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
36649
36650         [BZ #13705]
36651         * math/libm-test.inc (exp_test): Do not allow overflow exception
36652         on underflow test.
36653
36654 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
36655
36656         [BZ #13705]
36657         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36658         instead of __kernel_standard_f.
36659
36660 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
36661
36662         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36663         * sysdeps/x86_64/memset_chk.S: Likewise.
36664
36665 2012-04-08  Andreas Jaeger  <aj@suse.de>
36666
36667         [BZ #10153]
36668         * manual/startup.texi (Environment Access): Describe return value
36669         for putenv and setenv.
36670
36671         [BZ #6895]
36672         * manual/filesys.texi (Directory Entries): Add description for
36673         DT_LNK.
36674
36675         [BZ #6890]
36676         * manual/filesys.texi (Directory Entries): Clarify that it's file
36677         system not operating system in the description of DT_UNKNOWN.
36678
36679         [BZ #6578]
36680         * manual/syslog.texi (closelog): Fix reference, it's openlog.
36681
36682 2012-04-08  Stephen Compall  <s11@member.fsf.org>
36683
36684         [BZ #6649]
36685         * manual/llio.texi (Opening and Closing Files): Add cross
36686         reference to explain mode argument.
36687
36688 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
36689
36690         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36691         * sysdeps/x86_64/memset_chk.S: Likewise.
36692
36693 2012-04-07  David S. Miller  <davem@davemloft.net>
36694
36695         * elf/elf.h (R_SPARC_WDISP10): Define.
36696         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36697         R_SPARC_SIZE32.
36698         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36699         R_SPARC_SIZE64 and R_SPARC_H34.
36700
36701 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
36702
36703         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36704         conditions and remove no longer applicable assertion.
36705
36706 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36707
36708         * bits/byteswap.h: Include <features.h>.
36709         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36710         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36711
36712 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36713
36714         * bits/byteswap.h (__bswap_16): Removed.
36715         Include <bits/byteswap-16.h> to get __bswap_16.
36716         * sysdeps/i386/bits/byteswap.h: Likewise.
36717         * sysdeps/s390/bits/byteswap.h: Likewise.
36718         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36719         * bits/byteswap-16.h: New file.
36720         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36721         * sysdeps/s390/bits/byteswap-16.h: Likewise.
36722         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36723         * string/Makefile (headers): Add bits/byteswap-16.h.
36724
36725 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36726
36727         [BZ #13895]
36728         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36729         extra indirection.
36730         * nss/Makefile (tests-static, tests): Add tst-nss-static.
36731         * nss/tst-nss-static.c: New.
36732
36733 2012-04-06  Robert Millan  <rmh@gnu.org>
36734
36735         [BZ #6486]
36736         * manual/llio.texi (File Position Primitive): lseek
36737         refers to WHENCE when it really means OFFSET.
36738
36739 2012-04-06  Andreas Jaeger  <aj@suse.de>
36740
36741         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36742         strncmp declarations.
36743
36744         * abilist/libc.abilist: Add __poll and __ppoll.
36745
36746 2012-04-05  David S. Miller  <davem@davemloft.net>
36747
36748         * scripts/check-local-headers.sh: Accept a host triplet in the
36749         path matched by the exclude regexp.
36750
36751         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36752         definition.
36753         * sysdeps/powerpc/powerpc32/dl-machine.h
36754         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36755         * sysdeps/s390/s390-32/dl-machine.h
36756         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36757         * sysdeps/sparc/sparc32/dl-machine.h
36758         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36759         * sysdeps/sparc/sparc64/dl-machine.h
36760         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36761
36762         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36763         lazy binding.
36764         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36765         undefined symbol errors.
36766
36767         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36768         DT_NEEDED entries.
36769
36770 2012-04-05  Michael Matz  <matz@suse.de>
36771
36772         [BZ #13592]
36773         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36774
36775 2012-04-05  Andreas Jaeger  <aj@suse.de>
36776
36777         [BZ #13908]
36778         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36779         comment.
36780
36781 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36782
36783         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36784         which ROUND is no valid rounding mode.
36785
36786 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36787
36788         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36789         read again.
36790         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36791
36792 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36793
36794         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36795         an exception using FPU order intentionally.
36796
36797 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36798
36799         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36800         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36801         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36802         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36803
36804 2012-04-05  Simon Josefsson  <simon@josefsson.org>
36805
36806         [BZ #12340]
36807         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36808         EINVAL when BUFLEN is too smal.
36809
36810 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36811
36812         [BZ #13553]
36813         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36814         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36815
36816 2012-04-03  Andreas Jaeger  <aj@suse.de>
36817
36818         [BZ #13938]
36819         * manual/setjmp.texi (System V contexts): Fix sentence.
36820
36821         [BZ #13926]
36822         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36823         New macro for this case.
36824         [!__GNUC__] (__bswap_64): New inline function for this case.
36825         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36826         * bits/byteswap.h: Likewise.
36827         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36828         ull, guard with __GLIBC_HAVE_LONG_LONG.
36829
36830         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36831         __GLIBC_HAVE_LONG_LONG.
36832
36833         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36834         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36835
36836 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36837
36838         [BZ #13691]
36839         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36840         inptr and inend, rather than using last_ch.
36841
36842 2012-04-02  David S. Miller  <davem@davemloft.net>
36843
36844         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36845         * stdio-common/printf-parse.h (read_int): Change return type to
36846         'int', return -1 on INT_MAX overflow.
36847         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36848         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
36849         overflows INT_MAX.  Check for overflow of in-format-string precision
36850         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
36851         SIZE_MAX not INT_MAX for integer overflow test.
36852         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36853         skip the construct in the format string but do not record anything.
36854         * stdio-common/bug22.c: Adjust to test both width/prevision
36855         INT_MAX overflow as well as total length INT_MAX overflow.  Check
36856         explicitly for proper errno values.
36857
36858 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36859
36860         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36861         CHAR_MAX.
36862         * string/test-strcmp.c [! WIDE]: Likewise.
36863         * time/tst-mktime2.c: Likewise for INT_MAX.
36864         * string/test-string.h: #include <sys/param.h> for MIN.
36865
36866         * csu/init-first.c (__libc_init_first): Call __ctype_init.
36867         * sysdeps/i386/init-first.c (init): Likewise.
36868         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36869         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36870         * sysdeps/sh/init-first.c (init): Likewise.
36871
36872 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
36873
36874         * po/ru.po: Update from translation team.
36875         * po/vi.po: Likewise.
36876
36877 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36878
36879         * resolv/nss_dns/dns-host.c: Merge copyright years.
36880
36881 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36882
36883         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36884         Optimize memcpy with prefetch if
36885         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
36886         src, dst pointers have unequal 16 byte alignments.
36887
36888 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36889
36890         [BZ #13928]
36891         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36892         from a CNAME entry and return the minimum ttl for the query.
36893         (gaih_getanswer_slice): Likewise.
36894
36895 2012-03-30  Jeff Law  <law@redhat.com>
36896
36897         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36898         due to long keys.
36899         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36900         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36901
36902         * resolv/nss_dns/dns-host.c: Update copyright year.
36903
36904 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
36905
36906         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36907         requests to save a system call.  Fix check that all bytes are sent.
36908
36909         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36910         comments for sendmmsg.
36911
36912 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36913
36914         [BZ #13691]
36915         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36916         with only 1 character between 0x0041 and 0x01b0.
36917         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36918         * wcsmbs/tst-mbsnrtowcs.c: New file.
36919
36920 2012-03-29  David S. Miller  <davem@davemloft.net>
36921
36922         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36923         small copies by hand.
36924
36925 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36926
36927         [BZ #13761]
36928         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36929         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36930         group memberships.
36931
36932 2012-03-28  David S. Miller  <davem@davemloft.net>
36933
36934         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36935         that branches into memcpy.
36936         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36937         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36938         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36939         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36940         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36941         bits.
36942         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36943         implementation too.
36944         * sysdeps/sparc/mempcpy.S: New file.
36945
36946         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36947         the IFUNC routine in the libc case.
36948         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36949
36950         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36951         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36952         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36953         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36954         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36955         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36956         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36957         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36958
36959         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36960         loop to 256 bytes instead of 64 bytes and fix test signedness.
36961
36962         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36963         * sysdeps/sparc/sparc32/Makefile: rather than here...
36964         * sysdeps/sparc/sparc64/Makefile: and here.
36965
36966 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
36967
36968         * malloc/mallocbug.c: Avoid warnings about unused variables.
36969
36970 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36971
36972         [BZ #13760]
36973         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36974         in the right place. Discard and retry query if response is
36975         larger than input buffer size.
36976
36977 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
36978
36979         [BZ #369]
36980         [BZ #2678]
36981         [BZ #3866]
36982         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36983         x for large integer exponent.
36984         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36985         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
36986         sign of result as needed afterwards.
36987         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36988         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36989         result for underflowing pow the same as for overflow.
36990         (__kernel_standard_l): Handle powl overflow and underflow here
36991         rather than calling __kernel_standard.
36992         * math/libm-test.inc (pow_test): Add more tests.
36993
36994         [BZ #3868]
36995         [BZ #13879]
36996         [BZ #13910]
36997         [BZ #13911]
36998         [BZ #13912]
36999         [BZ #13913]
37000         [BZ #13915]
37001         [BZ #13916]
37002         [BZ #13917]
37003         [BZ #13918]
37004         [BZ #13919]
37005         [BZ #13920]
37006         [BZ #13921]
37007         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37008         * sysdeps/ieee754/k_standard.c: Include <float.h>.
37009         (__kernel_standard_l): New function.
37010         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37011         __kernel_standard.
37012         * math/w_acosl.c (__acosl): Likewise.
37013         * math/w_asinl.c (__asinl): Likewise.
37014         * math/w_atan2l.c (__atan2l): Likewise.
37015         * math/w_atanhl.c (__atanhl): Likewise.
37016         * math/w_coshl.c (__coshl): Likewise.
37017         * math/w_exp10l.c (__exp10l): Likewise.
37018         * math/w_exp2l.c (__exp2l): Likewise.
37019         * math/w_fmodl.c (__fmodl): Likewise.
37020         * math/w_hypotl.c (__hypotl): Likewise.
37021         * math/w_j0l.c (__j0l, __y0l): Likewise.
37022         * math/w_j1l.c (__j1l, __y1l): Likewise.
37023         * math/w_jnl.c (__jnl, __ynl): Likewise.
37024         * math/w_lgammal.c (__lgammal): Likewise.
37025         * math/w_log10l.c (__log10l): Likewise.
37026         * math/w_log2l.c (__log2l): Likewise.
37027         * math/w_logl.c (__logl): Likewise.
37028         * math/w_powl.c (__powl): Likewise.
37029         * math/w_remainderl.c (__remainderl): Likewise.
37030         * math/w_scalbl.c (sysv_scalbl): Likewise.
37031         * math/w_sinhl.c (__sinhl): Likewise.
37032         * math/w_sqrtl.c (__sqrtl): Likewise.
37033         * math/w_tgammal.c (__tgammal): Likewise.
37034         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37035         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37036         * math/libm-test.inc (acos_test): Add more tests.
37037         (acosh_test): Likewise.
37038         (asin_test): Likewise.
37039         (atanh_test): Likewise.
37040         (exp_test): Likewise.
37041         (exp10_test): Likewise.
37042         (exp2_test): Likewise.
37043         (expm1_test): Likewise.
37044         (lgamma_test): Likewise.
37045         (log_test): Likewise.
37046         (log10_test): Likewise.
37047         (log1p_test): Likewise.
37048         (log2_test): Likewise.
37049         (pow_test): Do not allow some spurious overflow exceptions.
37050         (sqrt_test): Add more tests.
37051         (tgamma_test): Likewise.
37052         (y0_test): Likewise.
37053         (y1_test): Likewise.
37054         (yn_test): Likewise.
37055
37056 2012-03-27  Anton Blanchard  <anton@samba.org>
37057
37058         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37059         MAP_HUGETLB.
37060         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37061         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37062         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37063
37064 2012-03-27  David S. Miller  <davem@davemloft.net>
37065
37066         * conform/Makefile: Run run-conformtest.sh using $(BASH).
37067
37068         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37069         have-as-vis3 check.
37070
37071 2012-03-27  Andreas Jaeger  <aj@suse.de>
37072
37073         * sysdeps/x86_64/elf/configure.in: Moved to ...
37074         * sysdeps/x86_64/configure.in: ... here.
37075         * sysdeps/x86_64/elf/start.S: Moved to ...
37076         * sysdeps/x86_64/start.S: ... here.
37077         * sysdeps/x86_64/elf/configure: Delete.
37078
37079         * sysdeps/x86_64/configure.in: Merge contents from
37080         sysdeps/i386/configure.in (without i686 check).
37081
37082         * sysdeps/i386/elf/Versions: Merge into ...
37083         * sysdeps/i386/Versions: ... this.
37084         * sysdeps/i386/elf/Versions: Delete file.
37085         * sysdeps/i386/elf/start.S: Moved to ...
37086         * sysdeps/i386/start.S: ...here.
37087         * sysdeps/i386/elf/configure.in: Merge into...
37088         * sysdeps/i386/configure.in: ...here.
37089         * sysdeps/i386/elf/configure.in: Delete file.
37090         * sysdeps/i386/elf/configure: Delete file.
37091
37092         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37093         * debug/backtracesyms.c: ... here.
37094         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37095         * debug/backtracesymsfd.c: ... here.
37096         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37097         * sysdeps/generic/ifunc-sel.h: ... here.
37098
37099         * sysdeps/unix/i386/start.c: Delete file.
37100         * sysdeps/unix/sparc/start.c: Delete file.
37101         * sysdeps/unix/start.c: Delete file.
37102
37103         * sysdeps/sh/elf/configure.in: Moved to ...
37104         * sysdeps/sh/configure.in: ... here.
37105         * sysdeps/sh/elf/start.S: Moved to ...
37106         * sysdeps/sh/start.S: ... here.
37107         * sysdeps/sh/elf/configure: Delete file.
37108
37109         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37110         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37111         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37112         * sysdeps/powerpc/powerpc64/entry.h: ... here.
37113         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37114         * sysdeps/powerpc/powerpc64/start.S: here.
37115         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37116         * sysdeps/powerpc/powerpc64/Makefile: ... this.
37117         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37118         * sysdeps/powerpc/powerpc64/configure.in: ... this.
37119         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37120
37121         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37122         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37123         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37124         * sysdeps/powerpc/powerpc32/start.S: ... here.
37125         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37126         * sysdeps/powerpc/powerpc32/configure.in: ... this.
37127         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37128
37129         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37130         * sysdeps/powerpc/ifunc-sel.h: ... here.
37131         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37132         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37133
37134         * sysdeps/sparc/elf/configure.in: Moved to ...
37135         * sysdeps/sparc/configure.in: ... here.
37136         * sysdeps/sparc/elf/configure: Delete file.
37137         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37138         * sysdeps/sparc/sparc32/start.S: ... here.
37139         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37140         * sysdeps/sparc/sparc64/start.S: ... here.
37141         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37142         * sysdeps/sparc/sparc32/Makefile: ... this.
37143         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37144         * sysdeps/sparc/sparc64/Makefile: ... this.
37145
37146         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37147         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37148         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37149         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37150         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37151         * sysdeps/s390/s390-32/setjmp.S: ... here.
37152         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37153         * sysdeps/s390/s390-32/configure.in: ... here.
37154         * sysdeps/s390/s390-32/elf/configure: Delete file.
37155         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37156         * sysdeps/s390/s390-32/start.S: ... here.
37157
37158         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37159         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37160         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37161         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37162         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37163         * sysdeps/s390/s390-64/setjmp.S: ... here.
37164         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37165         * sysdeps/s390/s390-64/configure.in: ... here
37166         * sysdeps/s390/s390-64/elf/configure: Delete file.
37167         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37168         * sysdeps/s390/s390-64/start.S: ... here.
37169         * sysdeps/s390/s390-64/elf/configure: Delete.
37170
37171         * configure.in: Remove support for elf directories in sysdeps.
37172
37173         * configure: Regenerated.
37174         * sysdeps/i386/configure: Regenerated.
37175         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37176         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37177         * sysdeps/s390/s390-32/configure: Regenerated.
37178         * sysdeps/s390/s390-64/configure: Regenerated.
37179         * sysdeps/sh/configure: Regenerated.
37180         * sysdeps/sparc/configure: Regenerated.
37181         * sysdeps/x86_64/configure: Regenerated.
37182
37183 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
37184
37185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37186
37187         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37188         denormal result into account.
37189
37190 2012-03-25  Roland McGrath  <roland@hack.frob.com>
37191
37192         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37193         Reported by Allan McRae <allan@archlinux.org>.
37194
37195 2012-03-23  Jeff Law  <law@redhat.com>
37196
37197         * nss/getnssent.c (__nss_getent): Fix typo.
37198
37199 2012-03-23  David S. Miller  <davem@davemloft.net>
37200
37201         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37202
37203 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
37204
37205         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37206         to pad to uint64_t for each field.
37207         (dl_tls_index): Replace unsigned long with uint64_t.
37208
37209 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
37210         Paul Pluzhnikov  <ppluzhnikov@google.com>
37211
37212         [BZ #6528]
37213         * grp/Makefile (otherlibs): Don't set it.
37214         * inet/Makefile (otherlibs): Likewise.
37215         * login/Makefile (otherlibs): Likewise.
37216         * nscd/Makefile (otherlibs): Likewise.
37217         * posix/Makefile (otherlibs): Likewise.
37218         * pwd/Makefile (otherlibs): Likewise.
37219         * rt/Makefile (otherlibs): Likewise.
37220         * sunrpc/Makefile (otherlibs): Likewise.
37221         * nss/Makefile (otherlibs): Likewise.
37222         Add libnss_files to routines and static-only-routines.
37223         ($(objpfx)getent): Remove rule.
37224         * resolv/Makefile: Add libnss_dns and libresolv to routines and
37225         static-only-routines.
37226
37227 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37228
37229         [BZ #13892]
37230         * math/s_cexp.c: Include <float.h>.
37231         (__cexp): Handle exp result overflowing not necessarily
37232         overflowing both real and imaginary parts of result.
37233         * math/s_cexpf.c: Likewise.
37234         * math/s_cexpl.c: Likewise.
37235         * math/libm-test.inc (cexp_test): Add more tests.
37236         * sysdeps/i386/fpu/libm-test-ulps: Update.
37237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37238
37239 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37240
37241         * include/link.h (ELFW): New macro.
37242         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37243         Replace ELF64_R_TYPE with ELFW(R_TYPE).
37244
37245 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37246
37247         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37248         with uint64_t.
37249
37250 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37251
37252         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37253         declaration.
37254         (struct La_x32_retval): Likewise.
37255
37256 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37257
37258         * sysdeps/x86_64/preconfigure.in: New file.
37259         * sysdeps/x86_64/preconfigure: New generated file.
37260
37261 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37262
37263         [BZ #13824]
37264         * math/e_exp2l.c: Include <float.h>.
37265         (__ieee754_exp2l): Handle overflow and underflow cases
37266         separately.  Only pass fractional part of argument to
37267         __ieee754_expl.
37268         * math/libm-test.inc (exp2_test): Add more tests.
37269
37270         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37271         negating x to take absolute value.
37272         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37273         Likewise.
37274         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37275         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37276         Likewise.
37277         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37278         computing low part if x was negated.
37279         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37280
37281 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37282
37283         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37284         la_x32_gnu_pltexit.
37285         (pltexit): Cast int_retval to ptrdiff_t.
37286         * elf/tst-auditmod3b.c: Likewise.
37287         * elf/tst-auditmod4b.c: Likewise.
37288         * elf/tst-auditmod5b.c: Likewise.
37289         * elf/tst-auditmod6b.c: Likewise.
37290         * elf/tst-auditmod6c.c: Likewise.
37291         * elf/tst-auditmod7b.c: Likewise.
37292
37293         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37294         and x32_gnu_pltexit.
37295
37296         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37297         __ELF_NATIVE_CLASS.
37298         (La_x32_regs): New macro.
37299         (La_x32_retval): Likewise.
37300         (la_x32_gnu_pltenter): New function prototype.
37301         (la_x32_gnu_pltexit): Likewise.
37302
37303 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37304
37305         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37306         exponent.
37307
37308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37309
37310         * configure.in (libc_cv_cc_nofma): Check for option to disable
37311         generation of FMA instructions.
37312         * configure: Regenerate.
37313         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37314         * sysdeps/ieee754/dbl-64/Makefile: New file.
37315         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37316         Remove brandred-fma4.
37317         (CFLAGS-brandred-fma4.c): Remove.
37318         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37319         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37320         define.
37321         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37322         define.
37323
37324 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37325
37326         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37327         LLONG_MAX != LONG_MAX.
37328         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37329         (_fitoa_word): Likewise.
37330         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37331         LLONG_MAX != LONG_MAX.
37332         * stdio-common/_itowa.h: Include <_itoa.h>.
37333         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37334         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37335         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37336         only if not defined.
37337         (_ITOA_WORD_TYPE): Likewise.
37338         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37339         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37340
37341 2012-03-21  David S. Miller  <davem@davemloft.net>
37342
37343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37344
37345 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37346
37347         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37348         of x86_64 when setting libc_cv_slibdir, libdir and
37349         libc_cv_localedir.
37350         * sysdeps/unix/sysv/linux/configure: Regenerated.
37351
37352 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37353
37354         * manual/lang.texi (Old Varargs): Remove section.
37355         (How Variadic): Update menu.
37356         (va_start): Do not mention varargs.h.
37357
37358 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37359             Joseph Myers  <joseph@codesourcery.com>
37360
37361         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37362         link test.
37363         * configure: Regenerated.
37364
37365 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37366
37367         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37368         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37369         conformtest.pl
37370
37371 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37372
37373         * NOTES: Remove.
37374         * Makefile (files-for-dist): Remove NOTES.
37375         (NOTES): Remove rule.
37376         * README: Don't refer to NOTES.
37377         * manual/creature.texi: Don't include macros.texi.
37378         * manual/intro.texi (creature.texi): Remove comment referring to
37379         NOTES.
37380
37381         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37382         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37383         * configure: Regenerated.
37384         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37385         LIBC_TRY_CC_OPTION.
37386         (libc_cv_as_i686): Likewise.
37387         (libc_cv_cc_avx): Likewise.
37388         (libc_cv_cc_sse2avx): Likewise.
37389         (libc_cv_cc_fma4): Likewise.
37390         (libc_cv_cc_novzeroupper): Likewise.
37391         * sysdeps/i386/configure: Regenerated.
37392
37393         [BZ #13883]
37394         * sysdeps/i386/fpu/s_cexp.S: Remove.
37395         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37396         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37397         * math/libm-test.inc (cexp_test): Add more tests.
37398         * sysdeps/i386/fpu/libm-test-ulps: Update.
37399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37400
37401 2012-03-21  Allan McRae  <allan@archlinux.org>
37402
37403         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37404
37405 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37406
37407         [BZ #13871]
37408         * math/w_exp2.c: Do not include <float.h>.
37409         (o_threshold, u_threshold): Remove.
37410         (__exp2): Calculate result before checking finiteness and calling
37411         __kernel_standard.
37412         * math/w_exp2f.c: Likewise.
37413         * math/w_exp2l.c: Likewise.
37414         * math/libm-test.inc (exp2_test): Require overflow exception for
37415         1e6 input.
37416
37417         [BZ #3866]
37418         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37419         range of signed 64-bit integers before using fistpll.  Remove
37420         checks for whether integers fit in mantissa bits.
37421         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37422         the range of signed 32-bit integers before using fistpl.  Remove
37423         checks for whether integers fit in mantissa bits.
37424         * sysdeps/i386/fpu/e_powl.S (p64): New object.
37425         (__ieee754_powl): Test for y outside the range of signed 64-bit
37426         integers before using fistpll.  Reduce 64-bit values to 63-bit
37427         ones as needed.
37428         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37429         divide-by-zero is raised for zero to large negative powers.
37430         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37431         (__ieee754_powl): Test for y outside the range of signed 64-bit
37432         integers before using fistpll.  Reduce 64-bit values to 63-bit
37433         ones as needed.
37434         * math/libm-test.inc (pow_test): Add more tests.
37435
37436 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37437
37438         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37439         <stdio-common/_itoa.h>.
37440         * debug/segfault.c: Likewise.
37441         * elf/dl-cache.c: Likewise.
37442         * elf/dl-minimal.c: Likewise.
37443         * elf/dl-misc.c: Likewise.
37444         * elf/dl-sysdep.c: Likewise.
37445         * elf/dl-version.c: Likewise.
37446         * elf/rtld.c: Likewise.
37447         * hurd/hurdsock.c: Likewise.
37448         * hurd/lookup-retry.c: Likewise.
37449         * malloc/malloc.c: Likewise.
37450         * malloc/mtrace.c: Likewise.
37451         * nscd/nscd_getgr_r.c: Likewise.
37452         * nscd/nscd_getpw_r.c: Likewise.
37453         * nscd/nscd_getserv_r.c: Likewise.
37454         * posix/getopt_init.c: Likewise.
37455         * posix/wordexp.c: Likewise.
37456         * stdio-common/_itoa.c: Likewise.
37457         * stdio-common/printf_fphex.c: Likewise.
37458         * stdio-common/vfprintf.c: Likewise.
37459         * string/_strerror.c: Likewise.
37460         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37461         * sysdeps/i386/i686/hp-timing.h: Likewise.
37462         * sysdeps/mach/_strerror.c: Likewise.
37463         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37464         * sysdeps/mach/hurd/sethostid.c: Likewise.
37465         * sysdeps/mach/hurd/xmknodat.c: Likewise.
37466         * sysdeps/mach/xpg-strerror.c: Likewise.
37467         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37468         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37469         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37470         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37471         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37472         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37473         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37474         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37475         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37476         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37477         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37478         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37479         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37480         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37481         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37482         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37483         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37484         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37485         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37486         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37487         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37488
37489         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37490
37491         * stdio-common/_itoa.h: Moved to ...
37492         * sysdeps/generic/_itoa.h: Here.
37493
37494         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37495
37496         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37497         instead of "_itoa.h" and "_itowa.h".
37498         * stdio-common/vfprintf.: Likewise.
37499
37500 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37501
37502         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37503         <bits/wordsize.h>.
37504         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37505         (__signbit): Likwise.
37506         (llrintf): Likwise.
37507         (llrint): Likwise.
37508
37509 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37510
37511         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37512         __WORDSIZE != 64.
37513
37514 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
37515
37516         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37517         OVERFLOW_EXCEPTION_OK.
37518         * math/libm-test.inc ("Philosophy"): Update comment about
37519         exception testing.
37520         (OVERFLOW_EXCEPTION): Define.
37521         (OVERFLOW_EXCEPTION_OK): Likewise.
37522         (INVALID_EXCEPTION_OK): Renumber.
37523         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37524         (IGNORE_ZERO_INF_SIGN): Likewise.
37525         (test_exceptions): Handle FE_OVERFLOW.
37526         (exp10_test): Expect overflow exceptions.
37527         (exp2_test): Likewise.
37528         (expm1_test): Likewise.
37529         (nextafter_test): Likewise.
37530         (pow_test): Likewise.
37531         (scalbn_test): Likewise.
37532         (scalbln_test): Likewise.
37533
37534 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37535
37536         * sysdeps/x86_64/bits/atomic.h
37537         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37538         64bit integer.
37539         (atomic_exchange_acq): Likewise.
37540         (__arch_exchange_and_add_body): Likewise.
37541         (__arch_add_body): Likewise.
37542         (atomic_add_negative): Likewise.
37543         (atomic_add_zero): Likewise.
37544
37545 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37546
37547         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37548         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37549
37550 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37551
37552         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37553         Check __x86_64__ instead of __WORDSIZE.
37554
37555 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37556
37557         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37558
37559 2012-03-19  David S. Miller  <davem@davemloft.net>
37560
37561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37562
37563         * sysdeps/sparc/fpu/fenv_private.h: New file.
37564         * sysdeps/sparc/fpu/math_private.h: Use it.
37565         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37566         Remove.
37567         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37568         (libc_feholdexcept_setroundl): Remove.
37569         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37570         Remove.
37571         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37572         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37573
37574 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37575
37576         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37577         int64_t instead of long int.
37578         (INSERT_WORDS64): Likwise.
37579
37580 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37581
37582         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37583         _Unwind_GetCFA return to _Unwind_Ptr first.
37584
37585 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
37586
37587         [BZ #13629]
37588         * math/s_clog.c: Include <float.h>.
37589         (__clog): Scale large or subnormal inputs.
37590         * math/s_clogf.c: Likewise.
37591         * math/s_clogl.c: Likewise.
37592         * math/s_clog10.c: Include <float.h>.
37593         (M_LOG10_2): Define.
37594         (__clog10): Scale large or subnormal inputs.
37595         * math/s_clog10f.c: Likewise.
37596         * math/s_clog10l.c: Likewise.
37597         * math/libm-test.inc (clog_test): Add more tests.
37598         (clog10_test): Likewise.
37599         * sysdeps/i386/fpu/libm-test-ulps: Update.
37600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37601
37602         [BZ #11451]
37603         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37604         x and y.
37605         * math/libm-test.inc (atan2_test): Add another test.
37606
37607         * Makerules (common-objdir-compile): Remove.
37608         * sysdeps/unix/Makefile (config-generated): Do not add
37609         $(unix-generated) to variable.
37610         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37611         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37612         Remove rule.
37613         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37614         Likewise.
37615         [generic bits/local_lim.h] (before-compile): Do not append to
37616         variable.
37617         [generic bits/local_lim.h] (common-generated): Likewise.
37618         [generic sys/param.h] (before-compile): Do not append to variable.
37619         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37620         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37621         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37622         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37623         include.
37624         [generic sys/param.h] (sys/param.h-includes): Remove variable.
37625         [generic sys/param.h] (sys/param.h-includes): Remove rule.
37626         [generic sys/param.h] ($(addprefix
37627         $(common-objpfx),$(sys/param.h-includes))): Likewise.
37628         [generic sys/param.h] (common-generated): Do not append to
37629         variable.
37630         [generic sys/param.h] (sysdep_headers): Likewise.
37631         [generic bits/errno.h] (before-compile): Do not append to
37632         variable.
37633         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37634         rule.
37635         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37636         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37637         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37638         [generic bits/errno.h] (common-generated): Do not append to
37639         variable.
37640         [generic bits/ioctls.h] (before-compile): Do not append to
37641         variable.
37642         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37643         rule.
37644         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37645         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37646         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37647         rule.
37648         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37649         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37650         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37651         [generic bits/ioctls.h] (common-generated): Do not append to
37652         variable.
37653         [generic sys/syscall.h] (syscall.h): Remove variable.
37654         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37655         rule.
37656         [generic sys/syscall.h] (before-compile): Do not append to
37657         variable.
37658         [generic sys/syscall.h] (common-generated): Likewise.
37659         * sysdeps/unix/errnos-tmpl.c: Remove file.
37660         * sysdeps/unix/errnos.awk: Likewise.
37661         * sysdeps/unix/ioctls-tmpl.c: Likewise.
37662         * sysdeps/unix/ioctls.awk: Likewise.
37663         * sysdeps/unix/mk-local_lim.c: Likewise.
37664         * sysdeps/unix/snarf-ioctls: Likewise.
37665
37666 2012-03-19  Richard Henderson  <rth@twiddle.net>
37667
37668         * sysdeps/i386/fpu/fenv_private.h: New file.
37669         * sysdeps/i386/fpu/math_private.h: Use it.
37670         (math_opt_barrier, math_force_eval): Remove.
37671         (libc_feholdexcept_setround_53bit): Remove.
37672         (libc_feupdateenv_53bit): Remove.
37673         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37674         (math_opt_barrier, math_force_eval): Remove.
37675         (libc_feholdexcept): Remove.
37676         (libc_feholdexcept_setround): Remove.
37677         (libc_fetestexcept, libc_fesetenv): Remove.
37678         (libc_feupdateenv_test): Remove.
37679         (libc_feupdateenv, libc_feholdsetround): Remove.
37680         (libc_feresetround): Remove.
37681
37682         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37683         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37684
37685         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37686         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37687         (libc_feupdateenv_testl): New.
37688         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37689         (libc_feupdateenv_testf): New.
37690         (libc_feupdateenv): Use libc_feupdateenv_test.
37691         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37692         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37693
37694         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37695         (libc_feholdsetroundf, libc_feholdsetroundl): New.
37696         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37697         (libc_feresetround_noex): New.
37698         (libc_feresetround_noexf): New.
37699         (libc_feresetround_noexl): New.
37700         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37701         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37702         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37703         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37704         SET_RESTORE_ROUND.
37705         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37706         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37707         (__cos): Likewise.
37708         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37709         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37710         SET_RESTORE_ROUND_NOEX.
37711         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37712         SET_RESTORE_ROUND_NOEXF.
37713         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37714         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37715         (libc_feholdsetroundf): New.
37716         (libc_feresetround, libc_feresetroundf): New.
37717
37718         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37719         (libc_feholdexcept_setround_53bit): Convert from macro to function.
37720         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
37721
37722         * sysdeps/generic/math_private.h: Include <fenv.h>.
37723         (default_libc_feholdexcept): New.
37724         (default_libc_feholdexcept_setround): New.
37725         (default_libc_fesetenv, default_libc_feupdateenv): New.
37726         (libc_feholdexcept): Only define if undefined.
37727         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37728         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37729         (libc_feholdexcept_setroundl): Likewise.
37730         (libc_feholdexcept_setround_53bit): Likewise.
37731         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37732         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37733         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37734         (libc_feupdateenv_53bit): Likewise.
37735         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37736         (libc_feholdexcept): Convert from macro to inline function.
37737         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37738         (libc_fesetenv, libc_feupdateenv): Likewise.
37739
37740         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37741         not previously defined.
37742         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37743         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37744         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37745         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37746         * sysdeps/ieee754/flt-32/math_private.h: New file.
37747         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37748         math_private.h below SET_FLOAT_WORD.
37749         (__isnan, __isinf_ns, __finite): Remove.
37750         (__isnanf, __isinf_nsf, __finitef): Remove.
37751
37752 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
37753
37754         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37755
37756 2012-03-17  David S. Miller  <davem@davemloft.net>
37757
37758         [BZ #6471]
37759         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37760         for 2.16.
37761
37762 2012-03-16  David S. Miller  <davem@davemloft.net>
37763
37764         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37765         warnings.
37766
37767         [BZ #6471]
37768         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37769         properly.
37770         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37771         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37772         sysdep_routines when subdir is sysvipc.
37773         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37774         __getshmlba helper.
37775
37776         * sysdeps/sparc/fpu/libm-test/ulps: Update.
37777
37778 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37779
37780         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37781         [__LP64__].
37782
37783 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37784
37785         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37786         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37787         (__lround): Renamed to ...
37788         (__llround): This.  Replace long int with long long int.
37789         Define lround functions as aliases of llround functions.
37790         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37791
37792 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37793
37794         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37795         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
37796         adresses to uintptr_t.  Replace "long int" and "unsigned long
37797         int" with "greg_t" on va_arg.
37798
37799 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37800
37801         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37802         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37803
37804         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37805         Move e_machine check before EI_CLASS check.  Handle x32
37806         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37807         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37808         SKIP_EM_IA_64 and include
37809         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37810
37811         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37812         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37813         (add_system_dir): New macro.
37814
37815         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37816         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37817
37818 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37819
37820         [BZ #2551]
37821         [BZ #2552]
37822         [BZ #2553]
37823         [BZ #2554]
37824         [BZ #2562]
37825         [BZ #2563]
37826         [BZ #2565]
37827         [BZ #2566]
37828         [BZ #2576]
37829         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37830         (y0): Likewise.
37831         * math/w_j0f.c (j0f): Likewise.
37832         (y0f): Likewise.
37833         * math/w_j0l.c (__j0l): Likewise.
37834         (__y0l): Likewise.
37835         * math/w_j1.c (j1): Likewise.
37836         (y1): Likewise.
37837         * math/w_j1f.c (j1f): Likewise.
37838         (y1f): Likewise.
37839         * math/w_j1l.c (__j1l): Likewise.
37840         (__y1l): Likewise.
37841         * math/w_jn.c (jn): Likewise.
37842         (yn): Likewise.
37843         * math/w_jnf.c (jnf): Likewise.
37844         (ynf): Likewise.
37845         * math/w_jnl.c (__jnl): Likewise.
37846         (__ynl): Likewise.
37847         * math/libm-test.inc (j0_test): Add more tests.
37848         (j1_test): Likewise.
37849         (jn_test): Likewise.  Add trailing semicolon to existing test.
37850         (y0_test): Likewise.
37851         (y1_test): Likewise.
37852         * sysdeps/i386/fpu/libm-test-ulps: Update.
37853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37854
37855         [BZ #13851]
37856         [BZ #13854]
37857         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37858         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37859         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37860         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37861         (__tanl): Set errno for infinite argument.
37862         * sysdeps/i386/fpu/mptan.c: Remove.
37863         * sysdeps/i386/fpu/s_tan.S: Likewise.
37864         * sysdeps/i386/fpu/s_tanl.S: Likewise.
37865         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37866         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37867         * math/libm-test.inc (tan_test): Add more tests and enable more
37868         tests for double and long double.
37869         * sysdeps/i386/fpu/libm-test-ulps: Update.
37870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37871
37872 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
37873
37874         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37875         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37876
37877 2012-03-16  Roland McGrath  <roland@hack.frob.com>
37878
37879         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37880         * configure.in: Use it for both main tree and add-ons.
37881         * configure: Regenerated.
37882
37883 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37884
37885         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37886
37887 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37888
37889         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37890         in comment.
37891
37892         [BZ #13851]
37893         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37894         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37895         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37896         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37897         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37898         infinite argument.
37899         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37900         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37901         != 0 for prec == 2.
37902         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37903         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37904         * sysdeps/i386/fpu/s_cosl.S: Likewise.
37905         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37906         * sysdeps/i386/fpu/s_sinl.S: Likewise.
37907         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37908         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37909         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37910         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37911         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37912         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37913         * math/libm-test.inc (cos_test): Add more tests and enable more
37914         tests for long double.
37915         (sin_test): Likewise.
37916         (sincos_test): Likewise.
37917         * sysdeps/i386/fpu/libm-test-ulps: Update.
37918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37919
37920 2012-03-16  David S. Miller  <davem@davemloft.net>
37921
37922         * sysdeps/sparc/fpu/math_private.h: New file.
37923
37924 2012-03-15  David S. Miller  <davem@davemloft.net>
37925
37926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37927         file.
37928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37930         file.
37931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37932         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37933         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37934         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37935         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37936         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37937         sysdep routines.
37938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37939
37940         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37941         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37942
37943         * sysdeps/sparc/sparc-ifunc.h: New file.
37944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37945         sparc-ifunc.h
37946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37948         Likewise.
37949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37950         Likewise.
37951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37955         Likewise.
37956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37961         Likewise.
37962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37963         Likewise.
37964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37968         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37969         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37970         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37971         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37972         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37973         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37974         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37975         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37976         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37977         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37978         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37979         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37980         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37981         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37982         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37983         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37984         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37985         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37986         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37987         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37988
37989 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37990
37991         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37992         scaling.
37993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37994
37995 2012-03-15  Andreas Jaeger  <aj@suse.de>
37996
37997         [BZ #13852]
37998         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37999         ieee754/flt-32 implementation for sin, cos and sincos.
38000         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38001         * sysdeps/i386/fpu/s_cosf.S: Likewise.
38002         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38003         * sysdeps/i386/fpu/s_sinf.S: Likewise.
38004         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38005         ieee754/flt-32 implementation for tan.
38006
38007         * math/libm-test.inc (cos_test): Enable some large input tests for
38008         float as well
38009         (sin_test): Likewise.
38010         (sincos_test): Likewise.
38011         (tan_test): Add tests for large input.
38012
38013         * sysdeps/i386/fpu/libm-test-ulps: Update.
38014
38015 2012-03-15  Andreas Jaeger  <aj@suse.de>
38016
38017         [BZ #13658]
38018         * math/libm-test.inc (cos_test): Add more test cases.
38019         (sin_test): Likewise.
38020         (sincos_test): Likewise.
38021
38022 2012-03-15  Andreas Jaeger  <aj@suse.de>
38023
38024         [BZ #13837]
38025         * math/libm-test.inc (cos_test): Add a test case for large input
38026         value.
38027         (sin_test): Likewise.
38028         (sincos_test): Likewise.
38029
38030 2012-03-15  Andreas Jaeger  <aj@suse.de>
38031             Joseph Myers  <joseph@codesourcery.com>
38032
38033         [BZ #13658]
38034         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38035         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38036         * sysdeps/i386/fpu/branred.c: Likewise.
38037         * sysdeps/i386/fpu/dosincos.c: Likewise.
38038         * sysdeps/i386/fpu/mpa.c: Likewise.
38039         * sysdeps/i386/fpu/s_cos.S: Likewise.
38040         * sysdeps/i386/fpu/s_sin.S: Likewise.
38041         * sysdeps/i386/fpu/s_sincos.S: Likewise.
38042         * sysdeps/i386/fpu/sincos32.c: Likewise.
38043
38044         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38045         Define.
38046         (libc_feupdateenv_53bit): Define.
38047         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38048         Define.
38049         (libc_feupdateenv_53bit): Define.
38050
38051         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38052         53 bit (without extend i386 double precision).
38053
38054         * math/libm-test.inc (sincos_test): Add tests for large input.
38055         (sin): Likewise.
38056         (cos): Likewise.
38057
38058         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38059
38060 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38061
38062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38063
38064 2012-03-15  David S. Miller  <davem@davemloft.net>
38065
38066         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38067         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38068         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38069         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38074         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38075         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38076         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38077         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38078         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38079         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38080         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38082         file.
38083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38085         file.
38086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38088         file.
38089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38091         file.
38092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38093         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38094         fmin/fmax sysdep routines.
38095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38096
38097 2012-03-14  David S. Miller  <davem@davemloft.net>
38098
38099         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38100         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38101         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38102         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38103         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38104         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38105         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38106         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38107         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38108         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38109         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38110         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38111         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38112         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38113         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38114         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38115         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38116         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38117         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38118         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38119         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38120         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38121         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38122         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38123         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38124         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38125         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38126         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38127         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38128         routines.
38129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38130         file.
38131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38133         file.
38134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38136         file.
38137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38139         file.
38140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38142         file.
38143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38145         file.
38146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38147         file.
38148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38149         file.
38150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38151         file.
38152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38153         New file.
38154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38155         file.
38156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38157         file.
38158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38160         file.
38161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38163         file.
38164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38166         file.
38167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38169         VIS3 routines.
38170
38171         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38172         New file.
38173
38174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38175
38176         * sysdeps/sparc/configure.in: New file.
38177         * sysdeps/sparc/configure: Generate.
38178         * configure.in (libc_cv_sparc_as_vis3): Substitute.
38179         * configure: Regenerate.
38180         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38181         * config.make.in (have-as-vis3): New.
38182         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38183         available use -Av9d instead of -Av9a.
38184         * sysdeps/sparc/sparc64/Makefile: Likewise.
38185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38187         New file.
38188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38189         file.
38190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38191         New file.
38192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38193         file.
38194         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38195         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38196         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38197         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38198         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38199
38200         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38201         fzeros/fnegs to load 0x80000000 into a float register instead of
38202         using the stack.
38203         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38204
38205 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38206
38207         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38208         bits/syscall.h.
38209         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38210         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38211         ($(inst_includedir)/bits/syscall.h): Remove rule.
38212         ($(objpfx)bits/syscall.d): Include instead of
38213         $(objpfx)syscall-list.d.
38214         (generated): Change syscall-list.h and syscall-list.d to
38215         bits/syscall.h and bits/syscall.d.
38216
38217 2012-03-14  Roland McGrath  <roland@hack.frob.com>
38218
38219         [BZ #13846]
38220         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38221
38222 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38223
38224         [BZ #13841]
38225         * math/s_csqrt.c: Include <float.h>.
38226         (__csqrt): Scale large or subnormal inputs.
38227         * math/s_csqrtf.c: Likewise.
38228         * math/s_csqrtl.c: Likewise.
38229         * math/libm-test.inc (csqrt_test): Add more tests.
38230         * sysdeps/i386/fpu/libm-test-ulps: Update.
38231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38232
38233         [BZ #13840]
38234         * math/libm-test.inc (hypot_test): Add more tests.
38235
38236 2012-03-13  David S. Miller  <davem@davemloft.net>
38237
38238         [BZ #13840]
38239         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38240         double-precision for the calculation instead of scaling.
38241
38242 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
38243
38244         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38245         manipulate bits before adding and subtracting TWO52[sx].
38246         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38247         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38248         Likewise.
38249         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38250
38251 2012-03-13  David S. Miller  <davem@davemloft.net>
38252
38253         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38254         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38255         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38256         rtld-global-offsets.h
38257         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38258
38259         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38260         large parameters.
38261
38262         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38263
38264         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38265         'err' in the ifdef scope in which it is actually used.
38266
38267         * nss/nss_db/db-init.c: Include string.h
38268
38269 2012-03-12  David S. Miller  <davem@davemloft.net>
38270
38271         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38272         masking out of the most significant byte of random value used.
38273         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38274         Fix coding style in previous change.
38275
38276         * sysdeps/unix/sysv/linux/kernel-features.h
38277         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38278         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38279         expression.
38280         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38281         later.
38282
38283 2012-03-11  David S. Miller  <davem@davemloft.net>
38284
38285         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38286         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38287         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38288         for 'resultvar' otherwise things get truncated on 64-bit.
38289
38290         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38291         Fix masking out of the most significant byte of random value used.
38292
38293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38294
38295 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38296
38297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38298
38299 2012-03-09  David S. Miller  <davem@davemloft.net>
38300
38301         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38302         variables with appropriate CPP guards.
38303         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38304         from the frame pointer, not the stack pointer.  Correct layout
38305         comments.  Fix test on resulting framesize and the management of
38306         the outregs buffer for pltexit.  Preserve floating point return
38307         values across _dl_call_pltexit call.
38308         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38309         framesize and the management of the outregs buffer for pltexit.
38310         Preserve floating point return values across _dl_call_pltexit
38311         call.
38312         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38313         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38314         (la_sparc64_gnu_pltexit): New functions.
38315         (print_exit): Fix format string for return register value.
38316
38317 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38318
38319         * sunrpc/Makefile (others): Add rpcgen.
38320         ($(objpfx)rpcgen): Remove special build rule and dependency on
38321         libc.
38322         * sunrpc/rpcgen.c: New file.
38323
38324 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38325
38326         [BZ #13673]
38327         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38328         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38329         * sysdeps/i386/crti.S: Likewise.
38330         * sysdeps/i386/crtn.S: Likewise.
38331         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38332         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38333         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38334         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38335         * sysdeps/sh/crti.S: Likewise.
38336         * sysdeps/sh/crtn.S: Likewise.
38337         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38338
38339         [BZ #13673]
38340         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38341         with URL.
38342         * locale/programs/locfile-kw.gperf: Likewise.
38343         * locale/programs/charmap-kw.h: Regenerated.
38344         * locale/programs/locfile-kw.h: Likewise.
38345
38346         [BZ #13673]
38347         * intl/plural.y: Replace FSF snail mail address with URL.
38348         * intl/plural.c: Regenerated.
38349
38350 2012-03-09  Richard Henderson  <rth@twiddle.net>
38351
38352         * include/math_private.h: Remove file.
38353         * math/math_private.h: Move file ...
38354         * sysdeps/generic/math_private.h: ... here.
38355
38356         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38357         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38358         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38359
38360         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38361         and <math_private.h>.
38362         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38363         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38364         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38365         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38366         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38367         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38368         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38369         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38370         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38371         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38372         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38373         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38374         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38375         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38376         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38377         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38378         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38379         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38380         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38381         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38382         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38383         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38384         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38385         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38386         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38387         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38388         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38389         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38390         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38391         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38392         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38393         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38394         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38395         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38396         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38397         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38398         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38399         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38400         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38401         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38402         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38403         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38404         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38405         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38406         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38407         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38408         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38409         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38410         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38411         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38412         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38413         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38414         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38415         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38416         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38417         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38418         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38419         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38420         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38421         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38422         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38423         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38424         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38425         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38426         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38427         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38428         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38429         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38430         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38431         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38432         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38433         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38434         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38435         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38436         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38437         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38438         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38439         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38440         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38441         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38442         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38443         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38444         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38445         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38446         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38447         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38448         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38449         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38450         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38451         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38452         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38453         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38454         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38455         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38456         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38457         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38458         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38459         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38460         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38461         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38462         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38463         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38464         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38465         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38466         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38467         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38468         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38469         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38470         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38471         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38472         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38473         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38474         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38475         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38476         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38477         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38478         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38479         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38480         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38481         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38482         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38483         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38484         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38485         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38486         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38487         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38488         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38489         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38490         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38491         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38492         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38493         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38494         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38495         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38496         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38497         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38498         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38499         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38500         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38501         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38502         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38503         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38504         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38505         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38506         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38507         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38508         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38509         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38510         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38511         * sysdeps/ieee754/k_standard.c: Likewise.
38512         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38513         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38514         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38515         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38516         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38517         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38518         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38519         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38520         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38521         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38522         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38523         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38524         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38525         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38526         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38527         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38528         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38529         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38530         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38531         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38532         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38533         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38534         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38535         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38536         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38537         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38538         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38539         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38540         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38541         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38542         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38543         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38544         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38545         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38546         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38547         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38548         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38549         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38550         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38551         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38552         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38553         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38554         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38555         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38556         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38557         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38558         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38559         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38560         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38561         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38562         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38563         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38564         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38565         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38566         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38567         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38568         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38569         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38570         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38571         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38572         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38573         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38574         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38575         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38576         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38577         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38578         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38579         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38580         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38581         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38582         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38583         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38584         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38585         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38586         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38587         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38588         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38589         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38590         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38591         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38592         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38593         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38594         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38595         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38596         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38597         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38598         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38599         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38600         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38601         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38602         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38603         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38604         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38605         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38606         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38607         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38608         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38609         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38610         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38611         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38612         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38613         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38614         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38615         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38616         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38617         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38618         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38619         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38620         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38621         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38622         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38623         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38624         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38625         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38626         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38627         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38628         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38629         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38630         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38631         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38632         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38633         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38634         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38635         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38636         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38637         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38638         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38639         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38640         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38641         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38642         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38643         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38644         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38645         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38646         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38647         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38648         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38649         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38650         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38651         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38652         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38653         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38654         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38655         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38656         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38657         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38658         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38659         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38660         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38661         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38662         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38663         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38664         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38665         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38666         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38667         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38668         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38669         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38670         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38671         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38672         * sysdeps/ieee754/s_lib_version.c: Likewise.
38673         * sysdeps/ieee754/s_matherr.c: Likewise.
38674         * sysdeps/ieee754/s_signgam.c: Likewise.
38675         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38676         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38677         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38678         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38679         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38680         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38681         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38682         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38683         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38684         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38685         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38686         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38687         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38688         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38689         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38690         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38691         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38692         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38693         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38694         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38695         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38696
38697 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38698
38699         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38700         * sunrpc/rpc_main.c: Likewise.
38701         * sunrpc/rpc_svcout.c: Likewise.
38702
38703 2012-03-09  David S. Miller  <davem@davemloft.net>
38704
38705         * include/math_private.h: New file.
38706
38707 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38708
38709         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38710         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38711         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38712         from <bits/socket_type.h>.
38713         (enum __socket_type): Don't define here.
38714         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38715         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38716         bits/socket_type.h.
38717
38718         [BZ #13566]
38719         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38720         checking __USE_GNU.
38721
38722         * Makerules ($(inst_includedir)/%.h): New rule.
38723         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38724         (install-others): Remove variable setting.
38725         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38726
38727 2012-03-08  Richard Henderson  <rth@twiddle.net>
38728
38729         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38730         from macro to inline function; merge with the
38731         !__LIBC_INTERNAL_MATH_INLINES version.
38732         (__ieee754_sqrtf): Likewise.
38733
38734         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38735         to inline function.
38736         (__rintf, __floor, __floorf): Likewise.
38737
38738         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38739         macro to inline function.
38740         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38741
38742         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38743         not <math/math_private.h>.
38744
38745 2012-03-08  David S. Miller  <davem@davemloft.net>
38746
38747         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38748         copyright year.
38749         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38750
38751 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
38752
38753         * resolv/gai_misc.c (handle_requests): Fix struct timespec
38754         normalization.
38755         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38756         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38757
38758 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
38759
38760         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
38761         be defined individually, they must be defined as a block.  Define
38762         S for printing a string instead of hidint the different by using a
38763         macro for adding the 'l'.
38764         * stdio-common/tst-fphex-wide.c: Adjust.
38765
38766 2012-03-07  Marek Polacek  <polacek@redhat.com>
38767
38768         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38769
38770 2012-03-08  Marek Polacek  <polacek@redhat.com>
38771
38772         [BZ #13806]
38773         * stdio-common/Makefile (tests): Add tst-fphex-wide.
38774         * stdio-common/tst-fphex.c: Define a few macros to make the
38775         test reusable.  Use them.
38776         * stdio-common/tst-fphex-wide.c: New file.
38777
38778 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
38779
38780         [BZ #6911]
38781         * manual/macros.texi (gnusystems): New macro.
38782         (nongnusystems): Likewise.
38783         (gnulinuxhurdsystems): Likewise.
38784         (gnuhurdsystems): Likewise..
38785         (gnulinuxsystems): Likewise.
38786         * manual/charset.texi: Use new macros or @theglibc{} to refer to
38787         variants of the GNU system, not "GNU system".
38788         * manual/conf.texi: Likewise.
38789         * manual/errno.texi: Likewise.  Update example of errno macro
38790         expansion.
38791         * manual/filesys.texi: Likewise.
38792         (getumask): Document as specific to GNU/Hurd.
38793         * manual/install.texi: Likewise.  Reword some references to
38794         GNU/Linux.
38795         * manual/intro.texi: Likewise.
38796         * manual/io.texi: Likewise.
38797         (File Name Portability): Detail which constraints are inapplicable
38798         to all GNU systems and which are only inapplicable to GNU/Hurd.
38799         * manual/job.texi: Likewise.
38800         * manual/llio.texi: Likewise.
38801         (O_NOCTTY): Document as present on GNU/Linux.
38802         * manual/maint.texi: Likewise.
38803         * manual/memory.texi: Likewise.
38804         * manual/pattern.texi: Likewise.
38805         * manual/pipe.texi: Likewise.
38806         * manual/process.texi: Likewise.
38807         * manual/resource.texi: Likewise.
38808         (RUSAGE_CHILDREN): Remove statement about specifying a particular
38809         child on GNU/Hurd.
38810         * manual/setjmp.texi: Likewise.
38811         * manual/signal.texi: Likewise.
38812         * manual/startup.texi: Likewise.
38813         * manual/stdio.texi: Likewise.
38814         * manual/terminal.texi: Likewise.
38815         (ONLCR): Document as POSIX.
38816         (OXTABS): Document availability on GNU/Linux as XTABS.
38817         (ONOEOT): Document availability separately from other bits.
38818         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38819         * manual/time.texi: Likewise.
38820         * manual/users.texi: Likewise.
38821         * INSTALL: Regenerated.
38822         * sysdeps/gnu/errlist.c: Regenerated.
38823
38824         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38825         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38826         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
38827         puts.
38828         * configure: Regenerated.
38829
38830 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
38831
38832         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38833         default includes instead of AC_HEADER_CHECK.
38834         * sysdeps/i386/configure: Regenerated.
38835
38836         [BZ #10716]
38837         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38838         * math/s_cacoshf.c (__cacoshf): Likewise.
38839         * math/s_cacoshl.c (__cacoshl): Likewise.
38840         * math/s_casinh.c (__casinh): Set signs of result from argument.
38841         * math/s_casinhf.c (__casinhf): Likewise.
38842         * math/s_casinhl.c (__casinhl): Likewise.
38843         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38844         (casinh_test): Add more tests.
38845         * sysdeps/i386/fpu/libm-test-ulps: Update.
38846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38847
38848 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
38849
38850         * po/zh_TW.po: Update from translation team.
38851
38852         * login/Makefile (distribute): Remove variable.
38853         * catgets/Makefile: Likewise.
38854         * mach/Makefile: Likewise.
38855         * malloc/Makefile: Likewise.
38856         * misc/Makefile: Likewise.
38857         * iconv/Makefile: Likewise.
38858         * nscd/Makefile: Likewise.
38859         * hurd/Makefile: Likewise.
38860         * manual/Makefile: Likewise.
38861         * locale/Makefile: Likewise.
38862         * intl/Makefile: Likewise.
38863         * conform/Makefile: Likewise.
38864         * nss/Makefile: Likewise.
38865         * time/Makefile: Likewise.
38866         * soft-fp/Makefile: Likewise.
38867         * dirent/Makefile: Likewise.
38868         * gmon/Makefile: Likewise.
38869         * po/Makefile: Likewise.
38870         * rt/Makefile: Likewise.
38871         * socket/Makefile: Likewise.
38872         * math/Makefile: Likewise.
38873         * signal/Makefile: Likewise.
38874         * debug/Makefile: Likewise.
38875         * elf/Makefile: Likewise.
38876         * timezone/Makefile: Likewise.
38877         * stdlib/Makefile: Likewise.
38878         * iconvdata/Makefile: Likewise.
38879         * sunrpc/Makefile: Likewise.
38880         * io/Makefile: Likewise.
38881         * argp/Makefile: Likewise.
38882         * inet/Makefile: Likewise.
38883         * hesiod/Makefile: Likewise.
38884         * grp/Makefile: Likewise.
38885         * csu/Makefile: Likewise.
38886         * wctype/Makefile: Likewise.
38887         * crypt/Makefile: Likewise.
38888         * libio/Makefile: Likewise.
38889         * string/Makefile: Likewise.
38890         * nis/Makefile: Likewise.
38891         * resolv/Makefile: Likewise.
38892         * stdio-common/Makefile: Likewise.
38893         * wcsmbs/Makefile: Likewise.
38894         * dlfcn/Makefile: Likewise.
38895         * posix/Makefile: Likewise.
38896
38897         [BZ #6959]
38898         * timezone/Makefile: Don't install timezone files, just the programs
38899         and scripts.
38900
38901 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
38902
38903         * nss/databases.def: Add missing gshadow entry.
38904
38905         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
38906
38907 2012-03-06  Marek Polacek  <polacek@redhat.com>
38908
38909         [BZ #13726]
38910         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38911         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38912         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38913         * stdio-common/tst-long-dbl-fphex.c: New file.
38914
38915 2012-03-06  David S. Miller  <davem@davemloft.net>
38916
38917         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38918         (set_obp_int): New function.
38919         (get_obp_int): New function.
38920         (__get_clockfreq_via_dev_openprom): Likewise.
38921         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38922         Avoid unused variable warnings on 'val' and use builtin_expect.
38923         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38924         __builtin_expect.
38925         (INLINE_CLONE_SYSCALL): Likewise.
38926
38927 2012-03-05  David S. Miller  <davem@davemloft.net>
38928
38929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38930
38931 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
38932
38933         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38934
38935         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38936         only for |x| >= 40.
38937         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38938
38939 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
38940
38941         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38942         Replace gettimeofday with __vdso_gettimeofday.
38943
38944         * sysdeps/unix/sysv/linux/x86_64/init-first.c
38945         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38946         __vdso_clock_gettime and __vdso_getcpu.
38947
38948         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38949         time with __vdso_time.
38950
38951 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38952
38953         * manual/lang.texi (size_t): Note types to which size_t may be
38954         equivalent with the GNU C Library, but do not describe when
38955         differences between them are significant.
38956
38957 2012-03-05  Andreas Jaeger  <aj@suse.de>
38958
38959         * sysdeps/i386/fpu/libm-test-ulps: Update.
38960
38961 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38962
38963         [BZ #3976]
38964         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38965         (__ieee754_pow): Save and restore rounding mode and use
38966         round-to-nearest for main computations.
38967         * math/libm-test.inc (pow_test_tonearest): New function.
38968         (pow_test_towardzero): Likewise.
38969         (pow_test_downward): Likewise.
38970         (pow_test_upward): Likewise.
38971         (main): Call the new functions.
38972         * sysdeps/i386/fpu/libm-test-ulps: Update.
38973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38974
38975         [BZ #3976]
38976         * math/libm-test.inc (cosh_test_tonearest): New function.
38977         (cosh_test_towardzero): Likewise.
38978         (cosh_test_downward): Likewise.
38979         (cosh_test_upward): Likewise.
38980         (sinh_test_tonearest): Likewise.
38981         (sinh_test_towardzero): Likewise.
38982         (sinh_test_downward): Likewise.
38983         (sinh_test_upward): Likewise.
38984         (main): Call the new functions.
38985         * sysdeps/i386/fpu/libm-test-ulps: Update.
38986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38987
38988 2012-03-05  Tom de Vries  <tom@codesourcery.com>
38989
38990         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38991         default stack guard is set in last bytes.
38992         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38993
38994 2012-03-05  Kees Cook  <keescook@chromium.org>
38995
38996         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38997
38998         [BZ #13656]
38999         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39000         possibly allocate from heap instead of stack.
39001         * stdio-common/bug-vfprintf-nargs.c: New file.
39002         * stdio-common/Makefile (tests): Add nargs overflow test.
39003
39004 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
39005
39006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39007
39008 2012-03-03  Marek Polacek  <polacek@redhat.com>
39009
39010         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39011         * math/math_private.h: Likewise.
39012         * stdlib/tst-strtod.c: Likewise.
39013         * sysdeps/i386/i486/bits/atomic.h: Likewise.
39014         * sysdeps/x86_64/bits/atomic.h: Likewise.
39015
39016 2012-03-02  David S. Miller  <davem@davemloft.net>
39017
39018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39022         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39023         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39024         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39025         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39026
39027 2012-03-02  Roland McGrath  <roland@hack.frob.com>
39028
39029         [BZ #13792]
39030         * manual/examples/README: New file, says the example source files
39031         can be used under GPL>=2.
39032         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39033         line containing just "*/".
39034         * manual/examples/add.c: Add copyright header (GPL>=2).
39035         * manual/examples/argp-ex1.c: Likewise.
39036         * manual/examples/argp-ex2.c: Likewise.
39037         * manual/examples/argp-ex3.c: Likewise.
39038         * manual/examples/argp-ex4.c: Likewise.
39039         * manual/examples/atexit.c: Likewise.
39040         * manual/examples/db.c: Likewise.
39041         * manual/examples/dir.c: Likewise.
39042         * manual/examples/dir2.c: Likewise.
39043         * manual/examples/execinfo.c: Likewise.
39044         * manual/examples/filecli.c: Likewise.
39045         * manual/examples/filesrv.c: Likewise.
39046         * manual/examples/fmtmsgexpl.c: Likewise.
39047         * manual/examples/genpass.c: Likewise.
39048         * manual/examples/inetcli.c: Likewise.
39049         * manual/examples/inetsrv.c: Likewise.
39050         * manual/examples/isockad.c: Likewise.
39051         * manual/examples/longopt.c: Likewise.
39052         * manual/examples/memopen.c: Likewise.
39053         * manual/examples/memstrm.c: Likewise.
39054         * manual/examples/mkfsock.c: Likewise.
39055         * manual/examples/mkisock.c: Likewise.
39056         * manual/examples/mygetpass.c: Likewise.
39057         * manual/examples/pipe.c: Likewise.
39058         * manual/examples/popen.c: Likewise.
39059         * manual/examples/rprintf.c: Likewise.
39060         * manual/examples/search.c: Likewise.
39061         * manual/examples/select.c: Likewise.
39062         * manual/examples/setjmp.c: Likewise.
39063         * manual/examples/sigh1.c: Likewise.
39064         * manual/examples/sigusr.c: Likewise.
39065         * manual/examples/stpcpy.c: Likewise.
39066         * manual/examples/strdupa.c: Likewise.
39067         * manual/examples/strftim.c: Likewise.
39068         * manual/examples/strncat.c: Likewise.
39069         * manual/examples/subopt.c: Likewise.
39070         * manual/examples/swapcontext.c: Likewise.
39071         * manual/examples/termios.c: Likewise.
39072         * manual/examples/testopt.c: Likewise.
39073         * manual/examples/testpass.c: Likewise.
39074         * manual/examples/timeval_subtract.c: Likewise.
39075
39076         [BZ #13792]
39077         * manual/time.texi (Elapsed Time): Move timeval_subtract example
39078         function to ...
39079         * manual/timeval_subtract.c.texi: ... here, new file.
39080
39081 2012-03-02  David S. Miller  <davem@davemloft.net>
39082
39083         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39084
39085 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
39086
39087         [BZ #3976]
39088         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39089         (__sin): Save and restore rounding mode and use round-to-nearest
39090         for all computations.
39091         (__cos): Save and restore rounding mode and use round-to-nearest
39092         for all computations.
39093         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39094         <fenv.h>.
39095         (tan): Save and restore rounding mode and use round-to-nearest for
39096         all computations.
39097         * math/libm-test.inc (cos_test_tonearest): New function.
39098         (cos_test_towardzero): Likewise.
39099         (cos_test_downward): Likewise.
39100         (cos_test_upward): Likewise.
39101         (sin_test_tonearest): Likewise.
39102         (sin_test_towardzero): Likewise.
39103         (sin_test_downward): Likewise.
39104         (sin_test_upward): Likewise.
39105         (tan_test_tonearest): Likewise.
39106         (tan_test_towardzero): Likewise.
39107         (tan_test_downward): Likewise.
39108         (tan_test_upward): Likewise.
39109         (main): Call the new functions.
39110         * sysdeps/i386/fpu/libm-test-ulps: Update.
39111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39112
39113         [BZ #10135]
39114         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39115         small n, then large n, before computing and testing k+n.
39116         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39117         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39118         Likewise.
39119         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39120         Likewise.
39121         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39122         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39123         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39124         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39125         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39126         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39127         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39128         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39129         * math/libm-test.inc (scalbn_test): Add more tests.
39130         (scalbln_test): Likewise.
39131
39132         * manual/filesys.texi (mode_t): Describe constraints on size and
39133         signedness, not exact equivalence to a particular type.
39134         (ino_t): Likewise.
39135         (ino64_t): Likewise.
39136         (dev_t): Likewise.
39137         (nlink_t): Likewise.
39138         (blkcnt_t): Likewise.
39139         (blkcnt64_t): Likewise.
39140         * manual/llio.texi (off_t): Likewise.
39141
39142         [BZ #3976]
39143         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39144         (__ieee754_exp): Save and restore rounding mode and use
39145         round-to-nearest for all computations.
39146         * math/libm-test.inc (exp_test_tonearest): New function.
39147         (exp_test_towardzero): Likewise.
39148         (exp_test_downward): Likewise.
39149         (exp_test_upward): Likewise.
39150         (main): Call the new functions.
39151         * sysdeps/i386/fpu/libm-test-ulps: Update.
39152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39153
39154 2012-03-01  Chris Demetriou  <cgd@google.com>
39155
39156         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39157         have predictable order.
39158
39159 2012-03-01  David S. Miller  <davem@davemloft.net>
39160
39161         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39162
39163         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39164         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39165         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39166         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39167
39168         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39169         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39170         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39172         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39173         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39174         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39175         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39176         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39177
39178         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39179
39180         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39181         * sysdeps/sparc/fpu/libm-test-ulps: to here.
39182         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39183
39184         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39185         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39186         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39187         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39188         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39189         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39190         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39191         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39192         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39193         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39194         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39195         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39196         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39197         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39198         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39199         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39200         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39201         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39202         * sysdeps/sparc/elf/configure: Regenerated.
39203
39204 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
39205
39206         * configure.in (AS, LD): Require binutils 2.20 or later.
39207         * configure: Regenerated.
39208         * manual/install.texi (Tools for Compilation): Give binutils 2.20
39209         as required minimum version.
39210         * INSTALL: Regenerated.
39211
39212         [BZ #2541]
39213         [BZ #4108]
39214         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39215         before squaring exponent.
39216         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39217         bottom long double and 27 bits of top long double before squaring
39218         exponent.
39219         * math/libm-test.inc (erfc_test): Add more tests.
39220         * sysdeps/i386/fpu/libm-test-ulps: Update.
39221         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39223
39224 2012-03-01  Kai Tietz  <ktietz@redhat.com>
39225
39226         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39227         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39228         containing bit-fields.
39229         * soft-fp/extended.h (_FP_UNION_E): Likewise.
39230         * soft-fp/single.h (_FP_UNION_S): Likewise.
39231         * soft-fp/double.h (_FP_UNION_D): Likewise.
39232
39233 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39234
39235         [BZ #13786]
39236         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39237         not include ../strcmp.S.
39238         [USE_AS_STRNCASECMP_L]: Likewise.
39239         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39240         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39241         * sysdeps/i386/i686/multiarch/strncase_l-c.c
39242         (__strncasecmp_l_ia32): Define as alias to
39243         __strncasecmp_l_nonascii.
39244
39245         [BZ #5794]
39246         * math/libm-test.inc (expm1_test): Add test for bug 5794.
39247         * sysdeps/i386/fpu/libm-test-ulps: Update.
39248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39249
39250         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39252
39253 2012-02-29  Jeff Law  <law@redhat.com>
39254
39255         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39256         out of bounds read.
39257
39258 2012-02-29  Marek Polacek  <polacek@redhat.com>
39259
39260         [BZ #13706]
39261         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39262         * elf/Makefile: Add rules to run tst-unused-dep.out.
39263
39264 2012-02-28  David S. Miller  <davem@davemloft.net>
39265
39266         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39267         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39268         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39269         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39270         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39271         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39272
39273 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39274
39275         * math/libm-test.inc (llround_test): Move one test from
39276         lround_test.  Use TEST_f_L in moved test.
39277         (lround_test): Move misplaced test to llround_test.  Add testcase
39278         from bug 2561.
39279
39280 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
39281
39282         * sysdeps/x86_64/fpu/e_expf.S: New file.
39283         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39284
39285 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39286
39287         [BZ #13637]
39288         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39289         of remain_len that may cause incomplete multi-byte character and
39290         false match.
39291         * posix/bug-regex33.c: New file.
39292         * posix/Makefile (tests): Add bug-regex33.
39293
39294 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39295
39296         * manual/macros.texi: New file.
39297         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39298         * manual/libc.texinfo: Include macros.texi.
39299         * manual/creatute.texi: Likewise.
39300         * manual/install.texi: Likewise.
39301         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39302         @glibcadj{} in references to the GNU C Library.
39303         * manual/charset.texi: Likewise.
39304         * manual/conf.texi: Likewise.
39305         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39306         when not using those macros.
39307         * manual/creature.texi: Likewise.
39308         * manual/crypt.texi: Likewise.
39309         * manual/errno.texi: Likewise.
39310         * manual/filesys.texi: Likewise.
39311         * manual/header.texi: Likewise.
39312         * manual/install.texi: Likewise.
39313         * manual/intro.texi: Likewise.
39314         * manual/io.texi: Likewise.
39315         * manual/job.texi: Likewise.
39316         * manual/lang.texi: Likewise.
39317         * manual/libc.texiinfo: Likewise.
39318         * manual/llio.texi: Likewise.
39319         * manual/locale.texi: Likewise.
39320         * manual/maint.texi: Likewise.
39321         * manual/math.texi: Likewise.
39322         * manual/memory.texi: Likewise.
39323         * manual/message.texi: Likewise.
39324         * manual/nss.texi: Likewise.
39325         * manual/pattern.texi: Likewise.
39326         * manual/process.texi: Likewise.
39327         * manual/resource.texi: Likewise.
39328         * manual/search.texi: Likewise.
39329         * manual/setjmp.texi: Likewise.
39330         * manual/signal.texi: Likewise.
39331         * manual/socket.texi: Likewise.
39332         * manual/startup.texi: Likewise.
39333         * manual/stdio.texi: Likewise.
39334         * manual/string.texi: Likewise.
39335         * manual/sysinfo.texi: Likewise.
39336         * manual/syslog.texi: Likewise.
39337         * manual/terminal.texi: Likewise.
39338         * manual/time.texi: Likewise.
39339         * manual/users.texi: Likewise.
39340         * INSTALL: Regenerated.
39341         * NOTES: Regenerated.
39342         * sysdeps/gnu/errlist.c: Regenerated.
39343
39344 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39345
39346         * include/dirent.h: Include <dirstream.h> before
39347         <dirent/dirent.h>.
39348
39349 2012-02-28  David S. Miller  <davem@davemloft.net>
39350
39351         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39352         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39353         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39354         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39355
39356 2012-02-27  David S. Miller  <davem@davemloft.net>
39357
39358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39360         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39361         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39362
39363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39364         frame pointer instead of stack pointer relative arg slot.
39365         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39366         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39367         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39368
39369 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39370
39371         [BZ #3992]
39372         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39373
39374 2012-02-27  David S. Miller  <davem@davemloft.net>
39375
39376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39380         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39381         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39382         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39383         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39384
39385 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39386
39387         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39388         later.  Allow versions 5-9.
39389         * configure: Regenerated.
39390         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39391         required minimum version and 4.6 as recommended version.  Do not
39392         mention bugs in GCC 2.7 and 2.8.
39393         * INSTALL: Regenerated.
39394
39395 2012-02-27  David S. Miller  <davem@davemloft.net>
39396
39397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39401         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39402         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39403         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39404         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39405
39406         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39407         manipulate bits before adding and subtracting TWO112[sx].
39408         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39409
39410 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39411
39412         [BZ #13775]
39413         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39414         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39415         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39416         being in POSIX, because they are in 1003.1-2008.
39417
39418         * rt/tst-aio.c: Include <fcntl.h>.
39419         * rt/tst-aio7.c: Likewise.
39420         * rt/tst-aio64.c: Likewise.
39421
39422         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39423
39424 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39425
39426         * manual/install.texi (--with-headers): Describe headers as
39427         interface headers, not private headers.
39428         (Specific advice for GNU/Linux systems): Describe use of headers
39429         from "make headers_install", not private headers from older
39430         kernels.
39431         * INSTALL: Regenerated.
39432         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39433         Change to 2.6.19.
39434         * sysdeps/unix/sysv/linux/configure: Regenerated.
39435
39436         * manual/llio.texi (fclean): Remove documentation.
39437
39438         * manual/Makefile (libc-texi-generated): New variable.  Include
39439         version.texi.
39440         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39441         $(libc-texi-generated), not duplicated list of files.
39442         (version.texi, stamp-version): New rules.
39443         (realclean): Remove $(libc-texi-generated), not individual files
39444         from that list.  Do not remove dir-add.texinfo.
39445         * manual/libc.texinfo: Comment out uses of edition numbers and
39446         references to printed manual.  Remove last-updated dates.
39447         (EDITION): Comment out.
39448         (ISBN): Likewise.
39449         (VERSION, UPDATED): Remove.
39450         (version.texi): Include.
39451
39452 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
39453
39454         * sysdeps/posix/spawni.c: Include <signal.h>.
39455         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39456         * sysdeps/pthread/aio_fsync.c: Likewise.
39457
39458 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
39459
39460         * conform/Makefile (tests): Run only when not cross-compiling and
39461         when fast-check is not defined.
39462
39463         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39464         * conform/data/limits.h-data: Fixes for POSIX2008.
39465         * conform/run-conformtest.sh: Run all tests.
39466         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39467         headers.
39468         * include/bits/dlfcn.h: Likewise.
39469         * include/langinfo.h: Likewise.
39470         * include/monetary.h: Likewise.
39471         * include/sys/poll.h: Likewise.
39472
39473         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39474         for __USE_GNU.
39475         * posix/spawn.h: Define __need_sigset_t.
39476         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39477         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39478         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
39479         to get sigevent_t only.
39480         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39481         only for __USE_GNU.
39482         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39483         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39484         process_vm_writev only for __USE_GNU.
39485         * termios/termios.h: Declare tcgetsid also for POSIX2008.
39486
39487         * conform/Makefile: For now ignore errors from run-conformtest.
39488         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
39489         POSIX to avoid namespace pollution.  Don't prepend headers.
39490         * conform/data/aio.h-data: Fixes for POSIX testing.
39491         * conform/data/fcntl.h-data: Likewise.
39492         * conform/data/glob.h-data: Likewise.
39493         * conform/data/grp.h-data: Likewise.
39494         * conform/data/pthread.h-data: Likewise.
39495         * conform/data/pwd.h-data: Likewise.
39496         * conform/data/signal.h-data: Likewise.
39497         * conform/data/spawn.h-data: Likewise.
39498         * conform/data/stdio.h-data: Likewise.
39499         * conform/data/stdlib.h-data: Likewise.
39500         * conform/data/stropts.h-data: Likewise.
39501         * conform/data/sys/mman.h-data: Likewise.
39502         * conform/data/sys/stat.h-data: Likewise.
39503         * conform/data/sys/types.h-data: Likewise.
39504         * conform/data/sys/wait.h-data: Likewise.
39505         * conform/data/time.h-data: Likewise.
39506         * conform/data/unistd.h-data: Likewise.
39507         * conform/data/utime.h-data: Likewise.
39508
39509         * io/sys/stat.h: fchmod was always in POSIX.
39510         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39511         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39512         * rt/aio.h: Define __need_timespec before including <time.h>.
39513         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39514         struct.  Add forward declaration of pthread_attr_t and use it in
39515         sigevent.
39516         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39517         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39518         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39519         always remove CLK_TCK definition.
39520
39521 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
39522
39523         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39524
39525 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
39526
39527         * conform/run-conformtest.sh: New file.
39528         * conform/Makefile: Run run-conformtest for tests.
39529         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
39530         support.
39531
39532         * conform/data/uchar.h-data: New file.
39533         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39534         * conform/data/arpa/inet.h-data: Likewise.
39535         * conform/data/assert.h-data: Likewise.
39536         * conform/data/complex.h-data: Likewise.
39537         * conform/data/cpio.h-data: Likewise.
39538         * conform/data/ctype.h-data: Likewise.
39539         * conform/data/dirent.h-data: Likewise.
39540         * conform/data/dlfcn.h-data: Likewise.
39541         * conform/data/errno.h-data: Likewise.
39542         * conform/data/fcntl.h-data: Likewise.
39543         * conform/data/float.h-data: Likewise.
39544         * conform/data/fmtmsg.h-data: Likewise.
39545         * conform/data/fnmatch.h-data: Likewise.
39546         * conform/data/ftw.h-data: Likewise.
39547         * conform/data/glob.h-data: Likewise.
39548         * conform/data/grp.h-data: Likewise.
39549         * conform/data/iconv.h-data: Likewise.
39550         * conform/data/inttypes.h-data: Likewise.
39551         * conform/data/langinfo.h-data: Likewise.
39552         * conform/data/libgen.h-data: Likewise.
39553         * conform/data/limits.h-data: Likewise.
39554         * conform/data/locale.h-data: Likewise.
39555         * conform/data/math.h-data: Likewise.
39556         * conform/data/monetary.h-data: Likewise.
39557         * conform/data/mqueue.h-data: Likewise.
39558         * conform/data/ndbm.h-data: Likewise.
39559         * conform/data/net/if.h-data: Likewise.
39560         * conform/data/netdb.h-data: Likewise.
39561         * conform/data/netinet/in.h-data: Likewise.
39562         * conform/data/nl_types.h-data: Likewise.
39563         * conform/data/poll.h-data: Likewise.
39564         * conform/data/pthread.h-data: Likewise.
39565         * conform/data/pwd.h-data: Likewise.
39566         * conform/data/regex.h-data: Likewise.
39567         * conform/data/sched.h-data: Likewise.
39568         * conform/data/search.h-data: Likewise.
39569         * conform/data/semaphore.h-data: Likewise.
39570         * conform/data/setjmp.h-data: Likewise.
39571         * conform/data/signal.h-data: Likewise.
39572         * conform/data/spawn.h-data: Likewise.
39573         * conform/data/stdarg.h-data: Likewise.
39574         * conform/data/stdio.h-data: Likewise.
39575         * conform/data/stdlib.h-data: Likewise.
39576         * conform/data/string.h-data: Likewise.
39577         * conform/data/strings.h-data: Likewise.
39578         * conform/data/stropts.h-data: Likewise.
39579         * conform/data/sys/ipc.h-data: Likewise.
39580         * conform/data/sys/mman.h-data: Likewise.
39581         * conform/data/sys/msg.h-data: Likewise.
39582         * conform/data/sys/resource.h-data: Likewise.
39583         * conform/data/sys/select.h-data: Likewise.
39584         * conform/data/sys/sem.h-data: Likewise.
39585         * conform/data/sys/shm.h-data: Likewise.
39586         * conform/data/sys/socket.h-data: Likewise.
39587         * conform/data/sys/stat.h-data: Likewise.
39588         * conform/data/sys/statvfs.h-data: Likewise.
39589         * conform/data/sys/time.h-data: Likewise.
39590         * conform/data/sys/timeb.h-data: Likewise.
39591         * conform/data/sys/times.h-data: Likewise.
39592         * conform/data/sys/types.h-data: Likewise.
39593         * conform/data/sys/uio.h-data: Likewise.
39594         * conform/data/sys/un.h-data: Likewise.
39595         * conform/data/sys/utsname.h-data: Likewise.
39596         * conform/data/sys/wait.h-data: Likewise.
39597         * conform/data/syslog.h-data: Likewise.
39598         * conform/data/tar.h-data: Likewise.
39599         * conform/data/termios.h-data: Likewise.
39600         * conform/data/utime.h-data: Likewise.
39601         * conform/data/utmpx.h-data: Likewise.
39602         * conform/data/varargs.h-data: Likewise.
39603         * conform/data/wchar.h-data: Likewise.
39604         * conform/data/wctype.h-data: Likewise.
39605         * conform/data/wordexp.h-data: Likewise.
39606
39607         * include/stropts.h: New file.
39608         * include/uchar.h: New file.
39609         * include/aio.h: Changes to allow conformtest.pl to use the headers.
39610         * include/assert.h: Likewise.
39611         * include/ctype.h: Likewise.
39612         * include/dirent.h: Likewise.
39613         * include/dlfcn.h: Likewise.
39614         * include/fcntl.h: Likewise.
39615         * include/fnmatch.h: Likewise.
39616         * include/glob.h: Likewise.
39617         * include/grp.h: Likewise.
39618         * include/libio.h: Likewise.
39619         * include/locale.h: Likewise.
39620         * include/math.h: Likewise.
39621         * include/net/if.h: Likewise.
39622         * include/netdb.h: Likewise.
39623         * include/netinet/in.h: Likewise.
39624         * include/pthread.h: Likewise.
39625         * include/pwd.h: Likewise.
39626         * include/regex.h: Likewise.
39627         * include/sched.h: Likewise.
39628         * include/search.h: Likewise.
39629         * include/setjmp.h: Likewise.
39630         * include/signal.h: Likewise.
39631         * include/stdio.h: Likewise.
39632         * include/stdlib.h: Likewise.
39633         * include/string.h: Likewise.
39634         * include/sys/cdefs.h: Likewise.
39635         * include/sys/mman.h: Likewise.
39636         * include/sys/msg.h: Likewise.
39637         * include/sys/resource.h: Likewise.
39638         * include/sys/select.h: Likewise.
39639         * include/sys/socket.h: Likewise.
39640         * include/sys/stat.h: Likewise.
39641         * include/sys/statvfs.h: Likewise.
39642         * include/sys/time.h: Likewise.
39643         * include/sys/times.h: Likewise.
39644         * include/sys/uio.h: Likewise.
39645         * include/sys/utsname.h: Likewise.
39646         * include/sys/wait.h: Likewise.
39647         * include/termios.h: Likewise.
39648         * include/time.h: Likewise.
39649         * include/ulimit.h: Likewise.
39650         * include/unistd.h: Likewise.
39651         * include/utime.h: Likewise.
39652         * include/wchar.h: Likewise.
39653         * include/wctype.h: Likewise.
39654         * include/wordexp.h: Likewise.
39655
39656         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39657
39658         * time/time.h: TIME_UTC must be a macro.
39659         Make timespec_get available for ISO C11 only as well.
39660
39661 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
39662
39663         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39664         Reported by Peng Haitao <penght@cn.fujitsu.com>.
39665
39666 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39667
39668         * configure.in: Use -o not -a in test for unsupported multi-arch.
39669
39670 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39671
39672         * manual/texinfo.tex: Update to version 2012-01-19.16.
39673
39674 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39675
39676         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39677
39678 2012-02-24  Roland McGrath  <roland@hack.frob.com>
39679
39680         [BZ #13738]
39681         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39682         * manual/fdl-1.3.texi: New file.
39683         * manual/fdl-1.1.texi: File removed.
39684
39685         [BZ #13738]
39686         * manual/libc.texinfo (FDL_VERSION): New @set.
39687         Use it for mention of FDL in cover text.
39688         (Documentation License): Use it in @include file name.
39689
39690 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39691             Roland McGrath  <roland@hack.frob.com>
39692
39693         [BZ #5461]
39694         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39695         (not LONG_LONG_MAX and LONG_LONG_MIN.
39696         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39697         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
39698         name.
39699         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39700
39701 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39702
39703         [BZ #2547]
39704         [BZ #11365]
39705         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39706         manipulate bits before adding and subtracting TWO23[sx].
39707         * math/libm-test.inc (nearbyint_test): Add more tests.
39708
39709 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39710
39711         [BZ #2548]
39712         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39713         bits before adding and subtracting TWO23[sx].
39714         * math/libm-test.inc (rint_test): Add more tests.
39715         (rint_test_tonearest): Likewise.
39716         (rint_test_towardzero): Likewise.
39717         (rint_test_downward): Likewise.
39718         (rint_test_upward: Likewise.
39719
39720 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39721
39722         [BZ #10110]
39723         * include/stdc-predef.h: New file.  Extracted from features.h.
39724         * include/features.h: Include stdc-predef.h.
39725         * Makefile (headers): Add stdc-predef.h.
39726         * CONFORMANCE (Compiler limitations): Update.
39727
39728 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39729
39730         * manual/libc.texinfo (VERSION, UPDATED): Revert.
39731
39732 2012-02-21  David S. Miller  <davem@davemloft.net>
39733
39734         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39735         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39736
39737 2012-02-20  David S. Miller  <davem@davemloft.net>
39738
39739         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39740         using a normal save/restore sequence, rather than allocating a
39741         dummy stack frame just to store a frame pointer and restore.
39742         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39743
39744 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39745
39746         * manual/install.texi: Fix stray word in line-wrapped comment.
39747
39748 2012-02-20  David S. Miller  <davem@davemloft.net>
39749
39750         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39751         both binutils and gcc support GOTDATA.
39752
39753         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39754         "rd %pc" in the PIC register setup sequences.
39755
39756         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39757         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39758         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39759         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39760         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39761         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39762         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39763         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39764         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39765         (SYSCALL_ERROR_HANDLER): Likewise.
39766         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39767         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39768         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39769         (SYSCALL_ERROR_HANDLER): Likewise.
39770
39771         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39772         (HAVE_GCC_GOTDATA): New.
39773         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39774         relocation support in both binutils and gcc.
39775         * sysdeps/sparc/elf/configure: Regenerate.
39776
39777         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39778         * sysdeps/sparc/sparc32/elf/configure: Delete.
39779         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39780         * sysdeps/sparc/sparc64/elf/configure: Delete.
39781         * sysdeps/sparc/elf/configure.in: New file.
39782         * sysdeps/sparc/elf/configure: Generate.
39783
39784         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39785         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39786         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39787         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39788         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39789
39790 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39791
39792         * manual/install.texi: Do not mention specific glibc version
39793         numbers.
39794         * manual/libc.texinfo (VERSION, UPDATED): Update.
39795         (@copying): Use @copyright{} and range of years.
39796
39797 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39798
39799         [BZ #13695]
39800         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39801         [crti.S not in sysdirs] (generated): Do not append.
39802         [crti.S not in sysdirs] (omit-deps): Likewise.
39803         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39804         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39805         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39806         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39807         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39808         Likewise.
39809         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39810         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39811         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39812         * csu/defs.awk: Remove file.
39813         * sysdeps/generic/initfini.c: Likewise.
39814         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39815         variable.
39816         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39817         Likewise.
39818
39819 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39820
39821         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39822         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39823         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39824         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39825         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39826         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39827         <bits/epoll.h>.
39828         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39829         (__EPOLL_PACKED): Define to empty if not defined by
39830         <bits/epoll.h>.
39831         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39832         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39833         bits/epoll.h.
39834
39835 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39836
39837         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39838         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39839         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39840         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39841         <bits/timerfd.h>.
39842         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39843         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39844         bits/timerfd.h.
39845
39846 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39847
39848         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39849         in C locale.
39850         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39851         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39852         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39854
39855 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
39856
39857         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39858         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39859
39860 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
39861
39862         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39863         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39864         defined.
39865         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39866         Likewise.
39867         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39868         entry for 2.16.
39869
39870 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
39871
39872         * math/w_acos.c: Use non-signaling floating-point comparisons.
39873         * math/w_acosf.c: Likewise.
39874         * math/w_acosh.c: Likewise.
39875         * math/w_acoshf.c: Likewise.
39876         * math/w_acoshl.c: Likewise.
39877         * math/w_acosl.c: Likewise.
39878         * math/w_asin.c: Likewise.
39879         * math/w_asinf.c: Likewise.
39880         * math/w_asinl.c: Likewise.
39881         * math/w_atanh.c: Likewise.
39882         * math/w_atanhf.c: Likewise.
39883         * math/w_atanhl.c: Likewise.
39884         * math/w_exp2.c: Likewise.
39885         * math/w_exp2f.c: Likewise.
39886         * math/w_exp2l.c: Likewise.
39887         * math/w_j0.c: Likewise.
39888         * math/w_j0f.c: Likewise.
39889         * math/w_j0l.c: Likewise.
39890         * math/w_j1.c: Likewise.
39891         * math/w_j1f.c: Likewise.
39892         * math/w_j1l.c: Likewise.
39893         * math/w_jn.c: Likewise.
39894         * math/w_jnf.c: Likewise.
39895         * math/w_log.c: Likewise.
39896         * math/w_log10.c: Likewise.
39897         * math/w_log10f.c: Likewise.
39898         * math/w_log10l.c: Likewise.
39899         * math/w_log2.c: Likewise.
39900         * math/w_log2f.c: Likewise.
39901         * math/w_log2l.c: Likewise.
39902         * math/w_logf.c: Likewise.
39903         * math/w_logl.c: Likewise.
39904         * math/w_sqrt.c: Likewise.
39905         * math/w_sqrtf.c: Likewise.
39906         * math/w_sqrtl.c: Likewise.
39907         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39908         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39909         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39910         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39911         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39912
39913 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39914
39915         [BZ #9739]
39916         * manual/string.texi (strnlen): Use correct parameter name in
39917         equivalent expression.
39918
39919 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39920
39921         [BZ #11174]
39922         * manual/users.texi (seteuid): Consistently use neweuid for
39923         argument name.
39924
39925 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39926
39927         [BZ #13704]
39928         * manual/nss.texi (Services in the NSS configuration): Correct
39929         list of services in example configuration file.
39930
39931 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
39932
39933         [BZ #11322]
39934         * manual/arith.texi: Remove statements about negative zero
39935         behaving identically to zero.
39936
39937 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39938
39939         [BZ #5993]
39940         * manual/install.texi: Do not document upgrading from libc5.
39941
39942 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39943
39944         [BZ #4596]
39945         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39946
39947 2012-02-18  David S. Miller  <davem@davemloft.net>
39948
39949         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39950         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39951         %o7 across the call.
39952         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39953         instead.
39954         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39955         SETUP_PIC_REG_LEAF.
39956         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39957         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39958         * sysdeps/sparc/crtn.S: Likewise.
39959
39960 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
39961
39962         * aout/Makefile: Remove.
39963
39964 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
39965
39966         [BZ #13058]
39967         * manual/examples/argp-ex1.c (main): Format definition in GNU
39968         style.
39969         * manual/examples/argp-ex2.c (main): Likewise.
39970         * manual/examples/argp-ex3.c (main): Likewise.
39971         * manual/examples/argp-ex4.c (main): Likewise.
39972         * manual/examples/longopt.c (main): Use new-style prototype
39973         definition.
39974         * manual/examples/strncat.c (main): Specify return type and use
39975         (void) for arguments.
39976         * manual/examples/subopt.c (main): Use char **argv argument.
39977
39978 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39979
39980         [BZ #5077]
39981         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39982         rounding modes.
39983
39984 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
39985
39986         [BZ #6907]
39987         * manual/string.texi (strchr): Change when strchrnul is
39988         recommended.
39989
39990 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
39991
39992         [BZ #174]
39993         * manual/locale.texi (setlocale): Document LOCPATH.
39994
39995 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39996
39997         [BZ #10210]
39998         * manual/process.texi (execle): Move @dots{} before last argument.
39999
40000 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
40001
40002         [BZ #12047]
40003         * manual/charset.texi (Generic Charset Conversion): Fix typo
40004         (LC_TYPE -> LC_CTYPE).
40005
40006 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
40007
40008         [BZ #5805]
40009         * manual/arith.texi (scalbn): Use @var{} on parameter names.
40010         (scalbnf): Likewise.
40011         (scalbnl): Likewise.
40012         (scalbln): Likewise.
40013         (scalblnf): Likewise.
40014         (scalblnl): Likewise.
40015         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40016         (vwarnx): Likewise.
40017         (verr): Likewise.
40018         (verrx): Likewise.
40019         * manual/filesys.texi (telldir): Use braces around return type.
40020         * manual/llio.texi (mmap): Add space after comma.
40021         (mmap64): Likewise.
40022         * manual/math.texi (jn): Use @var{} on parameter names.
40023         (jnf): Likewise.
40024         (jnl): Likewise.
40025         (yn): Likewise.
40026         (ynf): Likewise.
40027         (ynl): Likewise.
40028         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40029         line.
40030         * manual/resource.texi (ulimit): Use @dots{} instead of literal
40031         "...".
40032         (sched_get_priority_min): Remove semicolon on @deftypefun line.
40033         (sched_get_priority_max): Likewise.
40034         * manual/signal.texi (sigvec): Add space after comma.
40035         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40036         names.
40037         (if_indextoname): Likewise.
40038         (if_freenameindex): Likewise.
40039         (sendto): Use ',' instead of '.' in prototype.
40040         * manual/startup.texi (syscall): Use @dots{} instead of literal
40041         "...".
40042         * manual/stdio.texi (__fpending): Separate initial words of
40043         paragraph from @deftypefun line.
40044         * manual/syslog.texi (syslog): Use @dots{} instead of literal
40045         "...".
40046         (vsyslog): Use @var{} on parameter names.
40047         * manual/terminal.texi (stty): Use @var{} on parameter names.
40048         * manual/users.texi (getutmp): Use @var{} on parameter names.
40049         (getutmpx): Likewise.
40050
40051 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40052
40053         [BZ #6884]
40054         * manual/stdio.texi (fopen): Fix typos in description of
40055         ",ccs=STRING".
40056
40057 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
40058
40059         [BZ #4026]
40060         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40061         get clock_id definition.
40062
40063 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
40064
40065         [BZ #4822]
40066         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40067         (madvise): Cast every argument to void on its own.
40068
40069 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40070
40071         [BZ #9902]
40072         * manual/startup.texi (Exit Status): Fix typo.
40073
40074 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40075
40076         [BZ #10140]
40077         * manual/examples/argp-ex1.c: Include <stdlib.h>.
40078         * manual/examples/argp-ex2.c: Likewise.
40079         * manual/examples/argp-ex3.c: Likewise.
40080
40081 2012-02-16  Richard Henderson  <rth@redhat.com>
40082
40083         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40084         * sysdeps/s390/s390-32/initfini.c: Remove.
40085         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40086         * sysdeps/s390/s390-64/initfini.c: Remove.
40087
40088 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40089
40090         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40091         compiler output for sysdeps/generic/initfini.c.
40092         * sysdeps/sh/elf/initfini.c: Remove file.
40093
40094 2012-02-16  David S. Miller  <davem@davemloft.net>
40095
40096         [BZ #11494]
40097         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40098
40099         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40100         * sysdeps/sparc/crti.S: New file.
40101         * sysdeps/sparc/crtn.S: New file.
40102         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40103         * sysdeps/sparc/sparc64/Makefile: Likewise.
40104
40105 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
40106
40107         [BZ #3335]
40108         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40109
40110 2012-02-15  Roland McGrath  <roland@hack.frob.com>
40111
40112         [BZ #4822]
40113         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40114
40115         * mach/devstream.c (cookie_io_functions_t): Macro removed.
40116         (write, read, close): Likewise.
40117         Patch by Aurelien Jarno <aurelien@aurel32.net>.
40118
40119 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
40120
40121         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40122         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40123         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40124         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40125         <bits/signalfd.h>.
40126         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40127         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40128         bits/signalfd.h.
40129
40130 2012-02-14  Marek Polacek  <polacek@redhat.com>
40131
40132         * sysdeps/x86_64/crti.S: New file.
40133         * sysdeps/x86_64/crtn.S: New file.
40134         * sysdeps/x86_64/elf/initfini.c: Remove file.
40135
40136 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40137
40138         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40139         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40140         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40141         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40142         <bits/inotify.h>.
40143         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40144         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40145         bits/inotify.h.
40146
40147 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40148
40149         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40150         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40151         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40152         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40153         <bits/eventfd.h>.
40154         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40155         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40156         bits/eventfd.h.
40157
40158 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
40159
40160         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40161         __feraiseexcept instead of feraiseexcept.
40162
40163         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40164         nanosleep invocations.
40165         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40166         strings, and add error checking for a nanosleep invocations.
40167
40168 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
40169
40170         Replace FSF snail mail address with URLs, as per GNU coding standards.
40171         Most of the snail mail addresses were wrong anyway, and omitting
40172         them makes the source code easier to maintain.  Almost all of the
40173         changes are to license notices and to locale LC_IDENTIFICATION
40174         addresses, except for this one:
40175         * manual/libc.texinfo: In "Published by", give the FSF's URL,
40176         not its snail mail address.
40177
40178 2012-02-09  Richard Henderson  <rth@twiddle.net>
40179
40180         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40181         of kernel-features.h.
40182
40183         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40184
40185 2012-02-08  Marek Polacek  <polacek@redhat.com>
40186
40187         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40188         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40189         * sysdeps/gnu/_G_config.h: Likewise.
40190         * sysdeps/generic/_G_config.h: Likewise.
40191
40192 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
40193
40194         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40195         tests.
40196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40197
40198         * sysdeps/powerpc/powerpc32/crti.S: New file.
40199         * sysdeps/powerpc/powerpc32/crtn.S: New file.
40200         * sysdeps/powerpc/powerpc64/crti.S: New file.
40201         * sysdeps/powerpc/powerpc64/crtn.S: New file.
40202
40203         * Makeconfig (have-initfini): Don't set.
40204         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40205         * configure.in (nopic_initfini): Don't substitute.
40206         * config.h.in (HAVE_INITFINI): Don't #undef.
40207         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40208         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40209
40210 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
40211
40212         Support crti.S and crtn.S provided directly by architectures.
40213         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40214         [crti.S in sysdirs] (omit-deps): Likewise.
40215         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40216         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40217         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40218         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40219         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40220         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40221         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40222         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40223         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40224         compiler output for sysdeps/generic/initfini.c.
40225         * sysdeps/i386/elf/Makefile: Remove file.
40226         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40227
40228 2012-02-07  Marek Polacek  <polacek@redhat.com>
40229
40230         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40231         * sysdeps/gnu/_G_config.h: Likewise.
40232         * sysdeps/mach/hurd/_G_config.h: Likewise.
40233
40234 2012-02-07  Marek Polacek  <polacek@redhat.com>
40235
40236         * math/Makefile (tests): Add tst-CMPLX2.
40237         * math/tst-CMPLX2.c: New file.
40238
40239 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
40240
40241         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40242
40243         * math/libm-test.inc (jn_test): Add missing L suffix.
40244
40245 2012-02-06  Marek Polacek  <polacek@redhat.com>
40246
40247         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40248         * sysdeps/i386/fpu/e_powf.S: Likewise.
40249         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40250         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40251         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40252         * sysdeps/i386/fpu/e_pow.S: Likewise.
40253         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40254         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40255         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40256         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40257         * sysdeps/i386/fpu/e_log2.S: Likewise.
40258         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40259         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40260         * sysdeps/i386/fpu/e_powl.S: Likewise.
40261         * sysdeps/i386/fpu/s_log1p.S: Likewise.
40262         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40263         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40264         * sysdeps/i386/fpu/e_logl.S: Likewise.
40265         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40266         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40267         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40268         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40269         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40270         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40271         * sysdeps/i386/fpu/e_log.S: Likewise.
40272         * sysdeps/i386/fpu/s_cexp.S: Likewise.
40273         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40274         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40275         * sysdeps/i386/fpu/e_logf.S: Likewise.
40276         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40277         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40278         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40279         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40280         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40281         * sysdeps/i386/fpu/e_log10.S: Likewise.
40282         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40283         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40284         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40285         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40286         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40287         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40288         * sysdeps/i386/asm-syntax.h: Likewise.
40289         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40290         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40291         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40292         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40293         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40294         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40295         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40296         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40297         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40298         * sysdeps/powerpc/sysdep.h: Likewise.
40299         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40300         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40301
40302 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40303
40304         [BZ #411]
40305         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40306
40307 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40308
40309         * sysdeps/i386/sysdep.h: Include <features.h>.
40310         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40311         version.
40312
40313 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40314
40315         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40316         Define.
40317         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40318         LOAD_PIC_REG_STR.
40319
40320 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40321
40322         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40323         (SETUP_PIC_REG): Use GET_PC_THUNK.
40324         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40325         macro.
40326
40327 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40328
40329         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40330         for non-PIC compilation.
40331         (SETUP_PIC_REG): Add .p2align directive.
40332         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40333         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40334         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40335         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40336         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40337         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40338         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40339         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40340         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40341         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40342         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40343         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40344         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40345         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40346         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40347         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40348         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40349         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40350         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40351         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40352         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40353         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40354         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40355         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40356         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40357         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40358         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40359         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40360         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40361         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40362         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40363         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40364         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40365         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40366         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40367         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40368         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40369         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40370         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40371         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40372         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40373
40374 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40375
40376         * math/tst-CMPLX.c: Include <stdio.h>.
40377
40378 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40379
40380         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40381         float.
40382         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40383         * sysdeps/sparc/bits/mathdef.h: Likewise.
40384
40385 2012-01-31  Marek Polacek  <polacek@redhat.com>
40386
40387         * libio/libio.h: Don't define _PARAMS.
40388         * locale/programs/config.h: Don't define PARAMS.
40389         * stdlib/strtol_l.c: Likewise.
40390         (__strtol_l): Remove PARAMS from the prototype.
40391
40392 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40393
40394         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40395         names.  Just use the correct names.  Remove unnecessary wrapper
40396         functions.
40397         * malloc/arena.c: Likewise.
40398         * malloc/hooks.c: Likewise.
40399
40400         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40401         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40402         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40403
40404 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40405
40406         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40407         into tail calls.
40408         (update_get_addr): New function.
40409         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40410         GET_ADDR_MODULE parameter.
40411
40412 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40413
40414         * crypt/cert.c: Remove __STDC__ conditionals.
40415         * crypt/crypt-entry.c: Likewise.
40416         * crypt/crypt_util.c: Likewise.
40417         * libio/filedoalloc.c: Likewise.
40418         * libio/fileops.c: Likewise.
40419         * libio/genops.c: Likewise.
40420         * libio/iofclose.c: Likewise.
40421         * libio/iofdopen.c: Likewise.
40422         * libio/iofopen.c: Likewise.
40423         * libio/iofopen64.c: Likewise.
40424         * libio/iogetdelim.c: Likewise.
40425         * libio/iopopen.c: Likewise.
40426         * libio/obprintf.c: Likewise.
40427         * libio/oldfileops.c: Likewise.
40428         * libio/oldiofclose.c: Likewise.
40429         * libio/oldiofdopen.c: Likewise.
40430         * libio/oldiofopen.c: Likewise.
40431         * libio/oldiopopen.c: Likewise.
40432         * libio/wfiledoalloc.c: Likewise.
40433         * libio/wgenops.c: Likewise.
40434         * locale/programs/xmalloc.c: Likewise.
40435         * misc/syslog.c: Likewise.
40436         * stdio-common/xbug.c: Likewise.
40437         * string/memchr.c: Likewise.
40438         * string/memcmp.c: Likewise.
40439         * string/memrchr.c: Likewise.
40440         * string/rawmemchr.c: Likewise.
40441         * sysdeps/posix/getcwd.c: Likewise.
40442         * time/strftime_l.c: Likewise.
40443
40444 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40445
40446         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40447         * config.make.in (config-cflags-sse2avx): Define.
40448         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40449         Fix typo.
40450
40451 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
40452
40453         * scripts/config.guess: Update from upstream config git repository.
40454         * scripts/config.sub: Likewise.
40455
40456 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
40457
40458         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40459         (EM_NUM): Update.
40460         (R_TILEPRO_*, R_TILEGX_*): New macros.
40461
40462         * scripts/firstversions.awk: Fix bug in version range handling.
40463
40464         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40465
40466         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40467
40468         * include/sys/epoll.h: New file.
40469         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40470         libc_hidden_def.
40471
40472 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
40473
40474         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40475         Avoid unnecessary __WORDSIZE == 64 test.
40476         (fmaxf): Use VEX format if possible.
40477         (fmax): Likewise.
40478         (fminf): Likewise.
40479         (fmin): Likewise.
40480
40481         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40482         * math/math_private.h: Remove libc_fegetround* and
40483         libc_fesetround*.
40484         * sysdeps/i386/configure.in: Check for -msse2avx.
40485         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40486         also if SSE2AVX is defined.
40487         Remove libc_fegetround* and libc_fesetround*.
40488         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40489         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
40490         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40491         of HAS_YMM_USABLE.
40492         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40493         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40494         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40495         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40496         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40497
40498         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40499
40500 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40501
40502         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40503         size is not set.
40504         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40505
40506 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
40507
40508         [BZ #13618]
40509         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40510         relocation.
40511         * Makeconfig (libm): Define.
40512         * elf/Makefile: Add rules to build and run tst-relsort1.
40513         * elf/tst-relsort1.c: New file.
40514         * elf/tst-relsort1mod1.c: New file.
40515         * elf/tst-relsort1mod2.c: New file.
40516
40517 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
40518
40519         * math/s_ldexp.c: Remove __STDC__ conditionals.
40520         * math/s_ldexpf.c: Likewise.
40521         * math/s_ldexpl.c: Likewise.
40522         * math/s_nextafter.c: Likewise.
40523         * math/s_nexttowardf.c: Likewise.
40524         * math/s_significand.c: Likewise.
40525         * math/s_significandf.c: Likewise.
40526         * math/s_significandl.c: Likewise.
40527         * math/w_jnl.c: Likewise.
40528         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40529         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40530         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40531         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40532         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40533         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40534         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40535         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40536         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40537         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40538         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40539         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40540         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40541         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40542         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40543         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40544         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40545         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40546         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40547         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40548         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40549         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40550         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40551         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40552         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40553         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40554         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40555         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40556         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40557         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40558         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40559         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40560         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40561         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40562         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40563         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40564         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40565         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40566         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40567         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40568         * sysdeps/ieee754/k_standard.c: Likewise.
40569         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40570         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40571         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40572         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40573         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40574         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40575         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40576         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40577         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40578         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40579         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40580         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40581         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40582         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40583         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40584         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40585         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40586         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40587         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40588         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40589         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40590         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40591         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40592         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40593         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40594         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40595         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40596         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40597         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40598         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40599         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40600         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40601         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40602         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40603         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40604         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40605         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40606         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40607         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40608         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40609         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40610         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40611         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40612         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40613         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40614         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40615         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40616         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40617         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40618         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40619         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40620         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40621         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40622         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40623         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40624         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40625         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40626         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40627         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40628         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40629         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40630         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40631         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40632         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40633         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40634         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40635         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40636         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40637         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40638         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40639         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40640         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40641         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40642         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40643         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40644         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40645         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40646         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40647         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40648         * sysdeps/ieee754/s_matherr.c: Likewise.
40649         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40650         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40651         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40652         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40653
40654 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40655
40656         * crypt/md5.h: Remove __STDC__ conditionals.
40657         * libio/libioP.h: Likewise.
40658         * locale/programs/config.h: Likewise.
40659         * sysdeps/generic/sysdep.h: Likewise.
40660         * sysdeps/i386/asm-syntax.h: Likewise.
40661         * sysdeps/s390/asm-syntax.h: Likewise.
40662         * sysdeps/unix/sysdep.h: Likewise.
40663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40665
40666 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40667
40668         * libio/libio.h: Remove __STDC__ conditionals.
40669         * malloc/obstack.h: Likewise.
40670         * math/complex.h: Likewise.
40671         * math/math.h: Likewise.
40672         * sysdeps/generic/_G_config.h: Likewise.
40673         * sysdeps/gnu/_G_config.h: Likewise.
40674         * sysdeps/mach/hurd/_G_config.h: Likewise.
40675         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40676         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40677         * sysdeps/sparc/bits/mathdef.h: Likewise.
40678
40679 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
40680
40681         [BZ #13583]
40682         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40683         Clean up HAS_* macros.
40684         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40685         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40686         possible.
40687         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40688         HAS_AVX.
40689         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40690         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40691         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40692         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40693         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40694
40695 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
40696
40697         * elf/tst-unique3.cc (gets): Remove declaration.
40698         * elf/tst-unique3lib.cc (gets): Likewise.
40699         * elf/tst-unique3lib2.cc (gets): Likewise.
40700         * elf/tst-unique4.cc (gets): Likewise.
40701
40702 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
40703
40704         * include/stdio.h: Add C++ protection.  Add gets declarations and
40705         definitions.
40706         * debug/tst-chk1.c: Don't declare gets here.
40707         * stdio-common/tst-gets.c: Likewise.
40708
40709 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40710
40711         * posix/glob: Remove directory.
40712
40713 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40714
40715         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40716
40717 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
40718
40719         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40720         of the non-standard EPFNOSUPPORT.
40721
40722 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40723
40724         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40725         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40726         ANYWHERE set to 1 only on KERN_NO_SPACE error.
40727
40728 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
40729
40730         * wcsmbs/uchar.h: Test __STDC_VERSION__.
40731
40732 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
40733
40734         * nscd/aicache.c (addhstaiX): Do not cache negative results of
40735         transient errors.
40736         * nscd/grpcache.c (cache_addgr): Likewise.
40737         * nscd/hstcache.c (cache_addhst): Likewise.
40738         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40739         * nscd/pwdcache.c (cache_addpw): Likewise.
40740         * nscd/servicescache.c (cache_addserv): Likewise.
40741
40742 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
40743
40744         * malloc/malloc.c: Various cleanups.
40745         * malloc/hooks.c: Likewise.
40746
40747         * stdlib/Makefile (tests): Add bug-fmtmsg1.
40748         * stdlib/bug-fmtmsg1.c: New file.
40749
40750         * stdlib/fmtmsg.c (init): Add missing unlock.
40751         Patch by Peng Haitao <penght@cn.fujitsu.com>.
40752
40753 2012-01-12  Marek Polacek  <polacek@redhat.com>
40754
40755         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40756         and _GNU_SOURCE.
40757
40758 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40759
40760         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40761         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40762         macro to ensure uniqueness of label name.
40763         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40764         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40765
40766 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
40767
40768         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40769
40770         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40771         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40772         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40773         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40774
40775 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
40776
40777         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40778
40779         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40780         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40781         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40782
40783         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40784
40785         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40786         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40787         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40788         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40789
40790         * math/bits/math-finite.h: Add ldexp support.
40791
40792 2012-01-10  Marek Polacek  <polacek@redhat.com>
40793
40794         * locale/programs/localedef.h (show_archive_content): Add noreturn
40795         attribute.
40796
40797 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
40798
40799         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40800
40801 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40802
40803         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40804
40805         * io/Makefile (headers): Add bits/poll2.h.
40806
40807 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
40808
40809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40810         typo #include statement.
40811
40812 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40813
40814         * include/sys/cdefs.h: Define __attribute_alloc_size.
40815         * catgets/gencat.c: Add alloc_size attribute and apply consistently
40816         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40817         * elf/pldd.c: Likewise.
40818         * iconv/iconv_charmap.c: Likewise.
40819         * iconv/iconvconfig.c: Likewise.
40820         * iconv/strtab.c: Likewise.
40821         * locale/programs/locale.c: Likewise.
40822         * locale/programs/localedef.h: Likewise.
40823         * locale/programs/simple-hash.c: Likewise.
40824         * nscd/nscd.h: Likewise.
40825         * nss/makedb.c: Likewise.
40826         * sysdeps/generic/ldconfig.h: Likewise.
40827         * locale/programs/localedef.c: Remove xmalloc prototype.
40828         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40829
40830 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40831
40832         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40833         appropriate.
40834
40835 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40836
40837         * math/Makefile (tests): Add tst-CMPLX.
40838         * math/tst-CMPLX.c: New file.
40839
40840         * math/complex.h (CMPLXL): Fix typo.
40841
40842         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40843         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40844         GLIBC_2.16.
40845         * debug/tst-chk1.c: Add poll and ppoll tests.
40846         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40847         * include/sys/poll.h: Add hidden proto for ppoll.
40848         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40849         * sysdeps/mach/hurd/ppoll.c: Likewise.
40850         * io/ppoll.c: Likewise.
40851         * debug/poll_chk.c: New file.
40852         * debug/ppoll_chk.c: New file.
40853         * include/bits/poll2.h: New file.
40854         * io/bits/poll2.h: New file.
40855
40856         [BZ #1350]
40857         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40858
40859         * configure.in: static is always set to yes.  Remove.
40860         * config.make.in: Don't set build-static.
40861         * Makeconfig: Remove use of build-static.
40862         * dlfcn/Makefile: Likewise.
40863         * elf/Makefile: Likewise.
40864         * math/Makefile: Likewise.
40865         * misc/Makefile: Likewise.
40866         * nptl/Makefile: Likewise.
40867         * sysdeps/mach/hurd/Makefile: Likewise.
40868
40869         * configure.in: PWD_P is not used anymore.
40870         * config.make.in: Remove PWD_P entry.
40871
40872         * configure.in: Remove last remnants of RANLIB.
40873         No need to check for signed size_t anymore.
40874         Don't set libc_commonpagesize and libc_relro_required here for Alpha
40875         and IA-64.
40876         Remove __builtin_expect test because we require at least gcc 3.4.
40877         * aclocal.m4: Likewise.
40878
40879         * wcsmbs/mbrtoc16.c: Implement using towc function.
40880         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40881         * wcsmbs/wcsmbsload.c: Likewise.
40882         * iconv/gconv_simple.c: Likewise.
40883         * iconv/gconv_int.h: Likewise.
40884         * iconv/gconv_builtin.h: Likewise.
40885         * iconv/iconv_prog.c: Remove CHAR16 handling.
40886
40887         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40888
40889         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40890
40891         * configure.in: Remove --with-elf and --enable-bounded options.
40892         Dont set base_machine for ia64.  More non-ELF conditions removed.
40893         Remove testing and setting of leading underscore information.
40894         * config.make.in (build-bounded): Set to no.
40895         * config.h.in: Remove NO_UNDERSCORES entry.
40896         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
40897         them.
40898         * csu/start.c: Remove !NO_UNDERSCORE code.
40899         * locale/localeinfo.h: Likewise.
40900         * sysdeps/generic/machine-gmon.h: Likewise.
40901         * sysdeps/generic/sysdep.h: Likewise.
40902         * sysdeps/i386/sysdep.h: Likewise.
40903         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40904         * sysdeps/mach/sysdep.h: Likewise.
40905         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40906         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40907         * sysdeps/sh/sysdep.h: Likewise.
40908         * sysdeps/sparc/sparc32/alloca.S: Likewise.
40909         * sysdeps/unix/i386/sysdep.S: Likewise.
40910         * sysdeps/unix/sparc/start.c: Likewise.
40911         * sysdeps/unix/sparc/sysdep.S: Likewise.
40912         * sysdeps/unix/sparc/sysdep.h: Likewise.
40913         * sysdeps/unix/start.c: Likewise.
40914         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40915         * sysdeps/x86_64/sysdep.h: Likewise.
40916
40917 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
40918
40919         [BZ #13553]
40920         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40921         for non-gcc.
40922         * argp/argp-fmtstream.h: Use const instead __const.
40923         * argp/argp.h: Likewise.
40924         * assert/assert.h: Likewise.
40925         * bits/fenv.h: Likewise.
40926         * bits/sched.h: Likewise.
40927         * bits/sigset.h: Likewise.
40928         * bits/sigthread.h: Likewise.
40929         * catgets/nl_types.h: Likewise.
40930         * conform/data/pthread.h-data: Likewise.
40931         * crypt/crypt-private.h: Likewise.
40932         * crypt/crypt.h: Likewise.
40933         * crypt/crypt_util.c: Likewise.
40934         * ctype/ctype.h: Likewise.
40935         * debug/execinfo.h: Likewise.
40936         * debug/mbsnrtowcs_chk.c: Likewise.
40937         * debug/mbsrtowcs_chk.c: Likewise.
40938         * debug/wcsnrtombs_chk.c: Likewise.
40939         * debug/wcsrtombs_chk.c: Likewise.
40940         * debug/wcstombs_chk.c: Likewise.
40941         * dirent/dirent.h: Likewise.
40942         * dlfcn/dlfcn.h: Likewise.
40943         * elf/neededtest4.c: Likewise.
40944         * grp/grp.h: Likewise.
40945         * gshadow/gshadow.h: Likewise.
40946         * iconv/gconv.h: Likewise.
40947         * iconv/gconv_int.h: Likewise.
40948         * iconv/gconv_simple.c: Likewise.
40949         * iconv/iconv.h: Likewise.
40950         * iconv/loop.c: Likewise.
40951         * iconv/skeleton.c: Likewise.
40952         * include/aio.h: Likewise.
40953         * include/aliases.h: Likewise.
40954         * include/argz.h: Likewise.
40955         * include/arpa/inet.h: Likewise.
40956         * include/assert.h: Likewise.
40957         * include/dirent.h: Likewise.
40958         * include/dlfcn.h: Likewise.
40959         * include/execinfo.h: Likewise.
40960         * include/fcntl.h: Likewise.
40961         * include/fenv.h: Likewise.
40962         * include/glob.h: Likewise.
40963         * include/grp.h: Likewise.
40964         * include/libintl.h: Likewise.
40965         * include/mntent.h: Likewise.
40966         * include/netdb.h: Likewise.
40967         * include/pwd.h: Likewise.
40968         * include/rpc/netdb.h: Likewise.
40969         * include/sched.h: Likewise.
40970         * include/search.h: Likewise.
40971         * include/shadow.h: Likewise.
40972         * include/signal.h: Likewise.
40973         * include/stdio.h: Likewise.
40974         * include/stdlib.h: Likewise.
40975         * include/string.h: Likewise.
40976         * include/sys/socket.h: Likewise.
40977         * include/sys/stat.h: Likewise.
40978         * include/sys/statfs.h: Likewise.
40979         * include/sys/statvfs.h: Likewise.
40980         * include/sys/syslog.h: Likewise.
40981         * include/sys/time.h: Likewise.
40982         * include/sys/uio.h: Likewise.
40983         * include/time.h: Likewise.
40984         * include/unistd.h: Likewise.
40985         * include/utmp.h: Likewise.
40986         * include/wchar.h: Likewise.
40987         * include/wctype.h: Likewise.
40988         * inet/aliases.h: Likewise.
40989         * inet/arpa/inet.h: Likewise.
40990         * inet/netinet/ether.h: Likewise.
40991         * inet/netinet/in.h: Likewise.
40992         * intl/libintl.h: Likewise.
40993         * io/bits/fcntl2.h: Likewise.
40994         * io/fcntl.h: Likewise.
40995         * io/ftw.h: Likewise.
40996         * io/sys/poll.h: Likewise.
40997         * io/sys/stat.h: Likewise.
40998         * io/sys/statfs.h: Likewise.
40999         * io/sys/statvfs.h: Likewise.
41000         * io/utime.h: Likewise.
41001         * libio/bits/stdio.h: Likewise.
41002         * libio/bits/stdio2.h: Likewise.
41003         * libio/libio.h: Likewise.
41004         * libio/libioP.h: Likewise.
41005         * libio/stdio.h: Likewise.
41006         * locale/lc-ctype.c: Likewise.
41007         * locale/locale.h: Likewise.
41008         * login/utmp.h: Likewise.
41009         * malloc/arena.c: Likewise.
41010         * malloc/malloc.c: Likewise.
41011         * malloc/malloc.h: Likewise.
41012         * malloc/mcheck.c: Likewise.
41013         * malloc/mtrace.c: Likewise.
41014         * math/bits/mathcalls.h: Likewise.
41015         * math/fenv.h: Likewise.
41016         * math/math_private.h: Likewise.
41017         * misc/bits/error.h: Likewise.
41018         * misc/bits/syslog.h: Likewise.
41019         * misc/err.h: Likewise.
41020         * misc/error.h: Likewise.
41021         * misc/fstab.h: Likewise.
41022         * misc/mntent.h: Likewise.
41023         * misc/regexp.h: Likewise.
41024         * misc/search.h: Likewise.
41025         * misc/sgtty.h: Likewise.
41026         * misc/sys/mman.h: Likewise.
41027         * misc/sys/syslog.h: Likewise.
41028         * misc/sys/uio.h: Likewise.
41029         * misc/sys/xattr.h: Likewise.
41030         * misc/ttyent.h: Likewise.
41031         * nis/rpcsvc/ypclnt.h: Likewise.
41032         * nss/nss.h: Likewise.
41033         * posix/bits/unistd.h: Likewise.
41034         * posix/fnmatch.h: Likewise.
41035         * posix/glob.h: Likewise.
41036         * posix/sched.h: Likewise.
41037         * posix/spawn.h: Likewise.
41038         * posix/sys/wait.h: Likewise.
41039         * posix/unistd.h: Likewise.
41040         * posix/wordexp.h: Likewise.
41041         * pwd/pwd.h: Likewise.
41042         * resolv/netdb.h: Likewise.
41043         * resource/sys/resource.h: Likewise.
41044         * rt/aio.h: Likewise.
41045         * rt/bits/mqueue2.h: Likewise.
41046         * rt/mqueue.h: Likewise.
41047         * shadow/shadow.h: Likewise.
41048         * signal/signal.h: Likewise.
41049         * socket/send.c: Likewise.
41050         * socket/sendto.c: Likewise.
41051         * socket/sys/socket.h: Likewise.
41052         * stdio-common/printf.h: Likewise.
41053         * stdlib/bits/stdlib.h: Likewise.
41054         * stdlib/fmtmsg.h: Likewise.
41055         * stdlib/monetary.h: Likewise.
41056         * stdlib/stdlib.h: Likewise.
41057         * stdlib/ucontext.h: Likewise.
41058         * streams/stropts.h: Likewise.
41059         * string/argz.h: Likewise.
41060         * string/bits/string2.h: Likewise.
41061         * string/string.h: Likewise.
41062         * string/strings.h: Likewise.
41063         * sunrpc/rpc/auth.h: Likewise.
41064         * sunrpc/rpc/auth_des.h: Likewise.
41065         * sunrpc/rpc/clnt.h: Likewise.
41066         * sunrpc/rpc/netdb.h: Likewise.
41067         * sunrpc/rpc/pmap_clnt.h: Likewise.
41068         * sunrpc/rpc/xdr.h: Likewise.
41069         * sysdeps/generic/inttypes.h: Likewise.
41070         * sysdeps/generic/net/if.h: Likewise.
41071         * sysdeps/generic/sys/swap.h: Likewise.
41072         * sysdeps/gnu/net/if.h: Likewise.
41073         * sysdeps/gnu/utmpx.h: Likewise.
41074         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41075         * sysdeps/i386/i486/bits/string.h: Likewise.
41076         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41077         * sysdeps/s390/bits/string.h: Likewise.
41078         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41079         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41080         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41081         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41082         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41083         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41084         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41085         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41086         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41087         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41088         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41089         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41090         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41091         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41092         * sysdeps/unix/sysv/linux/readv.c: Likewise.
41093         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41094         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41095         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41096         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41097         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41098         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41099         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41100         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41101         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41102         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41103         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41104         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41105         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41106         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41107         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41108         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41109         * sysvipc/sys/ipc.h: Likewise.
41110         * sysvipc/sys/msg.h: Likewise.
41111         * sysvipc/sys/sem.h: Likewise.
41112         * sysvipc/sys/shm.h: Likewise.
41113         * termios/termios.h: Likewise.
41114         * time/sys/time.h: Likewise.
41115         * time/time.h: Likewise.
41116         * wcsmbs/bits/wchar2.h: Likewise.
41117         * wcsmbs/uchar.h: Likewise.
41118         * wcsmbs/wchar.h: Likewise.
41119         * wctype/wctype.h: Likewise.
41120
41121         [BZ #13551]
41122         * Makeconfig: Remove all but ELF support including AIX support.
41123         * Makerules: Likewise.
41124         * config.h.in: Likewise.
41125         * config.make.in: Likewise.
41126         * configure: Likewise.
41127         * configure.in: Likewise.
41128         * csu/Makefile: Likewise.
41129         * csu/version.c: Likewise.
41130         * debug/Makefile: Likewise.
41131         * dlfcn/Makefile: Likewise.
41132         * elf/Makefile: Likewise.
41133         * extra-lib.mk: Likewise.
41134         * iconv/Makefile: Likewise.
41135         * include/libc-symbols.h: Likewise.
41136         * include/shlib-compat.h: Likewise.
41137         * resolv/Makefile: Likewise.
41138         * resolv/res_libc.c: Likewise.
41139         * rt/Makefile: Likewise.
41140         * sysdeps/i386/asm-syntax.h: Likewise.
41141         * sysdeps/i386/sysdep.h: Likewise.
41142         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41143         * sysdeps/mach/sysdep.h: Likewise.
41144         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41145         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41146         * sysdeps/s390/asm-syntax.h: Likewise.
41147         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41148         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41149         * sysdeps/sh/sysdep.h: Likewise.
41150         * sysdeps/unix/sparc/sysdep.h: Likewise.
41151         * sysdeps/wordsize-32/divdi3.c: Likewise.
41152         * sysdeps/x86_64/sysdep.h: Likewise.
41153
41154         * argp/Versions: Remove _argp_unlock_xxx.
41155
41156         [BZ #13559]
41157         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
41158         * abilist/libBrokenLocale.abilist: Likewise.
41159         * abilist/libanl.abilist: Likewise.
41160         * abilist/libc.abilist: Likewise.
41161         * abilist/libcrypt.abilist: Likewise.
41162         * abilist/libdl.abilist: Likewise.
41163         * abilist/libm.abilist: Likewise.
41164         * abilist/libnsl.abilist: Likewise.
41165         * abilist/libpthread.abilist: Likewise.
41166         * abilist/libresolv.abilist: Likewise.
41167         * abilist/librt.abilist: Likewise.
41168         * abilist/libthread_db.abilist: Likewise.
41169         * abilist/libutil.abilist: Likewise.
41170         * abilist/libnss_db.abilist: New file.
41171
41172         * scripts/abilist.awk: Add support for indirect functions.
41173
41174         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41175
41176         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41177
41178         * shlib-versions: Remove entries for ports architectures.
41179
41180         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
41181         files in ports.
41182         * elf/stackguard-macros.h: Remove support for IA-64.
41183         * elf/tst-auditmod1.c: Likewise.
41184         * sysdeps/generic/ldsodefs.h: Likewise.
41185
41186         * sysdeps/unix/sysv/linux/configure.in: Ports should define
41187         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41188         configure files.
41189
41190         [BZ #13552]
41191         * configure.in: Remove --enable-omitfp support.
41192         * FAQ.in: Adjust.
41193         * config.make.in: Likewise.
41194         * Makeconfig: Likewise.
41195         * manual/install.texi: Likewise.
41196
41197         In case anyone cares, the IA-64 architecture could move to ports.
41198         * sysdeps/ia64/*: Removed.
41199         * sysdeps/unix/sysv/linux/ia64/*: Removed.
41200         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41201
41202         [BZ #13555]
41203         * configure.in: Remove entries for unsupported architectures.
41204
41205         [BZ #13533]
41206         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41207         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
41208         routines.
41209         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41210         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41211         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
41212         fall back to using wcrtomb.
41213         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41214         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
41215         renaming.
41216         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41217         * wcsmbs/tst-c16c32-1.c: New file.
41218
41219         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41220         local variable.
41221
41222         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41223
41224         * elf/tst-unique3.cc: Add explicit declaration of gets.
41225         * elf/tst-unique3lib.cc: Likewise.
41226         * elf/tst-unique3lib2.cc: Likewise.
41227         * elf/tst-unique4.cc: Likewise.
41228
41229         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41230
41231 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
41232
41233         [BZ #13566]
41234         * assert/assert.h (static_assert): Don't define for C++.
41235         * libio/stdio.h (gets): Do declare for C++ <= C++11.
41236         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41237
41238 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
41239
41240         * iconv/loop.c (single loop): Fix assertion in storing of
41241         remaining bytes.
41242
41243         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41244
41245 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
41246
41247         * posix/getconf.c: Update copyright year.
41248         * nss/getent.c: Likewise.
41249         * nss/makedb.c: Likewise.
41250         * iconv/iconvconfig.c: Likewise.
41251         * iconv/iconv_prog.c: Likewise.
41252         * elf/ldconfig.c: Likewise.
41253         * elf/pldd.c: Likewise.
41254         * elf/sotruss.ksh: Likewise.
41255         * catgets/gencat.c: Likewise.
41256         * csu/version.c: Likewise.
41257         * elf/ldd.bash.in: Likewise.
41258         * elf/sprof.c (print_version): Likewise.
41259         * locale/programs/locale.c: Likewise.
41260         * locale/programs/localedef.c: Likewise.
41261         * login/programs/pt_chown.c: Likewise.
41262         * nscd/nscd.c (print_version): Likewise.
41263         * debug/xtrace.sh: Likewise.
41264         * malloc/memusage.sh: Likewise.
41265         * malloc/mtrace.pl: Likewise.
41266         * debug/catchsegv.sh: Likewise.
41267
41268 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
41269
41270         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41271         pure attribute.
41272
41273 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
41274
41275         [BZ #13533]
41276         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41277         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41278         transformations.
41279         * iconv/gconv_int.h: Likewise.
41280         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41281         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41282         from libc for GLIBC_2.16.
41283         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41284         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41285         * wcsmbs/uchar.h: Really define mbstate_t.
41286         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41287         * wcsmbs/c16rtomb.c: New file.
41288         * wcsmbs/mbrtoc16.c: New file.
41289         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41290         for C/POSIX locale.
41291         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41292         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41293
41294         * wcsmbs/wchar.h: Add missing __restrict.
41295
41296 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41297
41298         [BZ #13532]
41299         * time/Makefile (routines): Add timespec_get.
41300         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41301         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41302         timespec for ISO C11.
41303         * time/timespec_get.c: New file.
41304         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41305         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41306
41307         [BZ #13531]
41308         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41309         * stdlib/stdlib.h: Declare aligned_alloc.
41310         * Versions.def: Add GLIBC_2.16 for libc.
41311         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41312
41313         [BZ 13527]
41314         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41315         ISO C11.
41316
41317         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41318         code.
41319
41320         [BZ #13528]
41321         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41322
41323         [BZ #13529]
41324         * assert/assert.h (static_assert): Define.
41325
41326         * version.h: Update for 2.16 development version.
41327
41328         [BZ #13526]
41329         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41330         _ISOC11_SOURCE.
41331
41332         * version.h (RELEASE): Bump for 2.15 release.
41333         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41334
41335         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41336         Patch by Marek Polacek <mpolacek@redhat.com>.
41337
41338         * bits/byteswap.h: Protect long long constants with __extension__.
41339         * sysdeps/i386/bits/byteswap.h: Likewise.
41340         * sysdeps/ia64/bits/byteswap.h: Likewise.
41341         * sysdeps/s390/bits/byteswap.h: Likewise.
41342         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41343
41344 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41345
41346         [BZ #13540]
41347         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41348         destination buffer.
41349         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41350
41351 2011-12-23  Marek Polacek  <polacek@redhat.com>
41352
41353         * elf/dl-addr.c (determine_info): Add inline keyword.
41354         * elf/tst-auditmod4b.c (check_avx): Likewise.
41355         * elf/tst-auditmod6b.c (check_avx): Likewise.
41356         * elf/tst-auditmod6c.c (check_avx): Likewise.
41357         * elf/tst-auditmod7b.c (check_avx): Likewise.
41358
41359 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41360
41361         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41362         !__SSE_MATH__.
41363
41364 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41365
41366         [BZ #13540]
41367         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41368         processing for last bytes.
41369
41370 2011-08-06  Bruno Haible  <bruno@clisp.org>
41371
41372         [BZ #13061]
41373         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41374         U+0385, not to U+1FEE.
41375
41376         [BZ #13062]
41377         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41378         entry for U+00A5 U+0301.
41379
41380 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41381
41382         [BZ #13166]
41383         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41384         buffer for the output is too small.
41385
41386         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41387         optimization.
41388
41389         [BZ #13185]
41390         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41391         SSE flags if possible.
41392
41393 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41394
41395         [BZ #13540]
41396         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41397         processing for last bytes.
41398
41399 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41400
41401         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41402         (syscall-list-default-options, syscall-list-default-condition)
41403         (syscall-list-includes): Define.
41404         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41405         list of ABIs and options and #if conditions for each ABI.  Do not
41406         handle common syscalls between ABIs specially.
41407         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41408         Remove.
41409         (syscall-list-variants, syscall-list-32bit-options)
41410         (syscall-list-32bit-condition, syscall-list-64bit-options)
41411         (syscall-list-64bit-condition): Define.
41412         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41413         (syscall-list-variants, syscall-list-32bit-options)
41414         (syscall-list-32bit-condition, syscall-list-64bit-options)
41415         (syscall-list-64bit-condition): Define.
41416         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41417         Remove.
41418         (syscall-list-variants, syscall-list-32bit-options)
41419         (syscall-list-32bit-condition, syscall-list-64bit-options)
41420         (syscall-list-64bit-condition): Define.
41421         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41422         Remove.
41423         (syscall-list-variants, syscall-list-32bit-options)
41424         (syscall-list-32bit-condition, syscall-list-64bit-options)
41425         (syscall-list-64bit-condition): Define.
41426
41427 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41428
41429         * locale/iso-639.def: Add brx entry.
41430
41431         [BZ #13328]
41432         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41433         Proposed by Mariusz_Cukr <marcukr@op.pl>.
41434
41435         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41436         __feraiseexcept_renamed.
41437
41438 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41439
41440         [BZ #13538]
41441         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41442         EPOLLET with unsigned values.
41443         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41444         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41445
41446         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41447         to large cancellation.
41448         * math/s_cacoshf.c: Likewise.
41449         * math/s_cacoshl.c: Likewise.
41450
41451 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
41452
41453         [BZ #13305]
41454         [BZ #12786]
41455         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41456         * math/s_cacoshf.c: Likewise.
41457         * math/s_cacoshl.c: Likewise.
41458
41459 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41460
41461         [BZ #13439]
41462         * iconv/gconv.h: Define __GCONV_SWAP.
41463         * iconvdata/unicode.c: The swap bit must be stored in __flags.
41464         * iconvdata/utf-16.c: Likewise.
41465         * iconvdata/utf-32.c: Likewise.
41466
41467 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41468
41469         [BZ #13524]
41470         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41471         numerator after shifting it by one limb.
41472
41473 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
41474
41475         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41476         under [__USE_EXTERN_INLINES].
41477
41478 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41479
41480         [BZ #13446]
41481         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41482
41483 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41484
41485         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41486         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41487         optimized code.
41488         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41489         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41490         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41491         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41492         for strncasecmp/strncasecmp_l compilation.
41493         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41494         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41495
41496 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
41497
41498         [BZ #13484]
41499         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41500         of __asm__.
41501
41502 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41503
41504         [BZ #13506]
41505         * time/tzfile.c (__tzfile_read): Check values from file header.
41506
41507 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41508
41509         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41510         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41511         * powerpc/powerpc32/dl-start.S: Likewise.
41512         * powerpc/powerpc32/elf/start.S: Likewise.
41513         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41514         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41515         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41516         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41517         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41518         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41519         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41520         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41521         * powerpc/powerpc32/fpu/s_round.S: Likewise.
41522         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41523         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41524         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41525         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41526         * powerpc/powerpc32/memset.S: Likewise.
41527         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41528         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41529         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41530         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41531         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41532         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41533         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41534         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41535         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41536         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41537         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41538         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41539         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41540
41541 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41542
41543         * math/libm-test.inc: Added more nearbyint tests.
41544         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41545         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41546         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41547         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41548
41549 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
41550
41551         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41552         FD_CLOEXEC.
41553
41554 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41555
41556         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41557         Add wcscpy-ssse3 wcscpy-c.
41558         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41559         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41560         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41561         * sysdeps/x86_64/wcschr.S: New file.
41562         * sysdeps/x86_64/wcsrchr.S: New file.
41563         * string/test-strcmp.c: Remove checking of wcscmp function for
41564         wrong alignments.
41565         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41566         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41567         wcsrchr-sse2 wcsrchr-c.
41568         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41569         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41570         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41571         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41572         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41573         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41574         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41575         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41576         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41577         * wcsmbc/wcschr.c (WCSCHR): New macro.
41578
41579 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41580
41581         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41582         * wcsmbs/test-wcsrchr.c: New file.
41583         * string/test-strrchr.c: Add wcsrchr support.
41584         (WIDE): New macro.
41585         * wcsmbs/test-wcscpy.c: New file.
41586         * string/test-strcpy.c: Add wcscpy support.
41587         (WIDE): New macro.
41588
41589 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
41590
41591         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41592         the inner loop.
41593
41594 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
41595
41596         [BZ #13472]
41597         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41598
41599 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
41600
41601         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41602         Minor optimizations.
41603
41604         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41605         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41606         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41607
41608 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
41609
41610         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41611         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41612         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41613         for gcc to avoid warnings.
41614         * inet/Makefile (tests): Add tst-checks.
41615         * inet/tst-checks.c: New file.
41616
41617         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41618         warning.
41619
41620         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41621         __wmemcmp_sse2.
41622
41623         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41624         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41625
41626         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41627
41628 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
41629
41630         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41631         problem.
41632
41633         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41634
41635 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
41636
41637         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41638         conditional on GCC version.
41639         (__arch_compare_and_exchange_val_8_acq)
41640         (__arch_compare_and_exchange_val_16_acq)
41641         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41642         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41643         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41644
41645 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
41646
41647         * sysdeps/sh/backtrace.c: New file.
41648
41649 2011-12-02  Andreas Schwab  <schwab@redhat.com>
41650
41651         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
41652         parenthesis.
41653
41654 2011-12-01  Andreas Schwab  <schwab@redhat.com>
41655
41656         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41657         falling back to utime.
41658
41659 2011-11-30  Andreas Schwab  <schwab@redhat.com>
41660
41661         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41662         expectations for float.
41663
41664 2011-11-29  Andreas Schwab  <schwab@redhat.com>
41665
41666         * locale/weight.h (findidx): Add parameter len.
41667         * locale/weightwc.h (findidx): Likewise.
41668         * posix/fnmatch_loop.c (FCT): Adjust caller.
41669         * posix/regcomp.c (build_equiv_class): Likewise.
41670         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41671         * posix/regexec.c (check_node_accept_bytes): Likewise.
41672         * string/strcoll_l.c (STRCOLL): Likewise.
41673         * string/strxfrm_l.c (STRXFRM): Likewise.
41674
41675 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
41676
41677         * Makefile.in: Remove CVSOPT handling.
41678         * configure.in: Remove use of AC_REVISION.
41679         * iconvdata/Makefile (distribute): No need to filter out CVS.
41680         * scripts/list-sources.sh: Remove CVS, subversion and monotone
41681         handling.
41682
41683 2011-11-16  Andreas Schwab  <schwab@redhat.com>
41684
41685         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41686         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41687         [USE_AS_STRNCASECMP_L]: Likewise.
41688         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41689         NO_TLS_DIRECT_SEG_REFS.
41690         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41691         Fix argument offsets for non-PIC.
41692         [USE_AS_STRNCASECMP_L]: Likewise.
41693         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41694         NO_TLS_DIRECT_SEG_REFS.
41695
41696 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41697
41698         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41699         O_CLOEXEC.
41700         * locale/loadlocale.c (_nl_load_locale): Likewise.
41701
41702 2011-11-15  Andreas Schwab  <schwab@redhat.com>
41703
41704         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41705         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41706         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41707         (SYSCALL_GETTIME): Set errno on error.
41708
41709         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41710         count references to noai6ai_cached.
41711
41712 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41713
41714         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41715
41716         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41717         FD_CLOEXEC for /proc/self/maps.
41718
41719         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41720         FD_CLOEXEC for /proc/meminfo.
41721
41722         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41723         gai.conf.
41724
41725         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
41726         FD_CLOEXEC for given file.
41727
41728         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41729
41730         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41731         FD_CLOEXEC for /etc/hosts.
41732         (_gethtent): Likewise.
41733
41734         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41735
41736         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41737         cancellation and set FD_CLOEXEC for /etc/netgroup.
41738
41739         * nss/nss_files/files-key.c (search): Don't allow cancellation when
41740         reading /etc/publickey.
41741
41742         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41743         allow cancellation when reading /etc/group.
41744
41745         * nss/nss_files/files-alias.c (internal_setent): Don't allow
41746         cancellation.
41747         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
41748
41749         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41750         when using data file.
41751
41752         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41753
41754         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41755         (write_nis_obj): Use "c" and "e" in fopen.
41756
41757         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41758
41759         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41760
41761         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41762
41763         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41764
41765         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41766         locale.alias.
41767
41768         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41769
41770         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41771
41772         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41773
41774         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41775         file parsing and set FD_CLOEXEC.
41776
41777 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41778
41779         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41780
41781 2011-11-14  Andreas Schwab  <schwab@redhat.com>
41782
41783         * malloc/arena.c (arena_get2): Don't call reused_arena when
41784         _int_new_arena failed.
41785
41786 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41787
41788         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41789         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41790         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41791         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41792         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41793         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41794         to compile strcasecmp and strncasecmp.
41795         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41796         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41797
41798         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41799
41800 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
41801
41802         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41803         locale-defines.sym to gen-as-const-headers.
41804         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41805         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41806         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41807         to compile strcasecmp and strncasecmp.
41808         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41809         strcasecmp_l and strncasecmp_l.
41810         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41811         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41812         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41813         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41814         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41815         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41816         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41817         * sysdeps/i386/i686/multiarch/strncase.S: New file.
41818         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41819         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41820         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41821
41822 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
41823
41824         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41825         result of SYSDEP_GETTIME_CPU to retval.
41826         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41827         parameter list to macro.  Remove trailing semicolon.  Adjust users.
41828
41829         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41830         variable.
41831
41832         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41833         mantissa words.
41834         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41835
41836         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41837         from unused variable.
41838
41839         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41840         DWARF definitions.
41841         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41842         for assembling.
41843
41844         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41845         over namespaces.
41846
41847         * sunrpc/rpc_prot.c (rejected): Fix case value.
41848
41849         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41850         unsigned long long int to avoid warnings in shift.
41851
41852         * posix/regex_internal.c (re_string_reconstruct): Actually use result
41853         of use of trans.
41854         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41855         variable tmp.
41856
41857         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41858         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41859         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41860
41861         * nis/nis_table.c (nis_list): Use variable of correct type for
41862         result of __follow_path call.
41863
41864 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41865
41866         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41867         of math functions ceil, trunc, floor, round, and sqrt, when
41868         avaliable on the platform.
41869         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41870         name clash.
41871         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41872         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41873         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41874
41875 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
41876
41877         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41878         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41879
41880 2011-11-11  Roland McGrath  <roland@hack.frob.com>
41881
41882         * include/unistd.h: Fix __readlink return type.
41883         Reported by Chris Metcalf <cmetcalf@tilera.com>.
41884
41885 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
41886
41887         * stdlib/ucontext.h: Undo last change for makecontext.
41888
41889 2011-11-11  Andreas Schwab  <schwab@redhat.com>
41890
41891         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41892
41893         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41894         * setjmp/setjmp.h: Mark functions as non-leaf.
41895         * setjmp/bits/setjmp2.h: Likewise.
41896         * stdlib/ucontext.h: Likewise.
41897
41898 2011-11-10  Andreas Schwab  <schwab@redhat.com>
41899
41900         * malloc/arena.c (_int_new_arena): Don't increment narenas.
41901         (reused_arena): Don't check arena limit.
41902         (arena_get2): Atomically check arena limit.
41903
41904 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
41905
41906         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41907         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41908
41909         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41910         instructions.
41911
41912 2011-11-07  Andreas Schwab  <schwab@redhat.com>
41913
41914         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41915         handler when locking.
41916
41917         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41918         Fix size of allocated buffer.
41919
41920 2011-11-04  Andreas Schwab  <schwab@redhat.com>
41921
41922         [BZ #10103]
41923         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41924         declarations for long double functions.
41925         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41926
41927         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41928
41929 2011-11-03  Andreas Schwab  <schwab@redhat.com>
41930
41931         * nscd/nscd.c (main): Don't start AVC thread until credentials are
41932         installed.
41933
41934         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41935         is disabled.
41936
41937 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41938
41939         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41940
41941 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41942
41943         * include/alloca.h (stackinfo_alloca_round): Define.
41944         (extend_alloca): Use it.
41945         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41946         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41947         here.
41948
41949         * scripts/check-local-headers.sh: Ignore libaudit.h.
41950
41951         * nscd/Makefile (extra-objs): Make recursively expanded.
41952
41953 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
41954
41955         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41956         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41957
41958         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41959         * posix/tst-rfc3484-2.c: Likewise.
41960         * posix/tst-rfc3484-3.c: Likewise.
41961
41962         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41963         process_vm_writev.
41964         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41965         process_vm_writev.
41966         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41967         process_vm_writev from libc using GLIBC_2.15 version.
41968
41969         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41970
41971 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
41972
41973         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41974         stack usage.
41975
41976 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
41977
41978         [BZ #13367]
41979         * nss/getent.c (initgroups_keys): Show error message in case no group
41980         names are given.
41981
41982         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41983         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41984         __bump_nl_timestamp.
41985         * nscd/connections (nscd_init): When host database is served open
41986         netlink socket and request notification about configuration changes.
41987         (main_loop_poll): Track netlink file descriptor and bump timestamp
41988         in case data becomes available.
41989         (main_loop_epoll): Likewise.
41990         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41991         (database_pers_head): Add extra_data fileds.
41992         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41993         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41994         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41995         Adjust caller.
41996         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41997         in6ai data, call __free_in6ai.
41998         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41999         Add -DHAVE_NETLINK.
42000         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
42001         interface information.  Reuse previous data if netlink timestamp
42002         is not changed.
42003         (__bump_nl_timestamp): New function.
42004         (__free_in6ai): New function.
42005
42006 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
42007
42008         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42009         close_not_cancel_no_status here.
42010         (__check_pf): Reorganize code a bit to not call close twice if OOM.
42011
42012 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42013
42014         [BZ #13276]
42015         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42016         return value.
42017
42018         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42019         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42020         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42021
42022 2011-07-03  Andreas Jaeger  <aj@suse.de>
42023
42024         [BZ #10709]
42025         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42026         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42027         * math/libm-test.inc (sin_test): Add test case.
42028
42029 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42030
42031         [BZ #13337]
42032         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42033         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42034
42035         * elf/chroot_canon.c (chroot_canon): Cleanups.
42036
42037         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42038
42039         [BZ #13335]
42040         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42041         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42042
42043         * string/test-strchr.c: Make usable for strchrnul testing.
42044         * string/test-strchrnul.c: New file.
42045         * string/Makefile (strop-tests): Add strchrnul.
42046
42047         * po/it.po: Update from translation team.
42048         * po/es.po: Likewise.
42049
42050 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
42051
42052         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42053         the three constants needed as parameters.  Drop the others.
42054         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42055         __m128i_strloadu_tolower.
42056         Create and initialize variable zero and use it in all the places
42057         where _mm_setzero_si128 was used.
42058
42059         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42060         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42061         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42062         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42063         anymore.
42064         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42065         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42066         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42067         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42068         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42069         __mpranred, __mptan.
42070         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42071         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42072         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42073         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42074         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42075         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42076         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42077         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42078         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42079
42080 2011-10-28  Andreas Schwab  <schwab@redhat.com>
42081
42082         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42083         redefine if SHARED.
42084         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42085
42086         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42087         wide char related routines to wcsmbs subdir.
42088
42089 2011-10-27  Andreas Schwab  <schwab@redhat.com>
42090
42091         [BZ #13344]
42092         * misc/sys/cdefs.h (__THROWNL): Define.
42093         * posix/unistd.h: Use __THREADNL instead of __THREAD
42094         for memory synchronization functions.
42095
42096 2011-10-26  Roland McGrath  <roland@hack.frob.com>
42097
42098         [BZ #13349]
42099         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42100         doesn't exist.
42101         * manual/stdio.texi (Obstack Streams): Node removed.
42102
42103 2011-10-26  Andreas Schwab  <schwab@redhat.com>
42104
42105         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42106         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42107         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42108
42109         * math/math_private.h (math_force_eval): Allow non-addressable
42110         arguments.
42111         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42112
42113 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42114
42115         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42116         file is not needed.
42117
42118         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42119         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42120         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42121         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42122         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42123         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42124         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42125         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42126         Add AVX variants.
42127         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42128         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42129         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42130         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42131         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42132         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42133         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42134         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42135         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42136         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42137         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42138         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42139         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42140         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42141         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42142         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42143         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42144         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42145         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42146
42147         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42148         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
42149
42150         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42151         place.  Use VEX encoding when compiling for AVX.
42152
42153 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42154
42155         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42156         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42157
42158         * string/test-strchr.c (do_test): Don't generate NUL bytes.
42159
42160 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42161
42162         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42163         useless if() expression.
42164         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42165         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42166         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42167         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42168         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42169         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42170         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42171         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42172         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42173         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42174         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42175         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42176         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42177         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42178         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42179         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42180         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42181         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42182         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42183
42184         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42185
42186 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42187
42188         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42189         condition.
42190         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42191
42192 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42193
42194         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42195         .text section.  Avoid duplicate constants.
42196         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42197         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42198         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42199         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42200         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42201         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42202         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42203         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42204         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42205         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42206         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42207         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42208         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42209         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42210         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42211         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42212         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42213         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42214         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42215         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42216         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42217         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42218         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42219         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42220         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42221         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42222         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42223         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42224         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42225         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42226         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42227         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42228         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42229         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42230         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42231         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42232         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42233         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42234         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42235         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42236         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42237         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42238         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42239         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42240         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42241
42242 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
42243
42244         * sysdeps/x86_64/dla.h: Move to ...
42245         * sysdeps/x86_64/fpu/dla.h: ...here.
42246         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42247         situations.  Use __builtin_fma only for gcc 4.6 and up.
42248
42249         * config.make.in: Add have-mfma4 entry.
42250         * configure.in: Substitute libc_cv_cc_fma4.
42251         * math/Makefile (dbl-only-routines): Add sincostab.
42252         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42253         Use __sincostab not sincos.
42254         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42255         name is a macro.
42256         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42257         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42258         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42259         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
42260         using __copysign.
42261         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
42262         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
42263         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42264         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42265         and __inv.
42266         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42267         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42268         __copysign.
42269         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
42270         define aliases when function name is a macro.
42271         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42272         sysdeps/ieee754/dbl-64/sincos.tbl.
42273         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42274         fma4-enabled routines.
42275         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42276         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42277         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42278         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42279         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42280         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42281         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42282         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42283         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42284         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42285         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42286         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42287         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42288         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42289         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42290         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42291         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42292         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42293         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42294         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42295         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42296         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42297         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42298         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42299         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42300         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42301         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42302         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42303         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42304         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42305
42306         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42307         rename.
42308         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42309         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42310         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42311         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42312         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42313         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42314         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42315         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42316
42317 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42318
42319         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42320
42321 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42322
42323         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42324
42325         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42326         prediction.
42327         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42328
42329         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42330         Remove unused variable magic_bits.
42331         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42332
42333         * string/strnlen.c: Define and use STRNLEN macro.
42334         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42335         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42336         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42337         * wcsmbs/wcslen.c: Define and use WCSLEN.
42338         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42339         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42340         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42341         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42342         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42343         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42344         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42345
42346 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42347
42348         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42349         strnlen-sse2-no-bsf.
42350         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42351         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42352         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42353         Add strnlen support.
42354         (USE_AS_STRNLEN): New macro.
42355         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42356         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42357         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42358         * sysdeps/x86_64/wcslen.S: New file.
42359
42360 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42361
42362         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42363         XMM-moves are used for copying on small sizes.
42364
42365 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42366
42367         * wcsmbs/Makefile (strop-tests): Add wcschr.
42368         * wcsmbs/test-wcschr.c: New file.
42369         * string/test-strchr.c: Update.
42370         Add wcschr support.
42371         (WIDE): New macro.
42372
42373 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42374
42375         * wcsmbs/Makefile (strop-tests): Add wcslen.
42376         * wcsmbs/test-wcslen.c: New file.
42377         * string/test-strlen.c: Update.
42378         Add wcslen support.
42379         (WIDE): New macro.
42380
42381 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42382
42383         * po/it.po: Update from translation team.
42384
42385 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42386
42387         * sysdeps/x86_64/wcscmp.S: Update.
42388         Fix wrong comparison semantics.
42389         wcscmp shall use signed comparison not unsigned.
42390         Don't use substraction to avoid overflow bug.
42391         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42392         * wcsmbc/wcscmp.c: Likewise.
42393         * string/test-strcmp.c: Likewise.
42394         Add new tests to check cases with negative values.
42395
42396 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42397
42398         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42399         * sysdeps/x86_64/dla.h: ...here.  New file.
42400         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42401         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42402         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42403         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42404         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42405         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42406         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42407         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42408         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42409
42410 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42411
42412         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42413         __ynl_finite aliases.
42414
42415 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42416
42417         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42418
42419         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42420         define DLA_FMA.
42421         [DLA_FMA] (EMULV): Use DLA_FMA.
42422         [DLA_FMA] (MUL12): Use EMULV.
42423         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42424         that are not needed.
42425         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42426         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42427         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42428         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42429         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42430         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42431         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42432
42433 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
42434
42435         * math/s_nan.c: Undef __nan.
42436         * math/s_nanf.c: Undef __nanf.
42437         * math/s_nanl.c: Undef __nanl.
42438         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42439         "math_private.h".
42440
42441 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42442
42443         * math/s_catan.c: Add branch predictions.
42444         * math/s_catanf.c: Likewise.
42445         * math/s_catanh.c: Likewise.
42446         * math/s_catanhf.c: Likewise.
42447         * math/s_catanhl.c: Likewise.
42448         * math/s_catanl.c: Likewise.
42449         * math/s_cexp.c: Likewise.
42450         * math/s_cexpf.c: Likewise.
42451         * math/s_cexpl.c: Likewise.
42452         * math/s_clog.c: Likewise.
42453         * math/s_clog10.c: Likewise.
42454         * math/s_clog10f.c: Likewise.
42455         * math/s_clog10l.c: Likewise.
42456         * math/s_clogf.c: Likewise.
42457         * math/s_clogl.c: Likewise.
42458         * math/s_csqrt.c: Likewise.
42459         * math/s_csqrtf.c: Likewise.
42460         * math/s_csqrtl.c: Likewise.
42461         * math/s_ctanf.c: Likewise.
42462         * math/s_ctanh.c: Likewise.
42463         * math/s_ctanhf.c: Likewise.
42464         * math/s_ctanhl.c: Likewise.
42465         * math/s_ctanl.c: Likewise.
42466
42467         * math/math_private.h: Define __nan, __nanf, __nanl.
42468         * math/s_cacosh.c: Include <math_private.h>.
42469         * math/s_cacoshl.c: Likewise.
42470         * math/s_casinh.c: Likewise.
42471         * math/s_casinhf.c: Likewise.
42472         * math/s_casinhl.c: Likewise.
42473         * math/s_ccos.c: Rely entire on ccosh.
42474         * math/s_ccosf.c: Rely entire on ccoshf.
42475         * math/s_ccosl.c: Rely entirely on ccoshl.
42476         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
42477         Remove tests for FE_INVALID.
42478         * math/s_ccoshf.c: Likewise.
42479         * math/s_ccoshl.c: Likewise.
42480         * math/s_csin.c: Likewise.
42481         * math/s_csinf.c: Likewise.
42482         * math/s_csinh.c Likewise.
42483         * math/s_csinhf.c: Likewise.
42484         * math/s_csinhl.c: Likewise.
42485         * math/s_csinl.c: Likewise.
42486         * math/s_ctan.c: Likewise.
42487         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42488         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42489         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42490
42491 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
42492
42493         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42494         compilation problems.
42495
42496         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42497         __builtin_expect.
42498
42499 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
42500
42501         * sysdeps/i386/configure.in: Test for -mfma4 option.
42502         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42503         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42504         COMMON_CPUID_INDEX_80000001.
42505         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42506         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42507         use it if FMA3 is not supported.
42508         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42509
42510         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42511         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42512
42513 2011-10-20  Andreas Schwab  <schwab@redhat.com>
42514
42515         [BZ #12892]
42516         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42517         it would create a cycle with a link time dependency.
42518
42519 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
42520
42521         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42522         instruction.
42523         * string/Makefile (strop-tests): Add rawmemchr.
42524         * string/test-rawmemchr.c: New file.
42525
42526         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42527         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
42528         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
42529         when compiling str{,n}casecmp and when AVX is available.  Hook up
42530         new optimized code in initializers.
42531
42532 2011-10-19  Andreas Schwab  <schwab@redhat.com>
42533
42534         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42535         __feraiseexcept instead of feraiseexcept.
42536
42537 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
42538
42539         * math/math_private.h: Define defaults for libc_fetestexcept and
42540         libc_feupdateenv.
42541         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42542         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42543         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42544         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42545         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42546         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42547         libc_fetestexcept and libc_feupdateenv.
42548
42549         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42550         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42551         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42552         * sysdeps/x86_64/fpu/math_private.h: Define special version of
42553         libc_feholdexcept_setround.
42554
42555         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42556         Add s_nearbyint-c and s_nearbyintf-c.
42557         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42558         nearbyintf inlines.
42559         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42560         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42561         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42562         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42563
42564         * math/math_private.h: Define defaults for libc_fegetround,
42565         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42566         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42567         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42568         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42569         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42570         standard functions.
42571         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42572         Remove comments and hacks for old compiler versions.
42573         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42574         libc_fegetround, libc_fesetround, libc_feholdexcept, and
42575         libc_feholdexceptl.
42576
42577 2011-10-18  Andreas Schwab  <schwab@redhat.com>
42578
42579         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42580         (__feraiseexcept_renamed): Add __NTH.
42581         (feraiseexcept): Add __NTH.  Rename local variables to fix
42582         namespace violations.
42583
42584 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
42585
42586         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42587
42588         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42589
42590         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42591         recently added interfaces.
42592         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42593
42594         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42595         about macro parameter expansion.
42596
42597         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42598         __NO_MATH_INLINES is defined.  Cleanups.
42599
42600         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42601         and __floorf is target has SSE4.1.
42602         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42603         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42604         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42605         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42606
42607         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42608         name.
42609         (floorf): Likewise.
42610
42611         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42612
42613 2011-10-17  Andreas Schwab  <schwab@redhat.com>
42614
42615         * misc/sys/cdefs.h: Fix last change.
42616
42617         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42618         database lookup.
42619
42620 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
42621
42622         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42623
42624         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42625         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42626         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42627         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42628         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42629         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42630         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42631         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42632         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42633         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42634         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42635         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42636         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42637         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42638         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42639         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42640         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42641         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42642         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42643         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42644         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42645         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42646
42647         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42648         ceil, ceilf, floor, floorf.
42649
42650         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42651         Perform IRELATIVE relocations last.
42652
42653         * elf/do-rel.h: Add another parameter nrelative, replacing the
42654         local variable with the same name.  Change name of the function
42655         to end in Rel or Rela (uppercase).
42656         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42657         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
42658         elf_dynamic_do_##reloc function.
42659
42660 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42661
42662         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42663         is sufficient, at least on modern CPUs.
42664
42665         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42666
42667         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42668         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42669
42670         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42671         __expl_finite.
42672         * math/bits/math-finite.h: Add entries for exp.
42673         * math/e_expl.c: Add __*_finite alias.
42674         * sysdeps/i386/fpu/e_exp.S: Likewise.
42675         * sysdeps/i386/fpu/e_expf.S: Likewise.
42676         * sysdeps/i386/fpu/e_expl.c: Likewise.
42677         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42678         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42679         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42680         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42681         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42682         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42683         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42684
42685         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42686         is sufficient, at least on modern CPUs.
42687
42688         * ctype/ctype-info.c (__ctype_init): Define.
42689         * include/ctype.h (__ctype_init): Declare.
42690         (__ctype_b_loc): The variable is always initialized.
42691         (__ctype_toupper_loc): Likewise.
42692         (__ctype_tolower_loc): Likewise.
42693         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42694         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42695
42696 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
42697
42698         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42699
42700         * configure.in: Also look in $cxxmachine/include for C++ system
42701         headers.
42702
42703 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42704
42705         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42706         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42707         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42708         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
42709         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42710         (USE_AS_WMEMCMP): New macro.
42711         Fixing indents.
42712         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42713         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42714         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42715         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42716         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42717         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42718         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42719         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42720         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42721         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42722         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42723         (USE_AS_WMEMCMP): New macro.
42724         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42725         * sysdeps/string/test-memcmp.c: Update.
42726         Fix simple_wmemcmp.
42727         Add new tests.
42728         * wcsmbs/wmemcmp.c: Update.
42729         (WMEMCMP): New macro.
42730         Fix overflow bug.
42731
42732 2011-10-12  Andreas Jaeger  <aj@suse.de>
42733
42734         [BZ #13268]
42735         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42736
42737 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42738
42739         * libio/iofwide.c (do_length): Avoid warning.
42740
42741         * ctype/ctype.h (__isctype_f): Add missing __THROW.
42742
42743 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
42744
42745         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42746
42747         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42748         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42749         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42750         * sysdeps/i386/i686/fpu/e_log.S: New file.
42751         * sysdeps/i386/i686/fpu/e_logf.S: New file.
42752         * sysdeps/i386/i686/fpu/e_logl.S: New file.
42753
42754         * ctype/ctype.h: Add support for inlined isXXX functions when
42755         compiling C++ code.
42756
42757 2011-10-14  Andreas Schwab  <schwab@redhat.com>
42758
42759         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42760
42761         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42762
42763 2011-10-13  Roland McGrath  <roland@hack.frob.com>
42764
42765         [BZ #13291]
42766         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42767
42768 2011-10-13  Andreas Schwab  <schwab@redhat.com>
42769
42770         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42771         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42772         feraiseexcept.
42773
42774         * sysdeps/x86_64/memrchr.S: Check for zero size.
42775
42776         * string/stratcliff.c: Add memrchr tests.
42777
42778 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42779
42780         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42781         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42782         rawmemchr-sse2 rawmemchr-sse2-bsf.
42783         * sysdeps/i386/i686/multiarch/memchr.S: New file.
42784         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42785         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42786         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42787         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42788         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42789         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42790         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42791         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42792         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42793         * string/memrchr.c (MEMRCHR): New macro.
42794
42795 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
42796
42797         Add integration with gcc's -ffinite-math-only and optimize wrapper
42798         functions in libm.
42799         * Versions.def: Define GLIBC_2.15 version for libm.
42800         * math/Makefile (headers): Add bits/math-finite.h.
42801         * math/bits/math-finite.h: New file.
42802         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42803         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42804         * math/e_acoshl.c: Add __*_finite alias.
42805         * math/e_acosl.c: Likewise.
42806         * math/e_asinl.c: Likewise.
42807         * math/e_atan2l.c: Likewise.
42808         * math/e_atanhl.c: Likewise.
42809         * math/e_coshl.c: Likewise.
42810         * math/e_exp10.c: Likewise.
42811         * math/e_exp10f.c: Likewise.
42812         * math/e_exp10l.c: Likewise.
42813         * math/e_exp2l.c: Likewise.
42814         * math/e_fmodl.c: Likewise.
42815         * math/e_gammal_r.c: Likewise.
42816         * math/e_hypotl.c: Likewise.
42817         * math/e_j0l.c: Likewise.
42818         * math/e_j1l.c: Likewise.
42819         * math/e_jnl.c: Likewise.
42820         * math/e_lgammal_r.c: Likewise.
42821         * math/e_log10l.c: Likewise.
42822         * math/e_log2l.c: Likewise.
42823         * math/e_logl.c: Likewise.
42824         * math/e_powl.c: Likewise.
42825         * math/e_sinhl.c: Likewise.
42826         * math/e_sqrtl.c: Likewise.
42827         * math/e_scalb.c: Completely rewritten and optimized.
42828         * math/e_scalbf.c: Likewise.
42829         * math/e_scalbl.c: Likewise.
42830         * math/w_acos.c: Likewise.
42831         * math/w_acosf.c: Likewise.
42832         * math/w_acosl.c: Likewise.
42833         * math/w_acosh.c: Likewise.
42834         * math/w_acoshf.c: Likewise.
42835         * math/w_acoshl.c: Likewise.
42836         * math/w_asin.c: Likewise.
42837         * math/w_asinf.c: Likewise.
42838         * math/w_asinl.c: Likewise.
42839         * math/w_atan2.c: Likewise.
42840         * math/w_atan2f.c: Likewise.
42841         * math/w_atan2l.c: Likewise.
42842         * math/w_atanh.c: Likewise.
42843         * math/w_atanhf.c: Likewise.
42844         * math/w_atanhl.c: Likewise.
42845         * math/w_exp10.c: Likewise.
42846         * math/w_exp10f.c: Likewise.
42847         * math/w_exp10l.c: Likewise.
42848         * math/w_fmod.c: Likewise.
42849         * math/w_fmodf.c: Likewise.
42850         * math/w_fmodl.c: Likewise.
42851         * math/w_j0.c: Likewise.
42852         * math/w_j0f.c: Likewise.
42853         * math/w_j0l.c: Likewise.
42854         * math/w_j1.c: Likewise.
42855         * math/w_j1f.c: Likewise.
42856         * math/w_j1l.c: Likewise.
42857         * math/w_jn.c: Likewise.
42858         * math/w_jnf.c: Likewise.
42859         * math/w_log.c: Likewise.
42860         * math/w_logf.c: Likewise.
42861         * math/w_logl.c: Likewise.
42862         * math/w_log10.c: Likewise.
42863         * math/w_log10f.c: Likewise.
42864         * math/w_log10l.c: Likewise.
42865         * math/w_log2.c: Likewise.
42866         * math/w_log2f.c: Likewise.
42867         * math/w_log2l.c: Likewise.
42868         * math/w_pow.c: Likewise.
42869         * math/w_powf.c: Likewise.
42870         * math/w_powl.c: Likewise.
42871         * math/w_remainder.c: Likewise.
42872         * math/w_remainderf.c: Likewise.
42873         * math/w_remainderl.c: Likewise.
42874         * math/w_scalb.c: Likewise.
42875         * math/w_scalbf.c: Likewise.
42876         * math/w_scalbl.c: Likewise.
42877         * math/w_sqrt.c: Likewise.
42878         * math/w_sqrtf.c: Likewise.
42879         * math/w_sqrtl.c: Likewise.
42880         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42881         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
42882         used.
42883         * math/math_private.h: Declare __kernel_standard_f.
42884         * math/w_cosh.c: Remove cruft and optimize a bit.
42885         * math/w_coshf.c: Likewise.
42886         * math/w_coshl.c: Likewise.
42887         * math/w_exp2.c: Likewise.
42888         * math/w_exp2f.c: Likewise.
42889         * math/w_exp2l.c: Likewise.
42890         * math/w_hypot.c: Likewise.
42891         * math/w_hypotf.c: Likewise.
42892         * math/w_hypotl.c: Likewise.
42893         * math/w_lgamma.c: Likewise.
42894         * math/w_lgamma_r.c: Likewise.
42895         * math/w_lgammaf.c: Likewise.
42896         * math/w_lgammaf_r.c: Likewise.
42897         * math/w_lgammal.c: Likewise.
42898         * math/w_lgammal_r.c: Likewise.
42899         * math/w_sinh.c: Likewise.
42900         * math/w_sinhf.c: Likewise.
42901         * math/w_sinhl.c: Likewise.
42902         * math/w_tgamma.c: Likewise.
42903         * math/w_tgammaf.c: Likewise.
42904         * math/w_tgammal.c: Likewise.
42905         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42906         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42907         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42908         Minor optimizations.  Pretty printing.  Remove cruft.
42909         * sysdeps/i386/fpu/e_acosf.S: Likewise.
42910         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42911         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42912         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42913         * sysdeps/i386/fpu/e_acosl.c: Likewise.
42914         * sysdeps/i386/fpu/e_asin.S: Likewise.
42915         * sysdeps/i386/fpu/e_asinf.S: Likewise.
42916         * sysdeps/i386/fpu/e_atan2.S: Likewise.
42917         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42918         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42919         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42920         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42921         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42922         * sysdeps/i386/fpu/e_exp10.S: Likewise.
42923         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42924         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42925         * sysdeps/i386/fpu/e_exp2.S: Likewise.
42926         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42927         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42928         * sysdeps/i386/fpu/e_fmod.S: Likewise.
42929         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42930         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42931         * sysdeps/i386/fpu/e_hypot.S: Likewise.
42932         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42933         * sysdeps/i386/fpu/e_log.S: Likewise.
42934         * sysdeps/i386/fpu/e_log10.S: Likewise.
42935         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42936         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42937         * sysdeps/i386/fpu/e_log2.S: Likewise.
42938         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42939         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42940         * sysdeps/i386/fpu/e_logf.S: Likewise.
42941         * sysdeps/i386/fpu/e_logl.S: Likewise.
42942         * sysdeps/i386/fpu/e_pow.S: Likewise.
42943         * sysdeps/i386/fpu/e_powf.S: Likewise.
42944         * sysdeps/i386/fpu/e_powl.S: Likewise.
42945         * sysdeps/i386/fpu/e_remainder.S: Likewise.
42946         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42947         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42948         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42949         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42950         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42951         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42952         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42953         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42954         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42955         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42956         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42957         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42958         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42959         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42960         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42961         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42962         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42963         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42964         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42965         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42966         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42967         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42968         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42969         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42970         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42971         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42972         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42973         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42974         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42975         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42976         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42977         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42978         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42979         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42980         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42981         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42982         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42983         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42984         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42985         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42986         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42987         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42988         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42989         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42990         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42991         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42992         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42993         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42994         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42995         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42996         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42997         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42998         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42999         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43000         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43001         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43002         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43003         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43004         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43005         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43006         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43007         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43008         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43009         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43010         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43011         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43012         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43013         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43014         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43015         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43016         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43017         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43018         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43019         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43020         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43021         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43022         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43023         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43024         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43025         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43026         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43027         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43028         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43029         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43030         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43031         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43032         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43033         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43034         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43035         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43036         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43037         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43038         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43039         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43040         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43041         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43042         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43043         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43044         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43045         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43046         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43047         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43048         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43049         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43050         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43051         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43052         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43053         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43054         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43055         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43056         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43057         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43058         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43059         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43060         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43061         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43062         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43063         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43064         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
43065         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43066         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43067         (__isnanf): Likewise.
43068         (__isinf_ns): Likewise.
43069         (__isinf_nsf): Likewise.
43070         (__finite): Likewise.
43071         (__finitef): Likewise.
43072         (__ieee754_sqrt): Define as macro.
43073         (__ieee754_sqrtf): Define as macro.
43074         (__ieee754_sqrtl): Define as macro.
43075         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43076         inlined copy.
43077         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43078         __FINITE_MATH_ONLY__ consistent.
43079         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43080
43081 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
43082
43083         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43084         of rawmemchr.
43085
43086         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43087
43088 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
43089
43090         * po/ja.po: Update from translation team.
43091
43092 2011-10-08  Roland McGrath  <roland@hack.frob.com>
43093
43094         * locale/programs/locarchive.c (prepare_address_space): New function.
43095         (create_archive, enlarge_archive, open_archive): Use it.
43096
43097         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43098         inside [SHARED], where it is used.
43099
43100         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43101
43102         * nss/getent.c (netgroup_keys): Remove unused variable.
43103         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43104
43105 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
43106
43107         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43108         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43109         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43110         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43111         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43112         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43113         * math/Makefile (libm-calls): Add s_isinf_ns.
43114         * math/divtc3.c: Use __isinf_nsl instead of isinf.
43115         * math/multc3.c: Likewise.
43116         * math/s_casin.c: Likewise.
43117         * math/s_casinf.c: Likewise.
43118         * math/s_casinl.c: Likewise.
43119         * math/s_ccos.c: Likewise.
43120         * math/s_ccosf.c: Likewise.
43121         * math/s_ccosl.c: Likewise.
43122         * math/s_ctan.c: Likewise.
43123         * math/s_ctanf.c: Likewise.
43124         * math/s_ctanh.c: Likewise.
43125         * math/s_ctanhf.c: Likewise.
43126         * math/s_ctanhl.c: Likewise.
43127         * math/s_ctanl.c: Likewise.
43128         * math/w_fmod.c: Likewise.
43129         * math/w_fmodf.c: Likewise.
43130         * math/w_fmodl.c: Likewise.
43131         * math/w_remainder.c: Likewise.
43132         * math/w_remainderf.c: Likewise.
43133         * math/w_remainderl.c: Likewise.
43134         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43135         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43136         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43137         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43138         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43139         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43140         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43141         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43142
43143         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43144         of the number.
43145         * stdio-common/printf_fphex.c: Likewise.
43146         * stdio-common/printf_size.c: Likewise.
43147
43148         * math/e_exp10.c: Include math_private.h using <...> not "...".
43149         * math/e_exp10f.c: Likewise.
43150         * math/e_exp10l.c: Likewise.
43151         * math/e_exp2l.c: Likewise.
43152         * math/e_j0l.c: Likewise.
43153         * math/e_j1l.c: Likewise.
43154         * math/e_jnl.c: Likewise.
43155         * math/e_lgammal_r.c: Likewise.
43156         * math/e_rem_pio2l.c: Likewise.
43157         * math/e_scalb.c: Likewise.
43158         * math/e_scalbf.c: Likewise.
43159         * math/e_scalbl.c: Likewise.
43160         * math/k_cosl.c: Likewise.
43161         * math/k_sinl.c: Likewise.
43162         * math/k_tanl.c: Likewise.
43163         * math/s_cacoshf.c: Likewise.
43164         * math/s_catan.c: Likewise.
43165         * math/s_catanf.c: Likewise.
43166         * math/s_catanh.c: Likewise.
43167         * math/s_catanhf.c: Likewise.
43168         * math/s_catanhl.c: Likewise.
43169         * math/s_catanl.c: Likewise.
43170         * math/s_ccosh.c: Likewise.
43171         * math/s_ccoshf.c: Likewise.
43172         * math/s_ccoshl.c: Likewise.
43173         * math/s_cexp.c: Likewise.
43174         * math/s_cexpf.c: Likewise.
43175         * math/s_cexpl.c: Likewise.
43176         * math/s_clog.c: Likewise.
43177         * math/s_clog10.c: Likewise.
43178         * math/s_clog10f.c: Likewise.
43179         * math/s_clog10l.c: Likewise.
43180         * math/s_clogf.c: Likewise.
43181         * math/s_clogl.c: Likewise.
43182         * math/s_csin.c: Likewise.
43183         * math/s_csinf.c: Likewise.
43184         * math/s_csinh.c: Likewise.
43185         * math/s_csinhf.c: Likewise.
43186         * math/s_csinhl.c: Likewise.
43187         * math/s_csinl.c: Likewise.
43188         * math/s_csqrt.c: Likewise.
43189         * math/s_csqrtf.c: Likewise.
43190         * math/s_csqrtl.c: Likewise.
43191         * math/s_ctan.c: Likewise.
43192         * math/s_ctanf.c: Likewise.
43193         * math/s_ctanh.c: Likewise.
43194         * math/s_ctanhf.c: Likewise.
43195         * math/s_ctanhl.c: Likewise.
43196         * math/s_ctanl.c: Likewise.
43197         * math/s_ldexp.c: Likewise.
43198         * math/s_ldexpf.c: Likewise.
43199         * math/s_ldexpl.c: Likewise.
43200         * math/s_significand.c: Likewise.
43201         * math/s_significandf.c: Likewise.
43202         * math/s_significandl.c: Likewise.
43203         * math/w_acos.c: Likewise.
43204         * math/w_acosf.c: Likewise.
43205         * math/w_acosh.c: Likewise.
43206         * math/w_acoshf.c: Likewise.
43207         * math/w_acoshl.c: Likewise.
43208         * math/w_acosl.c: Likewise.
43209         * math/w_asin.c: Likewise.
43210         * math/w_asinf.c: Likewise.
43211         * math/w_asinl.c: Likewise.
43212         * math/w_atan2.c: Likewise.
43213         * math/w_atan2f.c: Likewise.
43214         * math/w_atan2l.c: Likewise.
43215         * math/w_atanh.c: Likewise.
43216         * math/w_atanhf.c: Likewise.
43217         * math/w_atanhl.c: Likewise.
43218         * math/w_cosh.c: Likewise.
43219         * math/w_coshf.c: Likewise.
43220         * math/w_coshl.c: Likewise.
43221         * math/w_dremf.c: Likewise.
43222         * math/w_exp10.c: Likewise.
43223         * math/w_exp10f.c: Likewise.
43224         * math/w_exp10l.c: Likewise.
43225         * math/w_exp2.c: Likewise.
43226         * math/w_exp2f.c: Likewise.
43227         * math/w_fmod.c: Likewise.
43228         * math/w_fmodf.c: Likewise.
43229         * math/w_fmodl.c: Likewise.
43230         * math/w_hypot.c: Likewise.
43231         * math/w_hypotf.c: Likewise.
43232         * math/w_hypotl.c: Likewise.
43233         * math/w_j0.c: Likewise.
43234         * math/w_j0f.c: Likewise.
43235         * math/w_j0l.c: Likewise.
43236         * math/w_j1.c: Likewise.
43237         * math/w_j1f.c: Likewise.
43238         * math/w_j1l.c: Likewise.
43239         * math/w_jn.c: Likewise.
43240         * math/w_jnf.c: Likewise.
43241         * math/w_jnl.c: Likewise.
43242         * math/w_lgamma.c: Likewise.
43243         * math/w_lgamma_r.c: Likewise.
43244         * math/w_lgammaf.c: Likewise.
43245         * math/w_lgammaf_r.c: Likewise.
43246         * math/w_lgammal.c: Likewise.
43247         * math/w_lgammal_r.c: Likewise.
43248         * math/w_log.c: Likewise.
43249         * math/w_log10.c: Likewise.
43250         * math/w_log10f.c: Likewise.
43251         * math/w_log10l.c: Likewise.
43252         * math/w_log2.c: Likewise.
43253         * math/w_log2f.c: Likewise.
43254         * math/w_log2l.c: Likewise.
43255         * math/w_logf.c: Likewise.
43256         * math/w_logl.c: Likewise.
43257         * math/w_pow.c: Likewise.
43258         * math/w_powf.c: Likewise.
43259         * math/w_powl.c: Likewise.
43260         * math/w_remainder.c: Likewise.
43261         * math/w_remainderf.c: Likewise.
43262         * math/w_remainderl.c: Likewise.
43263         * math/w_scalb.c: Likewise.
43264         * math/w_scalbf.c: Likewise.
43265         * math/w_scalbl.c: Likewise.
43266         * math/w_sinh.c: Likewise.
43267         * math/w_sinhf.c: Likewise.
43268         * math/w_sinhl.c: Likewise.
43269         * math/w_sqrt.c: Likewise.
43270         * math/w_sqrtf.c: Likewise.
43271         * math/w_sqrtl.c: Likewise.
43272         * math/w_tgamma.c: Likewise.
43273         * math/w_tgammaf.c: Likewise.
43274         * math/w_tgammal.c: Likewise.
43275
43276         * po/ja.po: Update from translation team.
43277
43278 2011-09-29  Andreas Jaeger  <aj@suse.de>
43279
43280         [BZ #13179]
43281         * sunrpc/netname.c (netname2host): Fix logic.
43282
43283         [BZ #6779]
43284         [BZ #6783]
43285         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43286         correctly.
43287         * math/w_remainder.c (__remainder): Likewise.
43288         * math/w_remainderf.c (__remainderf): Likewise.
43289         * math/libm-test.inc (remainder_test): Add test cases.
43290
43291 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43292
43293         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43294         sdiv_qrnnd.
43295
43296 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43297
43298         * string/test-memcmp.c: Avoid unncessary #defines.
43299         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43300
43301 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43302
43303         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43304         Use new sse2 version for core i3 - i7 as it's faster
43305         than sse42 version.
43306         (bit_Prefer_PMINUB_for_stringop): New.
43307         * sysdeps/x86_64/rawmemchr.S: Update.
43308         Replace with faster SSE2 version.
43309         * sysdeps/x86_64/memrchr.S: New file.
43310         * sysdeps/x86_64/memchr.S: Update.
43311         Replace with faster SSE2 version.
43312
43313 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43314
43315         * elf/dl-load.c (lose): Add cast to avoid warning.
43316
43317 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43318
43319         * po/ca.po: Update from translation team.
43320
43321         * inet/getnetgrent_r.c: Hook up nscd.
43322         * nscd/Makefile (routines): Add nscd_netgroup.
43323         (nscd-modules): Add netgroupcache.
43324         (CFLAGS-netgroupcache.c): Define.
43325         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43326         (cache_search): Add const to second parameter.
43327         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43328         INNETGR.
43329         (dbs): Add netgrdb entry.
43330         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43331         (verify_persistent_db): Handle netgrdb.
43332         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43333         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43334         GETFDNETGR.
43335         (netgroup_response_header): Define.
43336         (innetgroup_response_header): Define.
43337         (datahead): Add netgroup_response_header and innetgroup_response_header
43338         elements.
43339         * nscd/nscd.conf: Add entries for netgroup cache.
43340         * nscd/nscd.h (dbtype): Add netgrdb.
43341         (_PATH_NSCD_NETGROUP_DB): Define.
43342         (netgroup_iov_disabled): Declare.
43343         (xmalloc, xcalloc, xrealloc): Move declarations here.
43344         (cache_search): Adjust prototype.
43345         Add netgroup-related prototypes.
43346         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43347         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43348         (__nscd_innetgr): Declare.
43349         * nscd/selinux.c (perms): Use access_vector_t as element type and
43350         add netgroup-related initializers.
43351         * nscd/netgroupcache.c: New file.
43352         * nscd/nscd_netgroup.c: New file.
43353         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43354         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43355         For four parameters use innetgr.
43356         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43357         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43358         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43359         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43360
43361         * nscd/connections.c (register_traced_file): Don't register file
43362         for disabled databases.
43363
43364 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43365
43366         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43367
43368         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43369         from tree and freeing node.
43370
43371 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43372
43373         * nss/nsswitch.c (__nss_database_lookup): Handle
43374         nss_parse_service_list out of memory case.
43375
43376 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43377
43378         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43379         out of memory case.
43380
43381 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43382
43383         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43384         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43385         pass it down.
43386         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43387         elf_machine_rela, elf_machine_lazy_rel.
43388         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43389         (ELF_DYNAMIC_DO_REL): Likewise.
43390         (ELF_DYNAMIC_DO_RELA): Likewise.
43391         (ELF_DYNAMIC_RELOCATE): Likewise.
43392         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43393         to ELF_DYNAMIC_DO_REL.
43394         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43395         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43396         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43397         elf_machine_rela.
43398         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43399         skip_ifunc, don't call ifunc function if non-zero.
43400         (elf_machine_rela): Likewise.
43401         (elf_machine_lazy_rel): Likewise.
43402         (elf_machine_lazy_rela): Likewise.
43403         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43404         (elf_machine_lazy_rel): Likewise.
43405         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43406         Likewise.
43407         (elf_machine_lazy_rel): Likewise.
43408         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43409         Likewise.
43410         (elf_machine_lazy_rel): Likewise.
43411         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43412         (elf_machine_lazy_rel): Likewise.
43413         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43414         (elf_machine_lazy_rel): Likewise.
43415         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43416         (elf_machine_lazy_rel): Likewise.
43417         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43418         (elf_machine_lazy_rel): Likewise.
43419         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43420         (elf_machine_lazy_rel): Likewise.
43421         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43422         (elf_machine_lazy_rel): Likewise.
43423
43424 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
43425
43426         * nss/nss_files/files-init.c (_nss_files_init): Use static
43427         initialization for all the *_traced_file variables.
43428
43429 2011-09-28  Andreas Schwab  <schwab@redhat.com>
43430
43431         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43432
43433 2011-09-27  Roland McGrath  <roland@hack.frob.com>
43434
43435         [BZ #13226]
43436         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43437
43438 2011-09-27  Andreas Schwab  <schwab@redhat.com>
43439
43440         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43441         Reread the line before reparsing it.
43442
43443 2011-09-26  Andreas Schwab  <schwab@redhat.com>
43444
43445         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43446
43447 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
43448             Maxim Kuvyrkov  <maxim@codesourcery.com>
43449             Joseph Myers  <joseph@codesourcery.com>
43450
43451         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43452         if needed for __stack_chk_guard.
43453
43454 2011-09-19  Roland McGrath  <roland@hack.frob.com>
43455
43456         * sysdeps/posix/spawni.c (script_execute): Always define it.
43457         It will be optimized away if unused.
43458         (maybe_script_execute): New function.
43459         (__spawni): Call it.
43460
43461         * Makerules: Don't include tls.make.
43462         (config-tls): Always set to thread.
43463         * tls.make.c: File removed.
43464
43465 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
43466
43467         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43468         * config.make.in (CPPFLAGS-config): New substituted variable.
43469
43470 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43471
43472         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43473
43474         [BZ #13192]
43475         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43476         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43477
43478 2011-09-15  Roland McGrath  <roland@hack.frob.com>
43479
43480         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43481         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43482         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43483         (CALL_FAIL): Likewise.
43484         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43485         (CALL_FAIL): Macro removed.
43486         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43487
43488 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43489
43490         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43491         for __FINITE_MATH_ONLY__ == 1.
43492
43493 2011-09-15  Andreas Schwab  <schwab@redhat.com>
43494
43495         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43496         __ieee754_sqrt instead of sqrt.
43497         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43498         __ieee754_sqrtf instead of sqrtf.
43499         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43500         __floorf instead of floorf.
43501         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43502         __floorf, __truncf instead of floorf, truncf.
43503
43504 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
43505
43506         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43507
43508         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43509         __extern_always_inline.
43510         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43511         32-bit.
43512
43513 2011-09-14  Andreas Schwab  <schwab@redhat.com>
43514
43515         * elf/rtld.c (dl_main): Also relocate in dependency order when
43516         doing symbol dependency testing.
43517
43518 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
43519
43520         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43521         Always define `refsym'.
43522
43523 2011-09-13  Andreas Schwab  <schwab@redhat.com>
43524
43525         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43526         (__FD_ELT): Renamed from __FDELT.
43527         * misc/bits/select2.h (__FD_ELT): Likewise.
43528         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43529         __FD_MASK instead of __FDELT, __FDMASK.
43530         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43531         Likewise.
43532         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43533         Likewise.
43534
43535         * elf/Makefile (gen-ldd): Fix pattern.
43536
43537         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43538         (init_tls): Likewise.
43539
43540 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
43541
43542         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43543
43544 2011-09-12  Andreas Schwab  <schwab@redhat.com>
43545
43546         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43547         `struct cmsghdr *' instead of `void *'.
43548         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43549         Likewise.
43550
43551 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
43552
43553         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43554         if non-absolute.
43555         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43556         ldd_rewrite_script.
43557
43558 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
43559
43560         * configure.in: Remove --with-tls option.
43561         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43562         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43563         out in case it is missing.
43564         * sysdeps/ia64/elf/configure.in: Likewise.
43565         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43566         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43567         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43568         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43569         * sysdeps/sh/elf/configure.in: Likewise.
43570         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43571         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43572         * sysdeps/x86_64/elf/configure.in: Likewise.
43573         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43574         * sysdeps/mach/hurd/tls.h: Likewise.
43575
43576         [BZ #13067]
43577         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43578
43579         [BZ #13090]
43580         * configure.in: Fix use of AC_INIT.
43581
43582         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43583
43584 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
43585
43586         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43587         __set_errno.
43588         * malloc/hooks.c: Likewise.
43589
43590         [BZ #11929]
43591         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
43592         variables statically.
43593         (narenas): Initialize.
43594         (list_lock): Initialize.
43595         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
43596         initializtion of main_arena and list_lock.  Small cleanups.
43597         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43598         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
43599         Add initializers to main_arena and mp_.
43600         (malloc_state): Remove pagesize member.  Change all users to use
43601         GLRO(dl_pagesize).
43602
43603         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43604         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
43605         is always initialized.
43606
43607         * malloc/malloc.c: Removed unused configurations and dead code.
43608         * malloc/arena.c: Likewise.
43609         * malloc/hooks.c: Likewise.
43610         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43611
43612         * include/tls.h: Removed.  USE___THREAD must always be defined.
43613         * bits/libc-tsd.h: Don't handle !USE___THREAD.
43614         * elf/dl-libc.c: Likewise.
43615         * elf/dl-tsd.c: Likewise.
43616         * include/errno.h: Likewise.
43617         * include/netdb.h: Likewise.
43618         * include/resolv.h: Likewise.
43619         * inet/herrno-loc.c: Likewise.
43620         * inet/herrno.c: Likewise.
43621         * malloc/arena.c: Likewise.
43622         * malloc/hooks.c: Likewise.
43623         * malloc/malloc.c: Likewise.
43624         * resolv/res-state.c: Likewise.
43625         * resolv/res_libc.c: Likewise.
43626         * sysdeps/i386/dl-machine.h: Likewise.
43627         * sysdeps/ia64/dl-machine.h: Likewise.
43628         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43629         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43630         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43631         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43632         * sysdeps/sh/dl-machine.h: Likewise.
43633         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43634         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43635         * sysdeps/unix/i386/sysdep.S: Likewise.
43636         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43637         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43638         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43639         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43640         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43641         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43642         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43643         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43644         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43645         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43646         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43647         * sysdeps/x86_64/dl-machine.h: Likewise.
43648         * tls.make.c: Likewise.
43649
43650         * configure.in: Remove --with-__thread option.  Make tests for
43651         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43652         tls_model attribute fail if no support is available.  Remove
43653         USE_IN_LIBIO.
43654         * Makeconfig: Adjust for dropped configure option.  All features are
43655         now mandatory.
43656         * Makerules: Likewise.
43657         * Versions.def: Likewise.
43658         * argp/argp-fmtstream.c: Likewise.
43659         * argp/argp-fmtstream.h: Likewise.
43660         * argp/argp-help.c: Likewise.
43661         * assert/assert.c: Likewise.
43662         * config.h.in: Likewise.
43663         * config.make.in: Likewise.
43664         * configure: Likewise.
43665         * configure.in: Likewise.
43666         * csu/Versions: Likewise.
43667         * csu/init.c: Likewise.
43668         * elf/tst-audit2.c: Likewise.
43669         * elf/tst-tls10.c: Likewise.
43670         * elf/tst-tls10.h: Likewise.
43671         * elf/tst-tls11.c: Likewise.
43672         * elf/tst-tls12.c: Likewise.
43673         * elf/tst-tls14.c: Likewise.
43674         * elf/tst-tlsmod11.c: Likewise.
43675         * elf/tst-tlsmod12.c: Likewise.
43676         * elf/tst-tlsmod13.c: Likewise.
43677         * elf/tst-tlsmod13a.c: Likewise.
43678         * elf/tst-tlsmod14a.c: Likewise.
43679         * elf/tst-tlsmod15b.c: Likewise.
43680         * elf/tst-tlsmod16a.c: Likewise.
43681         * elf/tst-tlsmod16b.c: Likewise.
43682         * elf/tst-tlsmod7.c: Likewise.
43683         * elf/tst-tlsmod8.c: Likewise.
43684         * elf/tst-tlsmod9.c: Likewise.
43685         * gmon/gmon.c: Likewise.
43686         * grp/fgetgrent_r.c: Likewise.
43687         * grp/putgrent.c: Likewise.
43688         * hurd/fopenport.c: Likewise.
43689         * include/libc-symbols.h: Likewise.
43690         * include/tls.h: Likewise.
43691         * intl/gettextP.h: Likewise.
43692         * intl/loadinfo.h: Likewise.
43693         * locale/global-locale.c: Likewise.
43694         * locale/localeinfo.h: Likewise.
43695         * mach/devstream.c: Likewise.
43696         * malloc/arena.c: Likewise.
43697         * malloc/set-freeres.c: Likewise.
43698         * misc/err.c: Likewise.
43699         * misc/getttyent.c: Likewise.
43700         * misc/mntent_r.c: Likewise.
43701         * posix/getopt.c: Likewise.
43702         * posix/wordexp.c: Likewise.
43703         * pwd/fgetpwent_r.c: Likewise.
43704         * resolv/Versions: Likewise.
43705         * resolv/res_hconf.c: Likewise.
43706         * shadow/fgetspent_r.c: Likewise.
43707         * shadow/putspent.c: Likewise.
43708         * stdio-common/printf_fphex.c: Likewise.
43709         * stdio-common/tmpfile.c: Likewise.
43710         * stdlib/abort.c: Likewise.
43711         * stdlib/fmtmsg.c: Likewise.
43712         * sunrpc/auth_unix.c: Likewise.
43713         * sunrpc/clnt_perr.c: Likewise.
43714         * sunrpc/clnt_tcp.c: Likewise.
43715         * sunrpc/clnt_udp.c: Likewise.
43716         * sunrpc/clnt_unix.c: Likewise.
43717         * sunrpc/openchild.c: Likewise.
43718         * sunrpc/svc_simple.c: Likewise.
43719         * sunrpc/svc_tcp.c: Likewise.
43720         * sunrpc/svc_udp.c: Likewise.
43721         * sunrpc/svc_unix.c: Likewise.
43722         * sunrpc/xdr.c: Likewise.
43723         * sunrpc/xdr_array.c: Likewise.
43724         * sunrpc/xdr_rec.c: Likewise.
43725         * sunrpc/xdr_ref.c: Likewise.
43726         * sunrpc/xdr_stdio.c: Likewise.
43727
43728 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43729
43730         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43731
43732 2011-07-03  Andreas Jaeger  <aj@suse.de>
43733
43734         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43735         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43736         regenerate with gen-libm-tests.pl.
43737
43738 2010-05-12  Petr Baudis  <pasky@suse.cz>
43739
43740         [BZ #11589]
43741         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43742         around j0() zero points by switching to j1().
43743         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43744         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43745         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43746         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43747
43748 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43749
43750         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43751         instead of 0.
43752         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43753         instead of 0.
43754         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43755         Patch in part by Pavel Roskin <proski@gnu.org>.
43756
43757         [BZ #13138]
43758         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43759         realloc.
43760         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
43761         Free memory block if necessary.
43762
43763         [BZ #12847]
43764         * libio/genops.c (INTDEF): For string streams the _lock pointer can
43765         be NULL.  Don't lock in this case.
43766
43767 2011-09-09  Roland McGrath  <roland@hack.frob.com>
43768
43769         * elf/elf.h (ELFOSABI_GNU): New macro.
43770         (ELFOSABI_LINUX): Define to that.
43771
43772 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
43773
43774         * string/strncat.c (strncat): Undef the symbol in case it has been
43775         defined in bits/string.h.
43776
43777 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43778
43779         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43780
43781         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43782         link map.
43783
43784 2011-08-17  Andreas Jaeger  <aj@suse.de>
43785
43786         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43787
43788 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43789             Ian Lance Taylor  <iant@google.com>
43790
43791         * math/libm-test.inc (lround_test): New testcase.
43792         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43793
43794 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
43795
43796         * Makefile: Remove support for automatic cvs check-ins.
43797         * Makerules: Likewise.
43798         * config.make.in: Likewise.
43799         * configure.in: Likewise.
43800         * intl/Makefile: Likewise.
43801         * locale/Makefile: Likewise.
43802         * po/Makefile: Likewise.
43803         * posix/Makefile: Likewise.
43804         * sysdeps/gnu/Makefile: Likewise.
43805         * sysdeps/mach/hurd/Makefile: Likewise.
43806         * sysdeps/sparc/sparc32/Makefile: Likewise.
43807
43808         [BZ #13118]
43809         * posix/Makefile (bug-regex32-ENV): Define.
43810         Patch by John Stanley <jpsinthemix@verizon.net>.
43811
43812         * misc/Makefile (headers): Add bits/select2.h.
43813         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43814         * misc/bits/select2.h: New file.
43815         * include/bits/select2.h: New file.
43816         * debug/Makefile (routines): Add fdelt_chk.
43817         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43818         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43819         FD_ISSET.
43820         * debug/fdelt_chk.c: New file.
43821
43822         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
43823         * wcsmbs/test-wmemcmp.c: Likewise.
43824         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43825         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43826
43827 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43828
43829         * string/Makefile (strop-tests): Add memcmp.
43830         * string/test-wmemcmp.c: New file.
43831         * string/test-memcmp.c: Add wmemcmp support.
43832
43833 2011-09-08  Roland McGrath  <roland@hack.frob.com>
43834
43835         [BZ #13153]
43836         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43837         2011-07-19 change.
43838
43839         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43840         garbage value in a __mach_port_mod_refs call in the cases of the
43841         task-self and thread-self ports.
43842
43843 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43844
43845         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43846
43847 2011-09-08  Andreas Schwab  <schwab@redhat.com>
43848
43849         * elf/dl-load.c (lose): Check for non-null L.
43850
43851 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43852
43853         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43854
43855         * elf/dl-libc.c (dlerror_run): Pass back error code from
43856         dl_catch_error.
43857
43858         [BZ #13123]
43859         * elf/dl-load.c (lose): Free l_origin if it is valid.
43860
43861         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43862         names.
43863         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43864         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43865         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43866         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43867         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43868         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43869
43870 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43871
43872         * sysdeps/powerpc/fpu/e_hypot.c: New file.
43873         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43874         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43875         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43876         * sysdeps/powerpc/fpu/k_cosf.c: New file.
43877         * sysdeps/powerpc/fpu/k_sinf.c: New file.
43878         * sysdeps/powerpc/fpu/s_cosf.c: New file.
43879         * sysdeps/powerpc/fpu/s_sinf.c: New file.
43880         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43881         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43882
43883 2011-08-15  Alan Modra  <amodra@gmail.com>
43884
43885         [BZ #13092]
43886         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43887         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43888         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
43889         ppc_mcount to static-only-routines.
43890         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43891         __mcount_internal.
43892         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43893         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
43894
43895 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
43896
43897         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43898         for finite and infinity parameters.
43899
43900 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43901
43902         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43903         and add nop instructions for throughput optimization.
43904         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43905
43906 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
43907
43908         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43909         aligned copy for power7 with vector-scalar instructions.
43910         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43911
43912 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
43913
43914         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43915         AVX check.
43916
43917 2011-09-07  Andreas Schwab  <schwab@redhat.com>
43918
43919         [BZ #13144]
43920         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43921         last change.
43922
43923 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43924
43925         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43926         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43927         syscall wrapper around clock_gettime in __vdso_clock_gettime.
43928         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43929         clock_gettime.
43930
43931 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43932
43933         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43934         Forgot to demangle the pointer.
43935
43936         * sysdeps/i386/sysdep.h: Define atom_text_section.
43937         * sysdeps/x86_64/sysdep.h: Likewise.
43938         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43939         section with atom_text_section.
43940         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43941         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43942         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43943         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43944         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43945
43946         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43947         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43948         already be defined.  Change to take two parameters and don't assign
43949         result to variable.  Adjust all users.
43950         Define INTERNAL_GETTIME if not already defined.
43951         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43952         call.
43953         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43954         HAVE_CLOCK_GETTIME_VSYSCALL.
43955         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43956
43957         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43958         gettimeofday vsyscall, just use time.
43959
43960 2011-09-06  Andreas Schwab  <schwab@redhat.com>
43961
43962         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43963         <errno.h>.
43964
43965 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43966
43967         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43968         syscall on x86-64.
43969         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43970         syscall.
43971         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43972         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43973         syscall if possible.
43974
43975 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43976
43977         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43978         e_ident.  Don't pass to find_mapsXX.
43979         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43980
43981 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43982
43983         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43984         strchr-sse2-no-bsf strrchr-sse2-no-bsf
43985         * sysdeps/x86_64/multiarch/strchr.S: Update.
43986         Check bit_slow_BSF bit.
43987         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43988         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43989         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43990
43991 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43992
43993         [BZ #13134]
43994         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43995         before glibc 2.15.
43996         (tryshell): Define.
43997         (__spawni): Change last parameter to be flag.  Test
43998         SPAWN_XFLAGS_USE_PATH flag to use path or not.
43999         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44000         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44001         * posix/spawni.c: Likewise.
44002         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44003         * posix/spawnp.c: Likewise.  Change normal version to use
44004         SPAWN_XFLAGS_USE_PATH.
44005         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44006         SPAWN_XFLAGS_TRY_SHELL.
44007
44008         [BZ #13150]
44009         * posix/glob.h: Remove gcc 1.x support.
44010
44011         [BZ #13068]
44012         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44013
44014 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44015
44016         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44017         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44018         strrchr-sse2-bsf
44019         * sysdeps/i386/i686/multiarch/strchr.S: New file.
44020         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44021         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44022         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44023         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44024         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44025
44026 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44027
44028         * sysdeps/x86_64/wcscmp.S: New file.
44029
44030         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44031         wcscmp-c wcscmp-sse2
44032         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44033         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44034         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44035         * wcsmbs/wcscmp.c: Allow renaming.
44036
44037 2011-09-05  David S. Miller  <davem@davemloft.net>
44038
44039         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44040         stack slot, rather than the struct return pointer slot.
44041         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44042         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44044         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44045
44046 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44047
44048         * po/ja.po: Update from translation team.
44049
44050         [BZ #13144]
44051         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44052         kernel in 64-bit binaries.
44053
44054 2011-09-01  David S. Miller  <davem@davemloft.net>
44055
44056         * elf/elf.h (HWCAP_SPARC_*): Move to..
44057         * sysdeps/sparc/sysdep.h: this new file and add new values.
44058         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44059         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44060         _DL_HWCAP_COUNT to 24.
44061         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44062         entries.
44063         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44064         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44065         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44066         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44067         instead of magic constants.
44068         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44069
44070 2011-08-31  David S. Miller  <davem@davemloft.net>
44071
44072         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44073         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44074         Reimplement to do errno handling inline.
44075         (SYSCALL_ERROR_HANDLER): New macro.
44076         (__SYSCALL_STRING): Do not do errno handling in asm.
44077         (__CLONE_SYSCALL_STRING): Delete.
44078         (__INTERNAL_SYSCALL_STRING): Delete.
44079         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44080         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44081         (PSEUDO): Reimplement to do errno handling inline.
44082         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44083         (SYSCALL_ERROR_HANDLER): New macro.
44084         (__SYSCALL_STRING): Do not do errno handling in asm.
44085         (__CLONE_SYSCALL_STRING): Delete.
44086         (__INTERNAL_SYSCALL_STRING): Delete.
44087         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44088         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44089         i386.
44090         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44091         (inline_syscall*): Add 'err' argument.
44092         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44093         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44094         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44095         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44096
44097         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44098         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44099
44100 2011-08-30  Andreas Schwab  <schwab@redhat.com>
44101
44102         * elf/rtld.c (dl_main): Relocate objects in dependency order.
44103
44104 2011-08-29  Jiri Olsa <jolsa@redhat.com>
44105
44106         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44107         directive.
44108
44109 2011-08-24  David S. Miller  <davem@davemloft.net>
44110
44111         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44112
44113 2011-08-24  Andreas Schwab  <schwab@redhat.com>
44114
44115         * elf/Makefile: Add rules to build and run unload8 test.
44116         * elf/unload8.c: New file.
44117         * elf/unload8mod1.c: New file.
44118         * elf/unload8mod1x.c: New file.
44119         * elf/unload8mod2.c: New file.
44120         * elf/unload8mod3.c: New file.
44121
44122         * elf/dl-close.c (_dl_close_worker): Reset private search list if
44123         it wasn't used.
44124
44125 2011-08-23  David S. Miller  <davem@davemloft.net>
44126
44127         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44128         subtract stack bias.
44129         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44130         %sp not %fp in calculations.
44131         (_JMPBUF_UNWINDS_ADJ): Likewise.
44132
44133         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44134         (aio_suspend): Call it to force an exception region around the
44135         AIO_MISC_WAIT() invocation.
44136
44137 2011-08-23  Andreas Schwab  <schwab@redhat.com>
44138
44139         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44140         backslash.
44141
44142 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
44143
44144         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44145         protection macro.
44146         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44147         and <dl-machine.h>.
44148         (Elf64_FuncDesc): Remove.
44149
44150 2011-08-22  David S. Miller  <davem@davemloft.net>
44151
44152         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44153         sigaltstack check, add missing cfi directives.
44154         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44155         missing cfi directives, and sigaltstack handling.
44156
44157 2011-08-16  Andreas Schwab  <schwab@redhat.com>
44158
44159         [BZ #11724]
44160         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44161         object is seen twice.
44162         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44163
44164         * elf/Makefile (distribute): Add tst-initorder2.c.
44165         (tests): Add tst-initorder2.
44166         (modules-names): Add tst-initorder2a tst-initorder2b
44167         tst-initorder2c tst-initorder2d.  Add rules to build them.
44168         ($(objpfx)tst-initorder2.out): New rule.
44169         * elf/tst-initorder2.c: New file.
44170         * elf/tst-initorder2.exp: New file.
44171
44172 2011-08-22  Andreas Schwab  <schwab@redhat.com>
44173
44174         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44175
44176         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44177         dependencies back to end of function.
44178
44179         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44180         $(elfobjdir)/ld.so.
44181
44182 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
44183
44184         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44185         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44186         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44187         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44188         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44189         of __vdso_gettimeofday.
44190         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44191         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
44192         attribute_hidden.
44193         (_libc_vdso_platform_setup): Remove initialization of
44194         __vdso_gettimeofday and __vdso_time.
44195
44196 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44197
44198         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44199         and fgetc_unlocked.
44200         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44201         getc_unlocked.
44202
44203         * elf/dl-open.c (add_to_global): Report additions to the global scope
44204         for LD_DEBUG=scopes.
44205         (dl_open_worker): Also print scope of newly loaded dependencies.
44206         (_dl_show_scope): Indicate if there is no scope.
44207
44208         [BZ #13114]
44209         * stdio-common/Makefile (tests): Add bug24.
44210         * stdio-common/bug24.c: New file.
44211
44212 2011-08-19  Andreas Jaeger  <aj@suse.de>
44213
44214         [BZ #13114]
44215         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44216         non-existant file when using close-on-exec mode.
44217
44218 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44219
44220         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44221         the very first instruction.
44222
44223         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44224         the CFI state in the end.
44225         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44226         inclusion of dl-trampoline.h.
44227         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44228
44229 2011-08-19  Andreas Schwab  <schwab@redhat.com>
44230
44231         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44232         expectations for long double.
44233
44234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44235         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44236
44237 2011-08-14  David S. Miller  <davem@davemloft.net>
44238
44239         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44240         artificual limit depends upon the system page size.
44241
44242 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44243
44244         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44245         * resolv/Makefile: Define CFLAGS-libresolv.
44246
44247 2011-08-17  Andreas Schwab  <schwab@redhat.com>
44248
44249         * nss/makedb.c (compute_tables): Make variables used in nested
44250         function static.
44251
44252 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44253
44254         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44255         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44256         if buffer was too small.
44257
44258         * elf/pldd.c (main): Attach to all threads in the process.
44259         Rewrite /proc handling to use *at functions.
44260
44261 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
44262
44263         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44264         specifies first scope to show.
44265         (dl_open_worker): Update callers.  Move printing scope of new
44266         object to before the relocation.
44267         * elf/rtld.c (dl_main): Update _dl_show_scope call.
44268         * sysdeps/generic/ldsodefs.h: Update declaration.
44269
44270         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44271         string for the scope number.
44272
44273 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
44274
44275         * nscd/servicescache.c (cache_addserv): Make sure written is always
44276         initialized.
44277
44278 2011-08-14  Roland McGrath  <roland@hack.frob.com>
44279
44280         * sysdeps/i386/i486/bits/atomic.h
44281         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44282         statement expression, so as to suppress "set but not used" warning.
44283         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44284
44285         * string/strncat.c (STRNCAT): Use prototype definition.
44286
44287         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44288         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44289         -Iprograms here.
44290         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44291         (localedef-modules): Add localedef.
44292         (locale-modules): Add locale.
44293
44294         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44295         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44296         to avoid a warning.
44297
44298 2011-08-14  David S. Miller  <davem@davemloft.net>
44299
44300         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44301         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44302
44303 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44304
44305         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44306         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44307         * elf/rtld.c (dl_main): Set l_name of vDSO.
44308         Call _dl_show_scope when DL_DEBUG_SCOPES.
44309         (process_dl_debug): Recognize scopes flag and also set it for all.
44310         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44311         Declare _dl_show_scope.
44312
44313         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44314         (do_dlopen): Pass caller_dlopen to dl_open.
44315         (__libc_dlopen_mode): Initialize caller_dlopen.
44316
44317         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44318         of libc.  Make tolower call locale-independent.  Optimize a bit by
44319         using isdigit instead of isalnum.
44320         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44321
44322 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44323
44324         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44325         was a dependency or dynamically loaded.
44326
44327 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44328
44329         * intl/l10nflist.c: Allow architecture-specific pop function.
44330         * sysdeps/x86_64/l10nflist.c: New file.
44331
44332         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44333         classification.
44334
44335 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44336
44337         * include/dirent.h: Add libc_hidden_proto for scandirat and
44338         scandirat64.  Don't declare __scandirat64.
44339         * dirent/scandirat.c: Add libc_hidden_def.
44340         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44341         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44342
44343 2011-08-10  David S. Miller  <davem@davemloft.net>
44344
44345         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44346         enum.
44347         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44348         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44349         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44350
44351 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44352
44353         * Versions.def [libc]: Add GLIBC_2.15.
44354         * dirent/Makefile (routines): Add scandirat and scandirat64.
44355         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44356         GLIBC_2.15.
44357         * dirent/dirent.h: Declare scandirat and scandirat64.
44358         * dirent/scandirat.c: New file.
44359         * dirent/scandirat64.c: New file.
44360         * sysdeps/wordsize-64/scandirat.c: New file.
44361         * sysdeps/wordsize-64/scandirat64.c: New file.
44362         * dirent/opendir.c: Define opendirat.
44363         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44364         using scandirat.
44365         * dirent/scandir64.c: Adjust for scandir.c change.
44366         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44367         __scandirat64, and __scandir_cancel_handler.
44368         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44369         additional parameter and use openat instead of open (outside of ld.so).
44370         Add new __opendir as wrapper around __opendirat.
44371         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44372         here without requiring old scandirat implementation.
44373
44374 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44375
44376         * dirent/scandir.c (cancel_handler): Renamed to
44377         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44378         defined.  Adjust users.
44379         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44380         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44381
44382 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44383
44384         * string/test-string.h (IMPL): Use __STRING to expand name and then
44385         stringify it.
44386
44387         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44388         of cleanups.
44389
44390 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44391
44392         * string/Makefile: Update.
44393         (strop-tests): Append strncat.
44394         * string/test-wcscmp.c: New file.
44395         New comprehensive test for wcscmp.
44396         * string/test-strcmp.c: Update.
44397         (WIDE): New define.
44398
44399 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44400
44401         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44402         line.
44403
44404 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44405
44406         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44407         encoding to ACE if AI_IDN.
44408
44409 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44410
44411         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44412         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44413
44414 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44415
44416         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44417         Fix overflow bug in strncat.
44418         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44419
44420         * string/test-strncat.c: Update.
44421         Add new tests for checking overflow bugs.
44422
44423 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44424
44425         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44426         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44427         * sysdeps/i386/i686/multiarch/strcat.S: New file.
44428         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44429         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44430         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44431         * sysdeps/i386/i686/multiarch/strncat.S: New file.
44432         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44433         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44434
44435         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44436         (USE_AS_STRCAT): Define.
44437         Add strcat and strncat support.
44438         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44439
44440 2011-07-25  Andreas Schwab  <schwab@redhat.com>
44441
44442         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44443         __n bigger than INT_MAX+1.
44444         (__strncmp_g): Likewise.
44445
44446 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
44447
44448         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44449         * libio/stido.h: Likewise.
44450
44451         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44452         (AF_NFC): Define.
44453         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44454         (AF_NFC): Define.
44455
44456         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44457         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44458         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44459         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44460         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44461
44462         [BZ #13021]
44463         * scripts/test-installation.pl: Don't expect libnss_test1 to be
44464         installed.
44465
44466         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44467         typo.
44468         (_dl_x86_64_save_sse): Likewise.
44469
44470 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
44471
44472         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44473         OSXSAVE.
44474         (_dl_x86_64_save_sse): Likewise.
44475
44476         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44477
44478         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44479
44480 2011-07-21  Andreas Schwab  <schwab@redhat.com>
44481
44482         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44483         change.
44484         (_dl_x86_64_save_sse): Use correct AVX check.
44485
44486 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44487
44488         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44489         bug in strncpy/strncat.
44490         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44491
44492 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
44493
44494         * string/tester.c (test_strcat): Add tests for different alignments
44495         of source and destination.
44496         (test_strncat): Likewise.
44497
44498 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44499
44500         [BZ #12852]
44501         * posix/glob.c (glob): Check passed in values before using them in
44502         expressions to avoid some overflows.
44503         (glob_in_dir): Likewise.
44504
44505         [BZ #13007]
44506         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44507         check for AVX enablement so that we don't crash with old kernels and
44508         new hardware.
44509         * elf/tst-audit4.c: Add same checks here.
44510         * elf/tst-audit6.c: Likewise.
44511
44512         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44513
44514 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
44515
44516         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44517
44518 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44519
44520         * po/cs.po: Update from translation team.
44521         * po/bg.po: Likewise.
44522
44523 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
44524
44525         * misc/sys/cdefs.h: Add support for const attribute.
44526         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44527         to gnu_dev_{major,minor,makedev} functions.
44528
44529 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
44530
44531         * intl/dcigettext.c (get_output_charset): Add missing bracket.
44532
44533 2011-07-20  Andreas Schwab  <schwab@redhat.com>
44534
44535         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44536         strlen results.
44537
44538 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44539
44540         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44541         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44542         register in order to avoid conflicts with the soft frame pointer
44543         being held in r11 when necessary.
44544         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44545         (INTERNAL_VSYSCALL_NCS): Likewise.
44546
44547 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
44548
44549         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44550         * elf/dl-fini.c (_dl_fini): Adjust caller.
44551         * elf/dl-close.c (_dl_close_worker): Likewise.
44552         * sysdeps/generic/ldsodefs.h: Adjust declaration.
44553
44554 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44555
44556         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44557         "aux_cache->nlibs < 0".
44558
44559         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44560         in the reload-count case.
44561
44562 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44563
44564         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44565         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44566         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44567         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44568         * sysdeps/x86_64/multiarch/strcat.S: New file.
44569         * sysdeps/x86_64/multiarch/strncat.S: New file.
44570         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44571         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44572         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44573         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44574         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44575         (USE_AS_STRCAT): Define.
44576         Add strcat and strncat support.
44577         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44578         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44579         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44580         * string/strncat.c: Update.
44581         (USE_AS_STRNCAT): Define.
44582         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44583         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44584         and i7.
44585         * sysdeps/x86_64/multiarch/init-arch.h
44586         (bit_Prefer_PMINUB_for_stringop): New.
44587         (index_Prefer_PMINUB_for_stringop): Likewise.
44588         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44589         bit_Prefer_PMINUB_for_stringop.
44590
44591 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44592
44593         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44594         buffer64.
44595         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44596         of casting of buffer.
44597         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44598         buffer32 and buffer64.
44599         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44600         writes instead of casting of buffer.
44601         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44602         buffer32.
44603         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44604         casting of buffer.
44605
44606 2011-07-19  Andreas Schwab  <schwab@redhat.com>
44607
44608         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44609
44610 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44611
44612         * nscd/nscd.c (termination_handler): Don't do anything for a database
44613         if it has not yet been initialized.
44614
44615 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44616
44617         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44618
44619 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44620
44621         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44622
44623 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44624
44625         * po/nl.po: Update from translation team.
44626         * po/sv.po: Likewise.
44627
44628 2011-07-16  Roland McGrath  <roland@hack.frob.com>
44629
44630         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44631         now disallowed by GCC.
44632
44633         * configure.in (use-default-link): Default to yes if a test -shared
44634         link meets our qualifications.
44635         * configure: Regenerated.
44636
44637         * config.make.in (output-format): New variable.
44638         * configure.in: Check for ld --print-output-format support.
44639         * configure: Regenerated.
44640         * Makerules ($(common-objpfx)format.lds)
44641         [$(output-format) != unknown]: Just use $(output-format),
44642         instead of the linker-script munging.
44643
44644 2011-07-14  Roland McGrath  <roland@hack.frob.com>
44645
44646         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44647         of $(common-objpfx)shlib.lds.
44648         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44649
44650         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44651         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44652
44653         * configure.in (-z relro check): Adjust test code to add a large
44654         writable data section after it.
44655         * configure: Regenerated.
44656
44657 2011-07-11  Roland McGrath  <roland@hack.frob.com>
44658
44659         * configure.in (-z relro check): Fix test code to make the variable
44660         truly const.
44661         * configure: Regenerated.
44662
44663 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
44664
44665         * nscd/nscd.h (struct traced_file): Define.
44666         (struct database_dyn): Remove inotify_descr, reset_res, and filename
44667         elements.  Add traced_files.
44668         (inotify_fd): Declare.
44669         (register_traced_file): Declare.
44670         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44671         (inotify_fd): Export.
44672         (resolv_conf_descr): Remove.
44673         (nscd_init): Move inotify descriptor creation to main.
44674         Don't register files for notification here.
44675         (register_traced_file): New function.
44676         (invalidate_cache): Don't use reset_res to determine whether to call
44677         res_init, go through the list of registered files.
44678         (main_loop_poll): The inotify descriptors are now stored in the
44679         structures for the traced files.
44680         (main_loop_epoll): Likewise
44681         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
44682         to __nss_disable_nscd.
44683         * nscd/cache.c (prune_cache): There is no single inotify descriptor
44684         for a database anymore.  Check the records for all the registered
44685         files instead.
44686         * nss/Makefile (libnss_files-routines): Add files-init.
44687         (libnss_db-routines): Add db-init.
44688         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44689         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44690         * nss/nss_db/db-init.c: New file.
44691         * nss/nss_files/files-init.c: New file.
44692         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
44693         __nss_lookup_function.
44694         (__nss_lookup_function): Call nss_load_library.
44695         (nss_load_all_libraries): New function.
44696         (__nss_disable_nscd): Take parameter with callback function for files
44697         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
44698         used for the cached services.
44699         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44700         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44701         options for features to all the files in nscd.
44702
44703         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44704
44705 2011-07-10  Roland McGrath  <roland@hack.frob.com>
44706
44707         * csu/elf-init.c (__libc_csu_init): Comment typo.
44708
44709 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
44710
44711         * po/pl.po: Update from translation team.
44712         * po/ja.po: Likewise.
44713         * po/ru.po: Likewise.
44714         * po/ko.po: Likewise.
44715         * po/fr.po: Likewise.
44716
44717 2011-07-09  Roland McGrath  <roland@hack.frob.com>
44718
44719         * configure.in (.ctors/.dtors header and trailer check):
44720         Use an empirical test on a built program.
44721         * configure: Regenerated.
44722
44723         * configure.in (-z relro check): Use an empirical test on a built DSO.
44724         Detect, but do not require, on ia64.
44725         * configure: Regenerated.
44726
44727         * configure.in (READELF): Find it with AC_CHECK_TOOL.
44728         Update tests that use readelf to use $READELF instead.
44729         * configure: Regenerated.
44730
44731 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
44732
44733         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44734         if the result is not used.
44735
44736 2011-07-05  Andreas Jaeger  <aj@suse.de>
44737
44738         [BZ#9696]
44739         * stdlib/tst-strtod.c: Add testcase.
44740
44741 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
44742
44743         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44744         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44745         The latter has a higher limit.  Take additional parameter to pass to
44746         the new function.
44747         (__pathconf): Pass file to __statfs_link_max.
44748         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44749         __statfs_link_max.
44750         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44751         __statfs_link_max.
44752
44753         [BZ #12868]
44754         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44755         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44756         Handle Lustre.
44757         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44758         (__statfs_filesize_max): Likewise.
44759         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44760
44761 2011-07-05  Andreas Jaeger  <aj@suse.de>
44762
44763         * resolv/res_comp.c (dn_skipname): Remove unused variable.
44764
44765 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
44766
44767         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44768         `status' variable.
44769         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44770         Likewise.
44771
44772 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
44773
44774         * Makefile (strop-tests): Add strncat.
44775         * string/test-strncat.c: New file.
44776
44777 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
44778
44779         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44780
44781 2011-06-21  Andreas Jaeger  <aj@suse.de>
44782
44783         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44784         Copy rule from iconvdata/Makefile.
44785
44786 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44787
44788         [BZ #12922]
44789         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44790         but no long options are defined, just return 'W'.
44791
44792 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
44793
44794         [BZ #9696]
44795         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44796
44797 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44798
44799         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44800         netgroups to read.
44801         (innetgr): Likewise.
44802
44803 2011-07-05  Roland McGrath  <roland@hack.frob.com>
44804
44805         * config.make.in (install_root): Default to $(DESTDIR).
44806
44807 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
44808
44809         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44810
44811 2011-07-02  Roland McGrath  <roland@hack.frob.com>
44812
44813         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44814
44815         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44816         containing directory rather than embedding absolute directory names.
44817
44818         * scripts/check-local-headers.sh: Rewritten using awk.
44819         Match by word, not by line.  Print error messages for matches.
44820         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44821
44822         * Makerules [shlib-lds-flags empty]:
44823         ($(common-objpfx)libc_pic.opts): New target.
44824         ($(common-objpfx)libc_pic.os.clean): New target.
44825         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44826
44827         * config.make.in (OBJCOPY): New variable.
44828         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44829         * configure: Regenerated.
44830
44831         * config.make.in (use-default-link): New variable.
44832         * configure.in (use_default_link): Grok --with-default-link to set it.
44833         * configure: Regenerated.
44834         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44835         (shlib-lds, shlib-lds-flags): Define to empty.
44836
44837         * Makerules (shlib-lds): New variable.
44838         (shlib-lds-flags): New variable.
44839         (build-shlib, build-moduile, build-module-asneeded): Use it.
44840         ($(common-objpfx)libc.so): Use $(shlib-lds).
44841         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44842         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44843
44844         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44845         DT_FLAGS/DT_FLAGS_1 with zero flags.
44846
44847         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44848         linker script munging.
44849
44850 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
44851
44852         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44853         as 128-bit value.
44854         * crypt/sha512.c (sha512_process_block): Perform total addition using
44855         128-bit if possible.
44856         (__sha512_finish_ctx): Likewise.
44857         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44858         as 64-bit value.
44859         * crypt/sha256.c (SWAP64): Define.
44860         (sha256_process_block): Perform total addition using 64-bit if
44861         possible.
44862         (__sha256_finish_ctx): Likewise.
44863
44864 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
44865
44866         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
44867         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44868         * nscd/hstcache.c (cache_addhst): Likewise.
44869         * nscd/grpcache.c (cache_addgr): Likewise.
44870         * nscd/aicache.c (addhstaiX): Likewise
44871         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44872
44873 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
44874
44875         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44876         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44877         * nscd/hstcache.c (cache_addhst): Likewise.
44878         * nscd/grpcache.c (cache_addgr): Likewise.
44879         * nscd/aicache.c (addhstaiX): Likewise
44880
44881 2011-07-01  Andreas Schwab  <schwab@redhat.com>
44882
44883         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44884         domain only when needed.
44885
44886 2011-06-30  Andreas Schwab  <schwab@redhat.com>
44887
44888         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44889         is always restored.
44890
44891 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
44892
44893         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44894         are re-adding the entry.
44895         * nscd/servicescache.c (cache_addserv): Likewise.
44896
44897 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
44898
44899         * sysdeps/generic/dl-irel.h: fix protection against multiple
44900         inclusions.
44901         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44902
44903 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
44904
44905         [BZ #12935]
44906         * malloc/memusage.sh: Fix quoting in message.
44907         * debug/xtrace.sh: Likewise.
44908
44909         * configure.in: Remove support for --experimental-malloc option, make
44910         it the default.
44911         * config.make.in: Likewise.
44912         * malloc/Makefile: Likewise.
44913
44914 2011-06-27  Andreas Schwab  <schwab@redhat.com>
44915
44916         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44917         two-byte characters.
44918
44919 2011-06-27  Roland McGrath  <roland@hack.frob.com>
44920
44921         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44922         AC_CACHE_CHECK invocation.
44923         * configure: Regenerated.
44924
44925         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44926
44927 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
44928
44929         [BZ #12350]
44930         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
44931         bit from old_res_options.
44932
44933         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44934
44935         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44936         value type for setfct.
44937
44938 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
44939
44940         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44941         __gettimeofday instead of gettimeofday.
44942
44943 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
44944
44945         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44946
44947 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
44948
44949         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44950
44951         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44952         info.
44953
44954 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44955
44956         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44957         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44958         strcpy-sse2-unaligned strncpy-sse2-unaligned
44959         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44960         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44961         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44962         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44963         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44964         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44965         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44966         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44967         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44968         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44969         (STRCPY): Support SSE2 and SSSE3 versions.
44970
44971 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
44972
44973         [BZ #12874]
44974         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44975         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44976         kernels which artificially limit size of requests.
44977
44978 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44979
44980         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44981         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44982         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44983         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44984         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44985         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44986         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44987         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44988         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44989         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44990         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44991         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44992         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44993         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44994         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44995         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44996         Enable unaligned load optimization for Intel Core i3, i5 and i7
44997         processors.
44998         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44999         Define.
45000         (index_Fast_Unaligned_Load): Define.
45001         (HAS_FAST_UNALIGNED_LOAD): Define.
45002
45003 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
45004
45005         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45006
45007 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45008
45009         [BZ #12907]
45010         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45011         until it is clear that the information is realy needed.
45012         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45013
45014 2011-06-22  Andreas Schwab  <schwab@redhat.com>
45015
45016         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45017
45018 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45019
45020         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45021         /sys/devices/system/cpu/online if it is usable.
45022
45023         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45024         reading the information from the /proc filesystem to once a second.
45025
45026 2011-06-21  Andreas Jaeger  <aj@suse.de>
45027
45028         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45029         NULL after inclusion of kernel headers.
45030
45031 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
45032
45033         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45034         calls to internal_setent.
45035
45036         [BZ #12885]
45037         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45038         addresses using gethostbyname4_r ignore IPv4 addresses.
45039
45040         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45041         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
45042
45043         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45044
45045 2011-06-20  David S. Miller  <davem@davemloft.net>
45046
45047         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45048         inclusions.
45049         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45050
45051         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45052         (elf_irel): Use it.
45053         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45054         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45055         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45056         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45057         * sysdeps/x86_64/dl-irel.h: Likewise.
45058
45059         * elf/dl-runtime.c: Use elf_ifunc_invoke.
45060         * elf/dl-sym.c: Likewise.
45061
45062 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45063
45064         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
45065         need to dereference resplen2.
45066
45067 2011-06-14  Andreas Schwab  <schwab@redhat.com>
45068
45069         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45070
45071 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45072
45073         * Makeconfig: Define vardbdir and inst_vardbdir.
45074         * nss/Makefile: Add rules to install db-Makefile.
45075
45076         * nss/nss_db/db-XXX.c: Cleanup.
45077
45078         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45079         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45080         GLIBC_PRIVATE.
45081         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45082         * nss/makedb.c: Implement -g option to specify that value strings
45083         are generated and should not be added to table iterated over for
45084         get*ent calls.
45085         * nss/nss_db/db-initgroups.c: New file.
45086
45087         * nss/getent.c: Add support for initgroups lookups through getgrouplist
45088         interface.
45089
45090         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45091         (internal_getgrouplist): Adjust to name change.
45092         Update use_initgroups_entry if this is not the first call.
45093         * nss/databases.def: Add initgroups entry.
45094
45095         * nss/makedb.c (compute_tables): Check result of multiple hash table
45096         sizes to minimize maximum chain length.
45097
45098 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
45099
45100         * Versions.def: Add entry for libnss_db.
45101         * shlib-versions: Likewise.
45102         * nss/Makefile: Add rules to build libnss_db.
45103         * nss/Versions: Add libnss_db information.  Organize libnss_files
45104         entries better.
45105         * nss/db-Makefile: Add gshadow support.  Change rules for the new
45106         makedb progra.  Some minor improvements to generate smaller files.
45107         * nss/nss_db/nss_db.h: Move NSS database header data structures to
45108         here from...
45109         * nss/makedb.c: ...here.
45110         Improve database format to be smaller and require less memory at
45111         runtime.
45112         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
45113         db anymore.
45114         * nss/nss_db/db-netgrp.c: Likewise.
45115         * nss/nss_db/db-open.c: Likewise.
45116         * nss/nss_files/flies-XXX.x: Adjust comments.
45117         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45118         * nss/nss_files/files-grp.c: Likewise.
45119         * nss/nss_files/files-hosts.c: Likewise.
45120         * nss/nss_files/files-network.c: Likewise.
45121         * nss/nss_files/files-proto.c: Likewise.
45122         * nss/nss_files/files-pwd.c: Likewise.
45123         * nss/nss_files/files-rpc.c: Likewise.
45124         * nss/nss_files/files-service.c: Likewise.
45125         * nss/nss_files/files-sgrp.c: Likewise.
45126         * nss/nss_files/files-spwd.c: Likewise.
45127         * nss/nss_db/db-alias.c: Removed.
45128         * nss/nss_db/dummy-db.h: Removed.
45129
45130 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
45131
45132         * nss/makedb.c: Rewritten to not use database library.
45133         * nss/Makefile: Update to build new makedb program.
45134
45135 2011-06-14  Andreas Jaeger  <aj@suse.de>
45136
45137         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45138         memset declaration.
45139
45140 2011-06-10  Andreas Schwab  <schwab@redhat.com>
45141
45142         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45143         tmpbuf.
45144
45145 2011-06-10  Roland McGrath  <roland@hack.frob.com>
45146
45147         * Makerules (shlib.lds): Fail if the linker script comes out empty.
45148         * elf/Makefile ($(objpfx)ld.so): Likewise.
45149
45150         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45151         Don't list ld.so twice in dependencies.
45152
45153         * posix/bug-regex31.c: Include <stdlib.h>.
45154
45155         * nscd/hstcache.c (cache_addhst): Remove unused variable.
45156
45157         * nis/nss_compat/compat-spwd.c
45158         (getspent_next_nss_netgr): Remove unused variable.
45159         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45160
45161         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45162         nonmembers" output to use the right array.
45163
45164         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45165
45166         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45167
45168         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45169         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45170         * catgets/gencat.c (read_input_file): Likewise.
45171         * locale/programs/locarchive.c (enlarge_archive): Likewise.
45172
45173         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45174         variable definition inside #if's controlling its use.
45175
45176         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45177
45178         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45179
45180         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45181
45182         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45183         unreachable code.
45184
45185         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45186
45187         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45188         * configure: Regenerated.
45189
45190         * Makerules: Revert last change.
45191         * elf/Makefile: Likewise.
45192
45193 2011-06-09  Roland McGrath  <roland@hack.frob.com>
45194
45195         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45196         * elf/Makefile ($(objpfx)librtld.os): Likewise.
45197         (reloc-link): Likewise.
45198
45199 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
45200
45201         * elf/Makefile: Add rules to build pldd.
45202         * elf/pldd.c: New file.
45203         * elf/pldd-xx.c: New file.
45204
45205 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
45206
45207         * version.h: Update for 2.15 development version.
45208
45209 2011-06-07  David S. Miller  <davem@davemloft.net>
45210
45211         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45212         ifuncs.
45213         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45214         elf_machine_lazy_rel): Likewise.
45215         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45216         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45217         elf_machine_lazy_rel): Likewise.
45218         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45219         dl_hwcap via passed in argument.
45220         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45221         Likewise.
45222
45223 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45224
45225         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
45226
45227 2011-06-06  Roland McGrath  <roland@hack.frob.com>
45228
45229         [BZ #12849]
45230         * manual/fdl-1.1.texi: New file, verbatim from:
45231         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45232         * manual/lgpl-2.1.texi: New file, verbatim from:
45233         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45234         * manual/Makefile (licenses): New variable, list those new file names.
45235         (texis): Use it.
45236         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45237
45238         * manual/fdl.texi: File removed.
45239         * manual/lesser.texi: File removed.
45240         * manual/libc.texinfo (Copying, Documentation License):
45241         Use new @include file names, put @appendix directive before @include.
45242
45243 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
45244
45245         [BZ #12841]
45246         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45247         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45248         (mq_open): Add __NTH.
45249
45250 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
45251
45252         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45253         Assume Intel Core i3/i5/i7 processor if AVX is available.
45254
45255 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45256
45257         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45258         typo.
45259
45260 2011-05-31  Andreas Schwab  <schwab@redhat.com>
45261
45262         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45263         memory.  Use alloca_account.  Fix memory leak when retrying.
45264
45265 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45266
45267         * version.h (RELEASE): Bump for 2.14 release.
45268         * include/features.h (__GLIBC_MINOR__): Bump to 14.
45269
45270         * config.make.in (RANLIB): Remove entry.
45271
45272 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
45273
45274         * po/Makefile (po-sed-cmd): Add ksh to extensions.
45275         (libc.pot): Work around missing support for .ksh extension in xgettext.
45276
45277         [BZ #12684]
45278         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45279         if both request failed.
45280         (send_dg): In case of server errors clear resplen or *resplen2.
45281
45282         [BZ #12454]
45283         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45284         when there are multiple maps.
45285         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45286         (_dl_fini): Remove test here.
45287
45288         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45289
45290 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45291
45292         [BZ #12350]
45293         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45294         bit from old_res_options.
45295         (gaih_inet): Likewise.
45296
45297         [BZ #11099]
45298         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45299         as signed.
45300
45301         * resolv/res_init.c (res_setoptions): Make the code more compact.
45302
45303         [BZ #11558]
45304         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45305         set RES_USEVC.
45306
45307         [BZ #11634]
45308         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45309
45310         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45311
45312         [BZ #11781]
45313         * malloc/malloc.h: Declare malloc hook variables as volatile.
45314
45315         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45316         in last patch.
45317
45318         [BZ #11799]
45319         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45320         raise in the comment.
45321         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45322         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45323         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45324
45325 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45326
45327         [BZ #12811]
45328         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45329         grow the buffers more if it already has to be sufficient.
45330         (build_wcs_upper_buffer): Likewise.
45331         * posix/regexec.c (check_matching): Likewise.
45332         (clean_state_log_if_needed): Likewise.
45333         (extend_buffers): Don't enlarge buffers beyond size of the input
45334         buffer.
45335         Patches mostly by Emil Wojak <emil@wojak.eu>.
45336         * posix/bug-regex32.c: New file.
45337         * posix/Makefile (tests): Add bug-regex32.
45338
45339         * locale/findlocale.c (_nl_find_locale): Return right away if
45340         _nl_explode_name failed.
45341         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45342
45343         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45344
45345         * debug/xtrace.sh: Unify messages.
45346         * malloc/memusage.sh: Likewise.
45347
45348         [BZ #12813]
45349         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45350         time symbol from vDSO.  Substitute with vsyscall if not available.
45351         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45352         __vdso_time.
45353
45354         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45355         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45356         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45357         Add sendmmsg and internal_sendmmsg.
45358         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45359         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45360         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45361
45362         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45363         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45364         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45365
45366 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45367
45368         [BZ #12813]
45369         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45370         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45371         available.
45372         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45373         __vdso_getcpu.
45374
45375         [BZ #12814]
45376         * iconvdata/Makefile (tests): Add bug-iconv9.
45377         * iconvdata/bug-iconv9.c: New file.
45378
45379 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45380
45381         [BZ #12814]
45382         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45383
45384 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45385
45386         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45387         (struct user_regs_struct): Change intcs field back to cs.
45388
45389 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45390
45391         * po/ja.po: Update from translation team.
45392
45393 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45394
45395         [BZ #12795]
45396         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45397         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45398
45399 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45400
45401         * stdlib/longlong.h: Update from GCC.
45402
45403 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45404
45405         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45406         parameter name.
45407         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45408         Add parameter name.
45409         (__sysconf): Pass it down.
45410
45411 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45412
45413         [BZ #12671]
45414         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45415         some situations.
45416         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45417         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45418         add in in __libc_use_alloca calls.  Adjust callers.
45419         (glob): Use malloc in some situations.
45420
45421         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45422         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45423         pltexit.
45424
45425 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
45426
45427         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45428         and CLOCK_BOOTTIME_ALARM.
45429
45430         [BZ #12782]
45431         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45432         is returned.
45433
45434         * string/_strerror.c (__strerror_r): Print negative errors as signed
45435         numbers.
45436
45437         [BZ #12777]
45438         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45439         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45440         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45441
45442         * configure.in: Fix typo in redirection and correct removal of test
45443         files in two cases.
45444
45445         [BZ #12788]
45446         * locale/setlocale.c (new_composite_name): Fix test to check for
45447         identical name of all categories.
45448
45449         [BZ #12792]
45450         * libio/filedoalloc.c (local_isatty): New function.
45451         (_IO_file_doallocate): Use local_isatty.
45452         * stdio-common/perror.c (perror): In case a new stream is used
45453         forward the stream error.
45454         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45455         error flag.
45456
45457 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
45458
45459         [BZ #11869]
45460         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45461         alloca.
45462         * include/alloca.h (extend_alloca_account): Define.
45463
45464         [BZ #11857]
45465         * posix/regex.h: Fix comments with documentation of user-accessible
45466         fields after compilation and describe correct free'ing of pattern
45467         after re_compile_pattern.
45468         Patch by Reuben Thomas <rrt@sc3d.org>.
45469
45470 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
45471
45472         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45473         and -mno-altivec to prevent the compiler from using Altivec and/or
45474         VSX instructions when the corresponding registers are not available.
45475
45476 2011-05-19  Andreas Schwab  <schwab@redhat.com>
45477
45478         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45479
45480 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
45481
45482         * libio/freopen.c (freopen): Use __dup2, not dup2.
45483         * libio/freopen64.c (freopen64): Likewise.
45484
45485 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45486
45487         [BZ #12775]
45488         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45489         * math/Makefile (tests): Add test-powl.
45490         (CFLAGS-test-powl.c): Define.
45491         * math/test-powl.c: New file.
45492
45493 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45494
45495         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45496
45497 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
45498
45499         [BZ #11837]
45500         * iconvdata/gb18030.c: Update to GB18020-2005.
45501
45502 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
45503
45504         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45505         RE_SYNTAX_POSIX_AWK): Update to match recent development.
45506         Patch by Aharon Robbins <arnold@skeeve.com>.
45507
45508         [BZ #11892]
45509         * stdlib/putenv.c (putenv): Don't always create copy of the variable
45510         on the stack.
45511
45512         [BZ #11895]
45513         * misc/pselect.c (__pselect): Handle timeout value errors hidden
45514         through underflows.
45515
45516         [BZ #12766]
45517         * misc/error.c (error_at_line): Ensure file_name and old_file_name
45518         point to strings before performing equality test for error_one_per_line
45519         mode.
45520
45521         [BZ #11697]
45522         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45523
45524         [BZ #11820]
45525         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45526         (struct user_fpregs_struct): Avoid __uint*_t types.
45527
45528         [BZ #6420]
45529         * malloc/mtrace.c (tr_where): Add additional parameter to point to
45530         symbol info.  Use it instead of calling _dl_addr locally.
45531         (lock_and_info): New function.
45532         (tr_freehook): Call lock_and_info and pass symbol info as additional
45533         parameter to tr_where.
45534         (tr_mallochook): Likewise.
45535         (tr_reallochook): Likewise.
45536         (tr_memalignhook): Likewise.
45537
45538         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
45539         used and couldn't be at all thread-safe.
45540
45541 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
45542
45543         * libio/freopen.c (freopen): Don't close old file descriptor
45544         before the new one is opened.  Instead dup the new file descriptor
45545         to the old one after the new stream is created.
45546         * libio/freopen64.c (freopen64): Likewise.
45547         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45548         * libio/fileops.c (_IO_new_file_close_it): Handle new
45549         _IO_FLAGS2_NOCLOSE flag.
45550         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45551         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45552         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45553         _IO_FLAGS2_NOCLOSE flag.
45554         * include/unistd.h: Add hidden_proto for dup3.
45555         Define __have_dup3.
45556         * io/dup3.c: Define hidden symbol.
45557         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45558
45559         [BZ #7101]
45560         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45561         when an incomplete long option is used.
45562         * posix/tst-getopt_long1.c: New file.
45563         * posix/Makefile (tests): Add tst-getopt_long1.
45564
45565         [BZ #10138]
45566         * scripts/config.guess: Update from autoconf-2.68.
45567         * scripts/config.sub: Likewise.
45568
45569         [BZ #10157]
45570         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45571         tests into ...
45572         (has_cpuclock): ...this.  New function.
45573         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45574         macro here based on has_cpuclock code.
45575
45576         [BZ #10149]
45577         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45578         First byte (not low byte) is now always NUL.
45579         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45580
45581         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45582         Use non-cancelable interfaces.
45583
45584         [BZ #9809]
45585         * locale/iso-639.def: Add entry for Sorani.
45586
45587         [BZ #11901]
45588         * include/stdlib.h: Move include protection to the right place.
45589         Define abort_msg_s.  Declare __abort_msg with it.
45590         * stdlib/abort.c (__abort_msg): Adjust type.
45591         * assert/assert.c (__assert_fail_base): New function.  Majority
45592         of code from __assert_fail.  Allocate memory for __abort_msg with
45593         mmap.
45594         (__assert_fail): Now call __assert_fail_base.
45595         * assert/assert-perr.c: Remove bulk of implementation.  Use
45596         __assert_fail_base.
45597         * include/assert.hL Declare __assert_fail_base.
45598         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45599         mmap.
45600         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45601
45602 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
45603
45604         [BZ #11952]
45605         [BZ #12453]
45606         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45607         until all modules are registered in the DTV.
45608         * elf/Makefile: Add rules to build and run tst-tls19.
45609         * elf/tst-tls19.c: New file.
45610         * elf/tst-tls19mod1.c: New file.
45611         * elf/tst-tls19mod2.c: New file.
45612         * elf/tst-tls19mod3.c: New file.
45613         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45614
45615         [BZ #12083]
45616         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45617         correctly.
45618
45619         [BZ #12601]
45620         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45621         two-byte sequence errors.
45622         * iconvdata/Makefile (tests): Add bug-iconv8.
45623         * iconvdata/bug-iconv8.c: New file.
45624
45625         [BZ #12626]
45626         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45627         buf2 definition.
45628
45629         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45630
45631         [BZ #12432]
45632         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45633         (dummy_getcfa): New function.
45634         (init): Get _Unwind_GetCFA address, use dummy if not found.
45635         (backtrace_helper): In recursion check, also check whether CFA changes.
45636         (__backtrace): Completely initialize arg.
45637
45638         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45639         storing incomplete byte sequence in state object.  Avoid testing for
45640         guaranteed too small input if we know there is enough data available.
45641
45642 2011-05-11  Andreas Schwab  <schwab@redhat.com>
45643
45644         * Makeconfig (+link-pie): Indent.
45645         * Rules (binaries-pie): Define if $(have-fpie) and
45646         $(build-shared).
45647         (binaries-shared): Also filter out $(binaries-pie).
45648         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45649         * nscd/Makefile (others-pie): Add nscd.
45650         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45651         ($(objpfx)nscd): Remove command override.
45652         * login/Makefile (others-pie): Add pt_chown.
45653         ($(objpfx)pt_chown): Remove command override.
45654         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45655         remove command overrides.
45656
45657 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
45658
45659         * libio/tst_putwc.c: Fix error messages.
45660
45661         [BZ #12724]
45662         * libio/fileops.c (_IO_new_file_close_it): Always flush when
45663         currently writing and seek to current position when not.
45664         * libio/Makefile (tests): Add bug-fclose1.
45665         * libio/bug-fclose1.c: New file.
45666
45667 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
45668
45669         [BZ #12511]
45670         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45671         don't set DF_1_NODELETE here.
45672         (do_lookup_x): When entering new entry test for copy relocation
45673         and if necessary set DF_1_NODELETE flag.
45674         * elf/tst-unique4.cc: New file.
45675         * elf/tst-unique4.h: New file.
45676         * elf/tst-unique4lib.cc: New file.
45677         * elf/Makefile: Add rules to build and run tst-unique4.
45678         Patch by Piotr Bury <pbury@goahead.com>.
45679
45680 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
45681
45682         [BZ #12052]
45683         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45684
45685         [BZ #12625]
45686         * misc/mntent_r.c (addmntent): Flush the stream after the output
45687
45688         [BZ #12393]
45689         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45690         (is_trusted_path_normalize): Skip initial colon.  Append slash
45691         to empty buffer.  Duplicate is_trusted_path code but allow
45692         constructed patch to be prefix.
45693         (is_dst): Allow $ORIGIN followed by /.
45694         (_dl_dst_substitute): Correct clearing of check_for_trusted.
45695         Correct testing of result of is_trusted_path_normalize
45696         (decompose_rpath): Fix warning.
45697
45698 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
45699
45700         [BZ #11257]
45701         * grp/initgroups.c (internal_getgrouplist): When we found the service
45702         list through the initgroups entry in nsswitch.conf do not always
45703         continue on a successful lookup.  Don't always use the
45704         __nss_group_database value if it is set.
45705         * nss/nsswitch.conf (initgroups): Change action for successful db
45706         lookup to continue for compatibility.
45707
45708 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
45709
45710         [BZ #11532]
45711         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45712         and CP774 modules.
45713         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45714         and CP774 modules.
45715         * iconvdata/tst-tables.sh: Likewise.
45716         * iconvdata/cp770.c: New file.
45717         * iconvdata/cp771.c: New file.
45718         * iconvdata/cp772.c: New file.
45719         * iconvdata/cp773.c: New file.
45720         * iconvdata/cp774.c: New file.
45721         * iconvdata/testdata/CP770: New file.
45722         * iconvdata/testdata/CP770..UTF8: New file.
45723         * iconvdata/testdata/CP771: New file.
45724         * iconvdata/testdata/CP771..UTF8: New file.
45725         * iconvdata/testdata/CP772: New file.
45726         * iconvdata/testdata/CP772..UTF8: New file.
45727         * iconvdata/testdata/CP773: New file.
45728         * iconvdata/testdata/CP773..UTF8: New file.
45729         * iconvdata/testdata/CP774: New file.
45730         * iconvdata/testdata/CP774..UTF8: New file.
45731
45732         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45733         END CHARMAP line.
45734         * iconvdata/gen-8bit-gap.sh: Likewise.
45735         * iconvdata/gen-8bit.sh: Likewise.
45736
45737         * locale/iso-639.def: Add ary entry.
45738
45739         [BZ #11258]
45740         * locale/C-translit.h.in: Add U20A1 transliteration.
45741
45742         [BZ #12178]
45743         * locale/iso-639.def: Add wae entry.
45744         Patch by Kevin Bortis <bortis@translate-wae.ch>.
45745
45746         [BZ #12545]
45747         * locale/programs/localedef.c (construct_output_path): Use ssize_t
45748         for n.
45749
45750         [BZ #12711]
45751         * locale/C-translit.h.in: Add entry for U20B9.
45752         Patch by pravin.d.s@gmail.com.
45753
45754 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
45755
45756         [BZ #12713]
45757         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45758         ENAMETOOLONG use generic getcwd.
45759         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
45760         in rtld.  Use *stat64.
45761         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45762         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45763         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45764         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45765         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45766         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45767         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45768         __fstatat64 macros.
45769         * include/dirent.h: Add libc_hidden_proto for rewinddir.
45770         * dirent/rewinddir.c: Add libc_hidden_def.
45771         * sysdeps/mach/hurd/rewinddir.c: Likewise.
45772         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
45773
45774         * include/dirent.h (__alloc_dir): Add flags parameter.
45775         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45776         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45777         __alloc_dir.
45778         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
45779         from fdopendir if O_CLOEXEC is already set.
45780
45781 2011-03-15  Alan Modra  <amodra@gmail.com>
45782
45783         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45784         l_tls_firstbyte_offset non-zero.  Save padding offset in
45785         l_tls_firstbyte_offset for later use.
45786         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45787         freeing static tls block.
45788
45789 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
45790
45791         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45792         where #ifdef was intended.  The intent is to prevent ARG_MAX from
45793         being defined by the kernel headers.
45794
45795 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
45796
45797         [BZ #12734]
45798         * resolv/resolv.h: Define RES_NOTLDQUERY.
45799         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45800         no-tld-query and set RES_NOTLDQUERY.
45801         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45802         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45803         modern BIND to search name as TLD unless forbidden.
45804
45805 2011-05-07  Petr Baudis  <pasky@suse.cz>
45806             Ulrich Drepper  <drepper@gmail.com>
45807
45808         [BZ #12393]
45809         * elf/dl-load.c (fillin_rpath): Move trusted path check...
45810         (is_trusted_path): ...to here.
45811         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45812         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45813         using is_trusted_path_normalize() in setuid scripts.
45814
45815 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45816
45817         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45818         __BEGIN/__END_DECLS.
45819
45820 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
45821
45822         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45823         NSS_STATUS_NOTFOUND if no record was found.
45824
45825 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45826
45827         * sunrpc/Makefile (headers): Add rpc/netdb.h.
45828         (headers-not-in-tirpc): Remove rpc/netdb.h
45829         * resolv/netdb.h: Revert last change.
45830
45831 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45832
45833         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45834         circular dependency between libgcc.a and libc.a.
45835
45836 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45837
45838         * resolv/netdb.h: Don't include <rpc/netdb.h>.
45839         * nis/Makefile: Don't install rpcsvc/*.
45840         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45841         instead of <rpc/types.h>.
45842         (MAXHOSTNAMELEN): Define.
45843
45844 2011-05-03  Andreas Schwab  <schwab@redhat.com>
45845
45846         * elf/ldconfig.c (add_dir): Don't crash on empty path.
45847
45848 2011-04-28  Maciej Babinski  <mbabinski@google.com>
45849
45850         [BZ #12714]
45851         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45852         gethostbyname4_r when IPv6 results are possible.
45853
45854 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
45855
45856         [BZ #12723]
45857         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45858         _PC_PIPE_BUF handling.
45859
45860 2011-04-30  Bruno Haible  <bruno@clisp.org>
45861
45862         [BZ #12717]
45863         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45864         * resolv/netdb.h (getnameinfo): Change type of flags parameter
45865         to 'int'.
45866         * inet/getnameinfo.c (getnameinfo): Likewise.
45867
45868 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
45869
45870         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45871         to groups setting in database lookup.
45872         * nss/nsswitch.conf: Add initgroups entry.
45873
45874 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
45875
45876         [BZ #12685]
45877         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45878         mode string.
45879         Patch by Eric Blake <eblake@redhat.com>.
45880
45881 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
45882
45883         * sunrpc/Makefile (need-export-routines): Add svc_run.
45884         (routines): Remove svc_run.
45885         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45886         * sunrpc/clnt_perr.c (clnt_perrno): Export.
45887         * sunrpc/svc_run.c (svc_run): Likewise.
45888         * sunrpc/svc_udp.c (svcudp_create): Likewise.
45889
45890 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
45891
45892         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45893         problem in reallocation in last patch.
45894
45895 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
45896
45897         * sunrpc/Makefile: Move inclusion of Rules.
45898
45899 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45900
45901         * nss/nss_files/files-initgroups.c: New file.
45902         * nss/Makefile (libnss_files-routines): Add files-initgroups.
45903         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45904         _nss_files_initgroups_dyn.
45905
45906 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
45907
45908         * elf/elf.h (R_ARM_IRELATIVE): Define.
45909
45910 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45911
45912         * po/ru.po: Update from translation team.
45913
45914 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45915
45916         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45917         dependencies.
45918
45919 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
45920
45921         [BZ #12653]
45922         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45923         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45924         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45925         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45926         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45927
45928 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
45929
45930         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45931         differing bytes.
45932         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45933         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45934         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45935
45936 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45937
45938         [BZ #12420]
45939         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45940         storing it.
45941         * stdlib/bug-getcontext.c: New file.
45942         * stdlib/Makefile: Add rules to build and run bug-getcontext.
45943
45944 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45945
45946         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45947         instructions into .machine "z9-109".
45948         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45949         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45950
45951 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45952
45953         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45954         between environment variables and auxiliary vector.
45955
45956 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
45957
45958         * Makefile: Add rules to build linkobj/libc.so.
45959         * include/libc-symbols.h: Define libc_hidden_nolink.
45960         * include/rpc/auth.h: Mark functions which are to be hidden.
45961         * include/rpc/auth_des.h: Likewise.
45962         * include/rpc/auth_unix.h: Likewise.
45963         * include/rpc/clnt.h: Likewise.
45964         * include/rpc/des_crypt.h: Likewise.
45965         * include/rpc/key_prot.h: Likewise.
45966         * include/rpc/pmap_clnt.h: Likewise.
45967         * include/rpc/pmap_prot.h: Likewise.
45968         * include/rpc/pmap_rmt.h: Likewise.
45969         * include/rpc/rpc_msg.h: Likewise.
45970         * include/rpc/svc.h: Likewise.
45971         * include/rpc/svc_auth.h: Likewise.
45972         * include/rpc/xdr.h: Likewise.
45973         * nis/Makefile: Link all DSOs against linkobj/libc.so.
45974         * nss/Makefile: Likewise.
45975         * sunrpc/Makefile: Don't install headers.  Build library with normal
45976         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
45977         * sunrpc/auth_des.c: Hide exported symbols by default, export some
45978         for the compat linking library.  Remove use of INTDEF/INTUSE.
45979         * sunrpc/auth_none.c: Likewise.
45980         * sunrpc/auth_unix.c: Likewise.
45981         * sunrpc/authdes_prot.c: Likewise.
45982         * sunrpc/authuxprot.c: Likewise.
45983         * sunrpc/clnt_gen.c: Likewise.
45984         * sunrpc/clnt_perr.c: Likewise.
45985         * sunrpc/clnt_raw.c: Likewise.
45986         * sunrpc/clnt_simp.c: Likewise.
45987         * sunrpc/clnt_tcp.c: Likewise.
45988         * sunrpc/clnt_udp.c: Likewise.
45989         * sunrpc/clnt_unix.c: Likewise.
45990         * sunrpc/des_crypt.c: Likewise.
45991         * sunrpc/des_soft.c: Likewise.
45992         * sunrpc/get_myaddr.c: Likewise.
45993         * sunrpc/key_call.c: Likewise.
45994         * sunrpc/key_prot.c: Likewise.
45995         * sunrpc/netname.c: Likewise.
45996         * sunrpc/pm_getmaps.c: Likewise.
45997         * sunrpc/pm_getport.c: Likewise.
45998         * sunrpc/pmap_clnt.c: Likewise.
45999         * sunrpc/pmap_prot.c: Likewise.
46000         * sunrpc/pmap_prot2.c: Likewise.
46001         * sunrpc/pmap_rmt.c: Likewise.
46002         * sunrpc/publickey.c: Likewise.
46003         * sunrpc/rpc_cmsg.c: Likewise.
46004         * sunrpc/rpc_common.c: Likewise.
46005         * sunrpc/rpc_dtable.c: Likewise.
46006         * sunrpc/rpc_prot.c: Likewise.
46007         * sunrpc/rpc_thread.c: Likewise.
46008         * sunrpc/rtime.c: Likewise.
46009         * sunrpc/svc.c: Likewise.
46010         * sunrpc/svc_auth.c: Likewise.
46011         * sunrpc/svc_authux.c: Likewise.
46012         * sunrpc/svc_raw.c: Likewise.
46013         * sunrpc/svc_run.c: Likewise.
46014         * sunrpc/svc_simple.c: Likewise.
46015         * sunrpc/svc_tcp.c: Likewise.
46016         * sunrpc/svc_udp.c: Likewise.
46017         * sunrpc/svc_unix.c: Likewise.
46018         * sunrpc/svcauth_des.c: Likewise.
46019         * sunrpc/xcrypt.c: Likewise.
46020         * sunrpc/xdr.c: Likewise.
46021         * sunrpc/xdr_array.c: Likewise.
46022         * sunrpc/xdr_float.c: Likewise.
46023         * sunrpc/xdr_intXX_t.c: Likewise.
46024         * sunrpc/xdr_mem.c: Likewise.
46025         * sunrpc/xdr_rec.c: Likewise.
46026         * sunrpc/xdr_ref.c: Likewise.
46027         * sunrpc/xdr_sizeof.c: Likewise.
46028         * sunrpc/xdr_stdio.c: Likewise.
46029
46030 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
46031
46032         [BZ #12650]
46033         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46034         * sysdeps/ia64/dl-tls.h: Likewise.
46035         * sysdeps/powerpc/dl-tls.h: Likewise.
46036         * sysdeps/s390/dl-tls.h: Likewise.
46037         * sysdeps/sh/dl-tls.h: Likewise.
46038         * sysdeps/sparc/dl-tls.h: Likewise.
46039         * sysdeps/x86_64/dl-tls.h: Likewise.
46040         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46041
46042 2011-03-14  Andreas Schwab  <schwab@redhat.com>
46043
46044         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46045         rpath element also skip the following colon.
46046         (expand_dynamic_string_token): Add is_path parameter and pass
46047         down to DL_DST_REQUIRED and _dl_dst_substitute.
46048         (decompose_rpath): Call expand_dynamic_string_token with
46049         non-zero is_path.  Ignore empty rpaths.
46050         (_dl_map_object_from_fd): Call expand_dynamic_string_token
46051         with zero is_path.
46052
46053 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
46054
46055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46056         Make cancelable.
46057
46058 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
46059
46060         [BZ #12655]
46061         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46062         Patch by Filipe David Manana <fdmanana@apache.org>.
46063
46064 2011-04-07  Andreas Schwab  <schwab@redhat.com>
46065
46066         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46067         Maintain aligned stack.
46068         (CHECK_RSP): Remove unused macro.
46069
46070 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
46071
46072         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46073         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46074
46075 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
46076
46077         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46078
46079         * include/features.h: Mention __USE_XOPEN2K8 in comment.
46080
46081 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
46082
46083         [BZ #12518]
46084         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46085         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46086         * sysdeps/x86_64/memmove.c: New file.
46087         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46088         (memcpy): Renamed to ...
46089         (__new_memcpy): This.
46090         (memcpy): Provide GLIBC_2_14 memcpy.
46091         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46092         (memcpy): Provide GLIBC_2_2_5 memcpy.
46093
46094 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46095
46096         [BZ #12631]
46097         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46098
46099 2011-03-30  Andreas Schwab  <schwab@redhat.com>
46100
46101         * misc/syncfs.c: New file.
46102         * misc/Makefile (routines): Add syncfs.
46103         * posix/unistd.h: Declare syncfs.
46104         * sysdeps/unix/syscalls.list: Add syncfs.
46105
46106 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46107
46108         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46109         open_by_handle_at.
46110         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46111         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46112         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46113         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46114         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46115         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46116         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46117
46118 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46119
46120         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46121         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46122         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46123         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46124         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46125         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46126         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46127
46128         * io/Makefile: Compile fallocate.c, fallocate64.c, and
46129         sync_file_range.c with -fexceptions.
46130         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46131         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46132         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46133         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46134         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46135         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46136         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46137         sync_file_range as cancellation point
46138         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
46139         now a wrapper around __call_sync_file_range with cancellation handling.
46140         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46141         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
46142         function name to __call_sync_file_range.
46143         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46144         Add call_sync_file_range.
46145
46146 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46147
46148         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46149         bits/timex.h.
46150
46151 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46152
46153         * iconv/iconv.h: Fix typo in comment.
46154         * io/fcntl.h: Likewise.
46155         * libio/stdio.h: Likewise.
46156         * posix/spawn.h: Likewise.
46157         * posix/unistd.h: Likewise.
46158         * stdlib/stdlib.h: Likewise.
46159         * time/time.h: Likewise.
46160         * wcsmbs/wchar.h: Likewise.
46161
46162         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46163         open_by_handle): Add.
46164         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46165         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
46166         Augment a few comments.
46167         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46168         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46169         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46170         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46171         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46172         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46173         open_by_handle.
46174
46175         * io/fcntl.h (AT_EMPTY_PATH): Define.
46176
46177 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
46178
46179         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46180         * sysdeps/unix/sysv/linux/bits/time.h: New file.
46181         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46182         to...
46183         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
46184         * Versions.def: Add GLIBC_2.14.
46185         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46186         Export.
46187
46188 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
46189
46190         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46191         round counter.
46192         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46193
46194 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46195
46196         [BZ #12597]
46197         * string/test-strncmp.c (do_page_test): New function.
46198         (check2): Likewise.
46199         (test_main): Call check2.
46200         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46201
46202 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
46203
46204         [BZ #12587]
46205         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46206         Handle cache information in CPU leaf 4.
46207         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46208
46209 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
46210
46211         [BZ #12583]
46212         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46213         character representation.
46214         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46215
46216 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
46217
46218         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46219         END(__isnan) to END(__isnanf) to match function entry point/label
46220         EALIGN(__isnanf,...).
46221
46222 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
46223
46224         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46225
46226 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
46227
46228         [BZ #12510]
46229         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46230         copy from the symbol referenced in the relocation to initialize the
46231         used variable.
46232         Patch by Piotr Bury <pbury@goahead.com>.
46233         * elf/Makefile: Add rules to build and tst-unique3.
46234         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46235         * elf/tst-unique3.cc: New file.
46236         * elf/tst-unique3.h: New file.
46237         * elf/tst-unique3lib.cc: New file.
46238         * elf/tst-unique3lib2.cc: New file.
46239
46240         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46241
46242 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
46243
46244         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46245         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
46246         to _start.
46247
46248 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
46249
46250         * elf/dl-load.c (_dl_map_object): If we are looking for the first
46251         to-be-loaded object along a path to loader is ld.so.
46252
46253 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46254             Ulrich Drepper  <drepper@gmail.com>
46255
46256         * sysdeps/x86_64/memset.S: After aligning destination, code
46257         branches to different locations depending on the value of
46258         misalignment, when multiarch is enabled. Fix this.
46259
46260 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46261
46262         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46263         Set _x86_64_preferred_memory_instruction for AMD processsors.
46264         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46265         Set bit_Prefer_SSE_for_memop for AMD processors.
46266
46267 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
46268
46269         * libio/fmemopen.c (fmemopen): Optimize a bit.
46270
46271 2011-03-03  Andreas Schwab  <schwab@redhat.com>
46272
46273         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46274
46275 2011-03-03  Roland McGrath  <roland@redhat.com>
46276
46277         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46278
46279 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
46280
46281         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46282         __bzero_ultra1 instead of __memset_ultra1.
46283
46284 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46285             Ulrich Drepper  <drepper@gmail.com>
46286
46287         [BZ #12509]
46288         * include/link.h (struct link_map): Add l_orig_initfini.
46289         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46290         returning unsuccessfully.
46291         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46292         close of a file loaded at startup, restore the original l_initfini
46293         list.
46294         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46295         list, store the pointer.
46296         * elf/Makefile ($(objpfx)noload-mem): New rule.
46297         (noload-ENV): Define.
46298         (tests): Add $(objpfx)noload-mem.
46299         * elf/noload.c: Include <memcheck.h>.
46300         (main): Call mtrace.  Close all opened handles.
46301
46302 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46303
46304         [BZ #12454]
46305         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46306         dependencies are missing.
46307
46308 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46309
46310         Fix __if_freereq crash: Unlike the generic version which uses free,
46311         Hurd needs munmap.
46312         * sysdeps/mach/hurd/ifreq.h: New file.
46313
46314 2011-01-27  Petr Baudis  <pasky@suse.cz>
46315             Ulrich Drepper  <drepper@gmail.com>
46316
46317         [BZ 12445]#
46318         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46319         to extend_alloca().
46320         * stdio-common/bug23.c: New file.
46321         * stdio-common/Makefile (tests): Add bug23.
46322
46323 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46324             Ulrich Drepper  <drepper@gmail.com>
46325
46326         [BZ #12489]
46327         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46328         before performing relro protection.  At old place add assertion
46329         to make sure nothing changed.
46330
46331 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46332             Glauber de Oliveira Costa  <glommer@gmail.com>
46333
46334         * elf/elf.h: Add new ARM TLS relocs.
46335
46336 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46337
46338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46339         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46340         cast from r3.
46341         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46342         'tests' variable.
46343         * sysdeps/wordsize-64/tst-writev.c: New file.
46344
46345 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46346
46347         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46348         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46349         insns in _dl_start to prevent a TOC reference before relocs are
46350         resolved.
46351
46352 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46353
46354         [BZ #12469]
46355         * Makeconfig: Remove RANLIB definition.
46356         * Makerules: Don't use RANLIB.
46357         * aclocal.m4: Remove ranlib test.
46358         * configure.in: No need to check for ranlib.
46359         * elf/rtld-Rules: Don't use RANLIB.
46360
46361 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46362
46363         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46364         protection macro.
46365         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46366         inclusion protection macro.
46367
46368         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46369         SIGRTMIN and SIGRTMAX and print information in that case only when
46370         SIGRTMIN is defined.
46371
46372 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46373
46374         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46375         arginfo fn returning -1.
46376
46377         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46378         and thousands string is zero terminated.
46379
46380 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46381
46382         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46383         sysdeps/unix/sysv/linux/bits/socket.h.
46384
46385 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46386
46387         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46388         (__CPU_COUNT): Remove old macros.
46389         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46390         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46391         (__CPU_ALLOC, __CPU_FREE): Add macros.
46392         (__sched_cpualloc, __sched_cpufree): Add declarations.
46393
46394 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46395
46396         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46397         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46398         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46399         (readdhstai): Return value of addhstaiX call.
46400         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46401         (addgrbyX): Return value returned by cache_addgr.
46402         (readdgrbyname): Return value returned by addgrbyX.
46403         (readdgrbygid): Likewise.
46404         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46405         (addpwbyX): Return value returned by cache_addpw.
46406         (readdpwbyname): Return value returned by addhstbyX.
46407         (readdpwbyuid): Likewise.
46408         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46409         (addservbyX): Return value returned by cache_addserv.
46410         (readdservbyname): Return value returned by addservbyX:
46411         (readdservbyport): Likewise.
46412         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46413         (addhstbyX): Return value returned by cache_addhst.
46414         (readdhstbyname): Return value returned by addhstbyX.
46415         (readdhstbyaddr): Likewise.
46416         (readdhstbynamev6): Likewise.
46417         (readdhstbyaddrv6): Likewise.
46418         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46419         (readdinitgroups): Return value returned by addinitgroupsX.
46420         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46421         (prune_cache): Keep track of timeout value of re-added entries.
46422         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46423         * nscd/nscd.h: Adjust prototypes of readd* functions.
46424
46425 2011-02-04  Roland McGrath  <roland@redhat.com>
46426
46427         * nis/nis_server.c (nis_servstate): Use the right name for 0.
46428         (nis_stats): Likewise.
46429         * nis/nis_modify.c (nis_modify): Likewise.
46430         * nis/nis_remove.c (nis_remove): Likewise.
46431         * nis/nis_add.c (nis_add): Likewise.
46432
46433         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46434
46435         * posix/fnmatch_loop.c: Add some consts.
46436
46437         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46438
46439 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
46440
46441         [BZ #12460]
46442         * config.make.in (config-cflags-novzeroupper): Define.
46443         * configure.in: Substitute libc_cv_cc_novzeroupper.
46444         * elf/Makefile (AVX-CFLAGS): Define.
46445         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46446         (CFLAGS-tst-auditmod4a.c): Likewise.
46447         (CFLAGS-tst-auditmod4b.c): Likewise.
46448         (CFLAGS-tst-auditmod6b.c): Likewise.
46449         (CFLAGS-tst-auditmod6c.c): Likewise.
46450         (CFLAGS-tst-auditmod7b.c): Likewise.
46451         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46452
46453 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
46454
46455         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46456         function to the callback.
46457         Patch partly by Jiri Olsa <jolsa@redhat.com>.
46458
46459 2011-02-02  Andreas Schwab  <schwab@redhat.com>
46460
46461         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46462         of errno.
46463
46464 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
46465
46466         [BZ #11724]
46467         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46468         of constructors.
46469         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46470         of destructors.
46471         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46472
46473         [BZ #11724]
46474         * elf/Makefile: Add rules to build and run new test.
46475         * elf/tst-initorder.c: New file.
46476         * elf/tst-initorder.exp: New file.
46477         * elf/tst-initordera1.c: New file.
46478         * elf/tst-initordera2.c: New file.
46479         * elf/tst-initordera3.c: New file.
46480         * elf/tst-initordera4.c: New file.
46481         * elf/tst-initorderb1.c: New file.
46482         * elf/tst-initorderb2.c: New file.
46483         * elf/tst-order-a1.c: New file.
46484         * elf/tst-order-a2.c: New file.
46485         * elf/tst-order-a3.c: New file.
46486         * elf/tst-order-a4.c: New file.
46487         * elf/tst-order-b1.c: New file.
46488         * elf/tst-order-b2.c: New file.
46489         * elf/tst-order-main.c: New file.
46490         New test case by George Gensure <werkt0@gmail.com>.
46491
46492 2010-10-01  Andreas Schwab  <schwab@redhat.com>
46493
46494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46495         decoding ACE if AI_CANONIDN.
46496
46497 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
46498
46499         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46500
46501 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
46502
46503         * version.h (RELEASE): Bump for 2.13 release.
46504         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46505
46506         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46507
46508         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46509         MADV_NOHUGEPAGE.
46510         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46511         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46512         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46513         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46514         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46515         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46516
46517         * posix/getconf.c: Update copyright year.
46518         * catgets/gencat.c: Likewise.
46519         * csu/version.c: Likewise.
46520         * debug/catchsegv.sh: Likewise.
46521         * debug/xtrace.sh: Likewise.
46522         * elf/ldconfig.c: Likewise.
46523         * elf/ldd.bash.in: Likewise.
46524         * elf/sprof.c (print_version): Likewise.
46525         * iconv/iconv_prog.c: Likewise.
46526         * iconv/iconvconfig.c: Likewise.
46527         * locale/programs/locale.c: Likewise.
46528         * locale/programs/localedef.c: Likewise.
46529         * malloc/memusage.sh: Likewise.
46530         * malloc/mtrace.pl: Likewise.
46531         * nscd/nscd.c (print_version): Likewise.
46532         * nss/getent.c: Likewise.
46533
46534         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46535         PF_CAIF, and PF_ALG.
46536         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46537
46538 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
46539
46540         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46541         (modules-names): Use them.
46542         (ifunc-test-modules, ifunc-pie-tests): Define.
46543         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46544         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46545         (test-extras): Likewise.
46546         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46547         $(compile-command.c).
46548         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46549         (all-built-dso): Define.
46550         (check-textrel.out, check-execstack.out): Depend on it.
46551
46552         * configure.in: Don't override --enable-multi-arch.
46553
46554 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
46555
46556         [BZ #6812]
46557         * nscd/hstcache.c (tryagain): Define.
46558         (cache_addhst): Return tryagain not notfound for temporary errors.
46559         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46560         failed.
46561
46562 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
46563
46564         [BZ #10563]
46565         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46566         to make the syscall.
46567         * sysdeps/unix/sysv/linux/setgroups.c: New file.
46568
46569         [BZ #12378]
46570         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46571         and fall back to matching as normal character if the string ends before
46572         the matching ']' is found.  This is what POSIX requires.
46573         * posix/testfnm.c: Adjust test result.
46574         * posix/globtest.sh: Adjust test result.  Add new test.
46575         * posix/tst-fnmatch.input: Likewise.
46576         * posix/tst-fnmatch2.c: Add new test.
46577
46578 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
46579
46580         * elf/Makefile (check-execstack): Revert last change.  Depend on
46581         check-execstack.h.
46582         (check-execstack.h): New target.
46583         (generated): Add check-execstack.h.
46584         * elf/check-execstack.c: Include "check-execstack.h".
46585         (main): Revert last change.
46586         (handle_file): Return zero if GNU_STACK is absent and
46587         DEFAULT_STACK_PERMS doesn't include PF_X.
46588
46589 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
46590
46591         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46592         in child fails because the descriptor is already closed.
46593         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46594         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46595         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46596
46597         [BZ #12397]
46598         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46599         syscall.
46600
46601         [BZ #10484]
46602         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46603         temporary buffer used to handle multi lookups locally.
46604         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46605
46606 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46607
46608         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46609         loader is ld.so.
46610
46611 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
46612
46613         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46614         alignment for SSE2.
46615
46616 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46617
46618         [BZ #12394]
46619         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46620         characters.  When rounding increased number of integer digits recompute
46621         number of groups.
46622         * stdio-common/tst-grouping.c: New file.
46623         * stdio-common/Makefile: Add rules to build and run tst-grouping.
46624
46625 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
46626
46627         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46628         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
46629
46630         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46631         void.
46632         * bits/select.h: Likewise.
46633
46634 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
46635
46636         * po/ja.po: Update from translation team.
46637
46638 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
46639
46640         [BZ #11155]
46641         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46642         implementation just like for lxstat, fxstatat, et al.
46643
46644 2010-12-27  Jim Meyering  <meyering@redhat.com>
46645
46646         [BZ #12348]
46647         * posix/regexec.c (build_trtable): Return failure indication upon
46648         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
46649
46650 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
46651
46652         [BZ #12201]
46653         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46654         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46655         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46656         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46657
46658         [BZ #12207]
46659         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46660
46661         [BZ #12204]
46662         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46663         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46664
46665 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
46666
46667         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46668         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46669         script has SORT_BY_INIT_PRIORITY.
46670         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46671         NO_CTORS_DTORS_SECTIONS is defined.
46672         * elf/soinit.c: Likewise.
46673         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46674         NO_CTORS_DTORS_SECTIONS is defined.
46675         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46676         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46677         * sysdeps/sh/init-first.c: Likewise.
46678         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46679
46680 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
46681
46682         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46683         always use the slow path.
46684
46685 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
46686
46687         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46688         similar rule which adds the sysdep directories to the header search in
46689         order to pick up the correct platform stackinfo.h.
46690         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46691         perform test if it is, otherwise return successfully without testing.
46692         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46693         DEFAULT_STACK_PERMS define in stackinfo.h.
46694         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46695         defined in stackinfo.h.
46696         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46697         DEFAULT_STACK_PERMS defined in stackinfo.h.
46698         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46699         * sysdeps/ia64/stackinfo.h: Likewise.
46700         * sysdeps/s390/stackinfo.h: Likewise.
46701         * sysdeps/sh/stackinfo.h: Likewise.
46702         * sysdeps/sparc/stackinfo.h: Likewise.
46703         * sysdeps/x86_64/stackinfo.h: Likewise.
46704         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46705         PF_X for powerpc64.  Retain PF_X for powerpc32.
46706
46707 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
46708
46709         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46710         accurately.
46711         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46712         GETDENTS_64BIT_ALIGNED.
46713
46714 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
46715
46716         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46717
46718 2010-12-10  Andreas Schwab  <schwab@redhat.com>
46719
46720         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46721         _GNU_SOURCE.
46722
46723         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46724         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46725         Remove __restrict.
46726         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46727         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46728
46729 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
46730
46731         [BZ #11655]
46732         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46733         are initialized.
46734
46735 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
46736
46737         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46738
46739 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
46740
46741         * po/it.po: Update from translation team.
46742
46743 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
46744
46745         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46746         unused codes.
46747
46748 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
46749
46750         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46751
46752 2010-11-24  Andreas Schwab  <schwab@redhat.com>
46753
46754         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46755         specially.
46756         (gaih_getanswer_slice): Likewise.
46757
46758 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
46759
46760         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46761
46762 2010-05-31  Petr Baudis  <pasky@suse.cz>
46763
46764         [BZ #11149]
46765         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46766         silently even in the chroot mode.
46767
46768 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
46769
46770         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46771         last patch a bit.  Pretty printing
46772
46773 2010-05-31  Petr Baudis <pasky@suse.cz>
46774
46775         [BZ #10085]
46776         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46777         initialization of skip_initgroups_dyn.
46778
46779 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
46780
46781         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46782         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46783
46784 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
46785
46786         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46787
46788 2010-11-11  Andreas Schwab  <schwab@redhat.com>
46789
46790         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46791         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46792         (tst-fnmatch-ENV): Set MALLOC_TRACE.
46793         ($(objpfx)tst-fnmatch-mem): New rule.
46794         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46795         * posix/tst-fnmatch.c (main): Call mtrace.
46796
46797 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
46798
46799         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46800         Support Intel processor model 6 and model 0x2c.
46801
46802 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
46803
46804         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46805           signed comparison.
46806
46807 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
46808
46809         [BZ #12205]
46810         * string/test-strncasecmp.c (check_result): New function.
46811         (do_one_test): Use it.
46812         (check1): New function.
46813         (test_main): Use it.
46814         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46815         Support strcasecmp and strncasecmp.
46816
46817 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
46818
46819         [BZ #12194]
46820         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46821         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46822
46823 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46824
46825         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46826         IFUNC support.
46827         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46828         memset-x86-64.
46829         * sysdeps/x86_64/multiarch/bzero.S: New file.
46830         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46831         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46832         * sysdeps/x86_64/multiarch/memset.S: New file.
46833         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46834         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46835         Set bit_Prefer_SSE_for_memop for Intel processors.
46836         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46837         Define.
46838         (index_Prefer_SSE_for_memop): Define.
46839         (HAS_PREFER_SSE_FOR_MEMOP): Define.
46840
46841 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
46842
46843         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46844         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46845
46846 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
46847
46848         [BZ #12191]
46849         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46850         (__x86_64_raw_data_cache_size_half): Likewise.
46851         (__x86_64_raw_shared_cache_size): Likewise.
46852         (__x86_64_raw_shared_cache_size_half): Likewise.
46853
46854         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46855         (__x86_64_raw_data_cache_size_half): Likewise.
46856         (__x86_64_raw_shared_cache_size): Likewise.
46857         (__x86_64_raw_shared_cache_size_half): Likewise.
46858         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46859         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46860         and __x86_64_raw_shared_cache_size_half.  Round
46861         __x86_64_data_cache_size_half, __x86_64_data_cache_size
46862         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46863         to multiple of 256 bytes.
46864
46865 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
46866
46867         [BZ #12167]
46868         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46869         of inacessible symlinks.  Verify result of symlink before returning it.
46870         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46871         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46872
46873 2010-10-28  Erich Ritz  <erichritz@gmail.com>
46874
46875         * math/math.h (isinf): Fix typo in comment.
46876
46877 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
46878
46879         * po/da.po: Update from translation team.
46880
46881 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
46882
46883         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46884         is added to the list.
46885
46886 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46887             Ulrich Drepper  <drepper@gmail.com>
46888
46889         * elf/dl-object.c (_dl_new_object): Don't append the new object to
46890         the global list here.  Move code to...
46891         (_dl_add_to_namespace_list): ...here.  New function.
46892         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46893         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46894         * elf/dl-load.c (lose): Don't remove the element from the list.
46895         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46896         (_dl_map_object): Likewise.
46897
46898 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
46899
46900         [BZ #12159]
46901         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46902         into all bytes of SSE register.
46903         Patch by Richard Li <richardpku@gmail.com>.
46904
46905 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
46906
46907         [BZ #12140]
46908         * malloc/malloc.c (_int_free): Fill correct number of bytes when
46909         perturbing.
46910
46911 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
46912
46913         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46914         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46915         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46916         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46918         submachine.
46919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46920
46921 2010-10-22  Andreas Schwab  <schwab@redhat.com>
46922
46923         * include/dlfcn.h (__RTLD_SECURE): Define.
46924         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
46925         mode & __RTLD_SECURE instead.
46926         (open_path): Rename preloaded parameter to secure.
46927         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46928         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46929         * elf/dl-deps.c (openaux): Likewise.
46930         * elf/rtld.c (struct map_args): Remove is_preloaded.
46931         (map_doit): Don't use it.
46932         (dl_main): Likewise.
46933         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46934         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46935
46936 2010-09-09  Andreas Schwab  <schwab@redhat.com>
46937
46938         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46939         (sysd-rules-targets): Remove duplicates.
46940         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46941         rtld-%.$o dependency.
46942
46943 2010-10-18  Andreas Schwab  <schwab@redhat.com>
46944
46945         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46946         _dl_map_object do it.
46947
46948 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
46949
46950         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46951         fast fma builtins, define the macros in the C99 standard.
46952         (FP_FAST_FMAF): Likewise.
46953         (FP_FAST_FMAL): Likewise.
46954         * sysdeps/x86_64/bits/mathdef.h: Likewise.
46955
46956         * bits/mathdef.h: Update copyright year.
46957         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46958
46959 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
46960
46961         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46962         builtins, define the macros in the C99 standard.
46963         (FP_FAST_FMAF): Likewise.
46964         (FP_FAST_FMAL): Likewise.
46965         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46966         multiply/add.
46967         (FP_FAST_FMAF): Likewise.
46968
46969 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
46970
46971         [BZ #3268]
46972         * math/libm-test.inc (fma_test): Some new testcases.
46973         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46974         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46975         y and infinite z.  Do multiplication by C already in long double.
46976         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46977         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46978         y and infinite z.  Do bitwise or of inexact bit into u.d.
46979         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46980         * sysdeps/i386/fpu/s_fmaf.S: Removed.
46981         * sysdeps/i386/fpu/s_fma.S: Removed.
46982         * sysdeps/i386/fpu/s_fmal.S: Removed.
46983
46984 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
46985
46986         [BZ #3268]
46987         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46988         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46989         computation is not scheduled after fetestexcept.  Fix value
46990         of minimum denormal long double.
46991
46992 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
46993
46994         [BZ #3268]
46995         * math/libm-test.inc (fma_test): Add some more tests.
46996         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46997         correctly.
46998
46999 2010-10-15  Andreas Schwab  <schwab@redhat.com>
47000
47001         * scripts/data/localplt-s390-linux-gnu.data: New file.
47002         * scripts/data/localplt-s390x-linux-gnu.data: New file.
47003
47004 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
47005
47006         [BZ #3268]
47007         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47008         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47009         instead of dbl-64.
47010         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47011         inlines.
47012         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47013         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47014         if one of x and y is very large and the other is subnormal.
47015         * sysdeps/s390/fpu/s_fmaf.c: New file.
47016         * sysdeps/s390/fpu/s_fma.c: New file.
47017         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47018         * sysdeps/powerpc/fpu/s_fma.S: New file.
47019         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47020         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47021         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47022
47023 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
47024
47025         [BZ #3268]
47026         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47027         fma tests.
47028         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47029         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47030         * sysdeps/i386/i686/multiarch/s_fma.c: Include
47031         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47032         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47033         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47034         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47035
47036 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
47037
47038         [BZ #12078]
47039         * posix/regcomp.c (parse_branch): One more memory leak plugged.
47040         * posix/bug-regex31.input: Add test case.
47041
47042 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47043
47044         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47045         * posix/bug-regex31.input: New file.
47046
47047         [BZ #12078]
47048         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47049         (parse_sub_exp): Fix last change, use postorder.
47050
47051         * posix/bug-regex31.c: New file.
47052         * posix/Makefile: Add rules to build and run bug-regex31.
47053
47054         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47055
47056         [BZ #12078]
47057         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47058
47059         [BZ #12108]
47060         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47061         to have entries in sys_siglist.
47062
47063         [BZ #12093]
47064         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47065         be NULL.
47066
47067 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
47068
47069         [BZ #3268]
47070         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47071         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47072         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47073         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47074         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47075         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47076         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47077         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47078         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47079         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47080         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47081         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47082         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47083         * math/ftestexcept.c (fetestexcept): Likewise.
47084         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47085         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47086         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47087         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47088         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47089         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47090         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47091
47092 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47093
47094         [BZ #12107]
47095         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47096         newline.
47097
47098 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
47099
47100         * string/bug-strstr1.c: New file.
47101         * string/Makefile: Add rules to build and run bug-strstr1.
47102
47103 2010-10-05  Eric Blake  <eblake@redhat.com>
47104
47105         [BZ #12092]
47106         * string/str-two-way.h (two_way_long_needle): Always clear memory
47107         when skipping input due to the shift table.
47108
47109 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
47110
47111         [BZ #12005]
47112         * malloc/mcheck.c: Handle large requests.
47113
47114         [BZ #12077]
47115         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47116         for strncmp and strncasecmp.
47117         * string/stratcliff.c: Add tests for strcmp and strncmp.
47118         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47119
47120 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47121
47122         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47123         __set_fpscr.
47124
47125 2010-09-30  Andreas Jaeger  <aj@suse.de>
47126
47127         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47128         (CGROUP_SUPER_MAGIC): Define.
47129         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47130         Handle btrfs and cgroup file systems.
47131         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47132         Likewise.
47133
47134 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
47135
47136         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47137         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47138
47139 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47140
47141         [BZ #12067]
47142         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47143         trying to locate the ELF header.
47144
47145 2010-09-27  Andreas Schwab  <schwab@redhat.com>
47146
47147         [BZ #11611]
47148         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47149         Mask out sign-bit copies when constructing f_fsid.
47150
47151 2010-09-24  Petr Baudis <pasky@suse.cz>
47152
47153         * debug/stack_chk_fail_local.c: Add missing licence exception.
47154         * debug/warning-nop.c: Likewise.
47155
47156 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
47157
47158         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47159         implementing getdents64 using getdents syscall, set d_type if
47160         __ASSUME_GETDENTS32_D_TYPE.
47161
47162 2010-09-16  Andreas Schwab  <schwab@redhat.com>
47163
47164         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47165         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47166
47167 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
47168
47169         [BZ #12037]
47170         * posix/unistd.h: Undo change of feature selection for ftruncate from
47171         2010-01-11.
47172
47173 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
47174
47175         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47176         detection.
47177
47178 2010-09-20  Andreas Schwab  <schwab@redhat.com>
47179
47180         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47181         fanotify_mark.
47182         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47183
47184 2010-09-14  Andreas Schwab  <schwab@redhat.com>
47185
47186         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47187         variables after CHECK_SP call.
47188         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47189
47190 2010-09-13  Andreas Schwab  <schwab@redhat.com>
47191             Ulrich Drepper  <drepper@redhat.com>
47192
47193         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47194         re-relocationg ld.so.
47195         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47196         _dl_init_paths call.
47197         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
47198         here anymore.
47199
47200 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
47201
47202         * resolv/res_init.c (__res_vinit): Count the default server we added.
47203
47204 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
47205             Ulrich Drepper  <drepper@redhat.com>
47206
47207         [BZ #11968]
47208         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47209         (____longjmp_chk): Use %ebx for saving value across system call.
47210         Add unwind info.
47211
47212 2010-09-06  Andreas Schwab  <schwab@redhat.com>
47213
47214         * manual/Makefile: Don't mix pattern rules with normal rules.
47215
47216 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47217
47218         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47219         operation.
47220         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47221         * libio/iofopncook.c (_IO_cookie_init): Likewise.
47222         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47223         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47224         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47225         Likewise.
47226
47227 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
47228
47229         [BZ #11979]
47230         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47231         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47232
47233 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
47234
47235         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47236         * sysdeps/x86_64/addmul_1.S: Likewise.
47237         * sysdeps/x86_64/lshift.S: Likewise.
47238         * sysdeps/x86_64/mul_1.S: Likewise.
47239         * sysdeps/x86_64/rshift.S: Likewise.
47240         * sysdeps/x86_64/sub_n.S: Likewise.
47241         * sysdeps/x86_64/submul_1.S: Likewise.
47242
47243 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47244
47245         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47246         Define __sched_param instead of SCHED_* and sched_param when
47247         <bits/sched.h> is included with __need_schedparam defined.
47248         * bits/sched.h [__need_schedparam]
47249         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47250         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47251         (__defined_schedparam): Define to 1.
47252         (__sched_param): New structure, identical to sched_param.
47253         (__need_schedparam): Undefine.
47254
47255 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
47256
47257         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47258         (epoll_create1): Declare.
47259
47260         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47261
47262 2010-08-31  Andreas Schwab  <schwab@redhat.com>
47263
47264         [BZ #7066]
47265         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47266         shifting retval into place.
47267
47268 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
47269
47270         * nis/rpcsvc/nis.h: Update copyright notice.
47271         * nis/rpcsvc/nis.x: Likewise.
47272         * nis/rpcsvc/nis_callback.h: Likewise.
47273         * nis/rpcsvc/nis_callback.x: Likewise.
47274         * nis/rpcsvc/nis_object.x: Likewise.
47275         * nis/rpcsvc/nis_tags.h: Likewise.
47276         * nis/rpcsvc/yp.h: Likewise.
47277         * nis/rpcsvc/yp.x: Likewise.
47278         * nis/rpcsvc/ypupd.h: Likewise.
47279         * nis/yp_xdr.c: Likewise.
47280         * nis/ypupdate_xdr.c: Likewise.
47281
47282         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47283         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47284         (pmap_getport): Use __libc_rpc_getport.
47285         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47286         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47287         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47288
47289 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47290
47291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47292         fanotify_mark.
47293
47294 2010-08-27  Roland McGrath  <roland@redhat.com>
47295
47296         * sysdeps/i386/i686/multiarch/Makefile
47297         (CFLAGS-varshift.c): New variable.
47298
47299 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47300
47301         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47302         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47303
47304         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47305
47306         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47307
47308 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47309
47310         * sysdeps/x86_64/strlen.S: Unroll the loop.
47311         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47312         strlen-sse2 strlen-sse2-bsf.
47313         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47314         __strlen_no_bsf if bit_Slow_BSF is set.
47315         (__strlen_sse42): Removed.
47316         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47317         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47318
47319 2010-08-25  Roland McGrath  <roland@redhat.com>
47320
47321         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47322         * sysdeps/x86_64/multiarch/varshift.c: New file.
47323         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47324         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47325         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47326         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47327
47328 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47329
47330         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47331         strlen-sse2 strlen-sse2-bsf.
47332         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47333         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47334         (__strlen_sse2): Removed.
47335         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47336         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47337         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47338         bit_Slow_BSF for Atom.
47339         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47340         (index_Slow_BSF): Define.
47341         (HAS_SLOW_BSF): Define.
47342
47343 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47344
47345         [BZ #10851]
47346         * resolv/res_init.c (__res_vinit): When no server address at all
47347         is given default to loopback.
47348
47349 2010-08-24  Roland McGrath  <roland@redhat.com>
47350
47351         * configure.in: Remove config-name.h generation.
47352         * configure: Regenerated.
47353         * config-name.in: File removed.
47354         * scripts/config-uname.sh: New file.
47355         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47356         ($(objdir)config-name.h): New target.
47357
47358         * sunrpc/rpc_parse.h: Avoid nested comment.
47359
47360 2010-08-24  Richard Henderson  <rth@redhat.com>
47361             Ulrich Drepper  <drepper@redhat.com>
47362             H.J. Lu  <hongjiu.lu@intel.com>
47363
47364         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47365         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47366         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47367         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47368         _mm_alignr_epi8 with _mm_loadu_si128.
47369         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47370         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47371         (__m128i_shift_right): Removed.
47372         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47373         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47374         * sysdeps/x86_64/multiarch/varshift.h: New file.
47375         * sysdeps/x86_64/multiarch/varshift.S: New file.
47376
47377 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47378
47379         * configure.in: Move assembler checks to before sysdep dir checking.
47380
47381 2010-08-20  Petr Baudis  <pasky@suse.cz>
47382
47383         * LICENSES: Sync the sunrpc license.
47384
47385 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47386
47387         * sunrpc/auth_des.c: Update copyright notice once again.
47388         * sunrpc/auth_none.c: Likewise.
47389         * sunrpc/auth_unix.c: Likewise.
47390         * sunrpc/authdes_prot.c: Likewise.
47391         * sunrpc/authuxprot.c: Likewise.
47392         * sunrpc/bindrsvprt.c: Likewise.
47393         * sunrpc/clnt_gen.c: Likewise.
47394         * sunrpc/clnt_perr.c: Likewise.
47395         * sunrpc/clnt_raw.c: Likewise.
47396         * sunrpc/clnt_simp.c: Likewise.
47397         * sunrpc/clnt_tcp.c: Likewise.
47398         * sunrpc/clnt_udp.c: Likewise.
47399         * sunrpc/clnt_unix.c: Likewise.
47400         * sunrpc/des_crypt.c: Likewise.
47401         * sunrpc/des_soft.c: Likewise.
47402         * sunrpc/get_myaddr.c: Likewise.
47403         * sunrpc/getrpcport.c: Likewise.
47404         * sunrpc/key_call.c: Likewise.
47405         * sunrpc/key_prot.c: Likewise.
47406         * sunrpc/openchild.c: Likewise.
47407         * sunrpc/pm_getmaps.c: Likewise.
47408         * sunrpc/pm_getport.c: Likewise.
47409         * sunrpc/pmap_clnt.c: Likewise.
47410         * sunrpc/pmap_prot.c: Likewise.
47411         * sunrpc/pmap_prot2.c: Likewise.
47412         * sunrpc/pmap_rmt.c: Likewise.
47413         * sunrpc/rpc/auth.h: Likewise.
47414         * sunrpc/rpc/auth_unix.h: Likewise.
47415         * sunrpc/rpc/clnt.h: Likewise.
47416         * sunrpc/rpc/des_crypt.h: Likewise.
47417         * sunrpc/rpc/key_prot.h: Likewise.
47418         * sunrpc/rpc/netdb.h: Likewise.
47419         * sunrpc/rpc/pmap_clnt.h: Likewise.
47420         * sunrpc/rpc/pmap_prot.h: Likewise.
47421         * sunrpc/rpc/pmap_rmt.h: Likewise.
47422         * sunrpc/rpc/rpc.h: Likewise.
47423         * sunrpc/rpc/rpc_des.h: Likewise.
47424         * sunrpc/rpc/rpc_msg.h: Likewise.
47425         * sunrpc/rpc/svc.h: Likewise.
47426         * sunrpc/rpc/svc_auth.h: Likewise.
47427         * sunrpc/rpc/types.h: Likewise.
47428         * sunrpc/rpc/xdr.h: Likewise.
47429         * sunrpc/rpc_clntout.c: Likewise.
47430         * sunrpc/rpc_cmsg.c: Likewise.
47431         * sunrpc/rpc_common.c: Likewise.
47432         * sunrpc/rpc_cout.c: Likewise.
47433         * sunrpc/rpc_dtable.c: Likewise.
47434         * sunrpc/rpc_hout.c: Likewise.
47435         * sunrpc/rpc_main.c: Likewise.
47436         * sunrpc/rpc_parse.c: Likewise.
47437         * sunrpc/rpc_parse.h: Likewise.
47438         * sunrpc/rpc_prot.c: Likewise.
47439         * sunrpc/rpc_sample.c: Likewise.
47440         * sunrpc/rpc_scan.c: Likewise.
47441         * sunrpc/rpc_scan.h: Likewise.
47442         * sunrpc/rpc_svcout.c: Likewise.
47443         * sunrpc/rpc_tblout.c: Likewise.
47444         * sunrpc/rpc_util.c: Likewise.
47445         * sunrpc/rpc_util.h: Likewise.
47446         * sunrpc/rpcinfo.c: Likewise.
47447         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47448         * sunrpc/rpcsvc/key_prot.x: Likewise.
47449         * sunrpc/rpcsvc/klm_prot.x: Likewise.
47450         * sunrpc/rpcsvc/mount.x: Likewise.
47451         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47452         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47453         * sunrpc/rpcsvc/rex.x: Likewise.
47454         * sunrpc/rpcsvc/rstat.x: Likewise.
47455         * sunrpc/rpcsvc/rusers.x: Likewise.
47456         * sunrpc/rpcsvc/sm_inter.x: Likewise.
47457         * sunrpc/rpcsvc/spray.x: Likewise.
47458         * sunrpc/rpcsvc/yppasswd.x: Likewise.
47459         * sunrpc/rtime.c: Likewise.
47460         * sunrpc/svc.c: Likewise.
47461         * sunrpc/svc_auth.c: Likewise.
47462         * sunrpc/svc_authux.c: Likewise.
47463         * sunrpc/svc_raw.c: Likewise.
47464         * sunrpc/svc_run.c: Likewise.
47465         * sunrpc/svc_simple.c: Likewise.
47466         * sunrpc/svc_tcp.c: Likewise.
47467         * sunrpc/svc_udp.c: Likewise.
47468         * sunrpc/svc_unix.c: Likewise.
47469         * sunrpc/svcauth_des.c: Likewise.
47470         * sunrpc/xcrypt.c: Likewise.
47471         * sunrpc/xdr.c: Likewise.
47472         * sunrpc/xdr_array.c: Likewise.
47473         * sunrpc/xdr_float.c: Likewise.
47474         * sunrpc/xdr_mem.c: Likewise.
47475         * sunrpc/xdr_rec.c: Likewise.
47476         * sunrpc/xdr_ref.c: Likewise.
47477         * sunrpc/xdr_sizeof.c: Likewise.
47478         * sunrpc/xdr_stdio.c: Likewise.
47479
47480         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47481         handling.
47482
47483 2010-08-19  Andreas Schwab  <schwab@redhat.com>
47484
47485         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47486
47487 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
47488
47489         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47490         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47491         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47492         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47493         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47494         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47495         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47496         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47497         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47498         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47499         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47500         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47501         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47502         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47503
47504 2010-07-26  Anton Blanchard  <anton@samba.org>
47505
47506         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47507         * malloc/arena.c (heap_trim): Likewise.
47508
47509 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
47510
47511         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47512         here.  Not...
47513         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47514         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47515
47516 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
47517
47518         * sysdeps/i386/elf/Makefile: New file.
47519
47520 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47521
47522         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47523         from fanotify_init.
47524         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47525         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47526
47527 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
47528
47529         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47530         of strncasecmp_l.
47531         * sysdeps/multiarch/strcmp.S: Likewise.
47532
47533 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
47534
47535         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47536         strncase_l-nonascii.
47537         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47538         Add strncase_l-ssse3.
47539         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47540         * sysdeps/x86_64/strcmp.S: Likewise.
47541         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47542         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47543         * sysdeps/x86_64/strncase.S: New file.
47544         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47545         * sysdeps/x86_64/strncase_l.S: New file.
47546         * string/Makefile (strop-tests): Add strncasecmp.
47547         * string/test-strncasecmp.c: New file.
47548
47549         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47550         warning.
47551
47552         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47553         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47554
47555 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47556
47557         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47558
47559 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
47560
47561         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47562         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47563         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47564
47565 2010-05-01  Alan Modra  <amodra@gmail.com>
47566
47567         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47568         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47569         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47570         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47571         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47572         tidying.  Don't tail-call __sigjmp_save for static lib.
47573         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47574         save location.
47575         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47576         (CALL_MCOUNT): Add eh info, and nop after bl.
47577         (TAIL_CALL_SYSCALL_ERROR): New macro.
47578         (PSEUDO_RET): Use it.
47579         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47580         Correct save location of integer regs and cr.
47581         (_dl_profile_resolve): Correct cr save location.  Delete nops
47582         after bl when SHARED.  Reduce cfi size a little by better
47583         placement of cfi directives.
47584         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47585         make a stack frame.  Instead use parm save area as a temp.
47586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47587         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
47588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47589         Don't make a stack frame for parent, use parm save area.
47590         Increase child stack frame to 112 bytes.  Don't save unused reg,
47591         and adjust reg usage.  Set up cfi on error recovery and
47592         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47594         (__makecontext): Add dummy nop after jump to exit.
47595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47596         Use correct parm save area and cr save, reduce stack frame.
47597         Correct cfi for possible PSEUDO_RET frame setup.
47598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47599         Branch to local label emitted by PSEUDO_RET rather than
47600         __syscall_error.
47601
47602 2010-08-12  Andreas Schwab  <schwab@redhat.com>
47603
47604         [BZ #11904]
47605         * locale/programs/locale.c (print_assignment): New function.
47606         (show_locale_vars): Use it.
47607
47608 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
47609
47610         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47611         field.
47612         (struct statfs64): Likewise.
47613         (_STATFS_F_FLAGS): Define.
47614         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47615         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47616         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47617         (ST_VALID): Define locally.
47618         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47619         __statvfs_getflags, use the provided value.
47620         * sysdeps/unix/sysv/linux/kernel-features.h: Define
47621         __ASSUME_STATFS_F_FLAGS.
47622
47623         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47624
47625         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47626         Add sys/fanotify.h.
47627         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47628         fanotify_mask for GLIBC_2.13.
47629         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47630         fanotify_init and fanotify_mark.
47631         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47632         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47633
47634         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47635         Add prlimit.
47636         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47637         prlimit64 for GLIBC_2.13.
47638         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47639         prlimit64.
47640         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47641         syscall.
47642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47643         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47644         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47645         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47646         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
47647         add prlimit alias.
47648         * sysdeps/unix/sysv/linux/prlimit.c: New file.
47649
47650         [BZ #11903]
47651         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47652         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47653
47654         * nss/Makefile: Add rules to build and run tst-nss-test1.
47655         * shlib-versions: Add entry for libnss_test1.
47656         * nss/nss_test1.c: New file.
47657         * nss/tst-nss-test1.c: New file.
47658
47659         * nss/nsswitch.c (__nss_database_custom): Define new variable.
47660         (__nss_configure_lookup): Set appropriate entry in
47661         __nss_configure_lookup to true.
47662         * nss/nsswitch.h: Define enum with indeces of databases in
47663         databases and __nss_database_custom arrays.  Declare
47664         __nss_database_custom.
47665         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47666         to avoid using nscd when custom rules are installed.
47667         * nss/getXXbyYY_r.c: Likewise.
47668         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47669
47670         * nss/nss_files/files-parse.c: Whitespace fixes.
47671
47672 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
47673
47674         [BZ #11883]
47675         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47676         * posix/fnmatch_loop.c: Likewise.
47677
47678 2010-07-17  Andi Kleen  <ak@linux.intel.com>
47679
47680         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47681         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47682         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47683         * Versions.def [GLIBC_2.13]: Add.
47684
47685 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
47686
47687         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47688         Also fail if tpwd after pwuid call is NULL.
47689
47690 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47691
47692         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47693         when converting to ms.
47694
47695 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47696
47697         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47698         EOPNOTSUPP errors with ENOTTY.
47699         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47700         EOPNOTSUPP errors with ENOTTY.
47701
47702 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
47703
47704         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47705         Add strcasecmp_l-ssse3.
47706         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47707         strcasecmp.
47708         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47709         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47710         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47711
47712 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
47713
47714         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47715
47716         * string/Makefile (strop-tests): Add strcasecmp.
47717         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47718         strcasecmp_l-nonascii.
47719         (gen-as-const-headers): Add locale-defines.sym.
47720         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47721         * sysdeps/x86_64/strcasecmp.S: New file.
47722         * sysdeps/x86_64/strcasecmp_l.S: New file.
47723         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47724         * sysdeps/x86_64/locale-defines.sym: New file.
47725         * string/test-strcasecmp.c: New file.
47726
47727         * string/test-strcasestr.c: Test both ends of the range of characters.
47728         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47729
47730 2010-07-29  Roland McGrath  <roland@redhat.com>
47731
47732         [BZ #11856]
47733         * manual/locale.texi (Yes-or-No Questions): Fix example code.
47734
47735 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
47736
47737         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47738         for ld.so.
47739
47740 2010-07-27  Andreas Schwab  <schwab@redhat.com>
47741
47742         * manual/memory.texi (Malloc Tunable Parameters): Document
47743         M_PERTURB.
47744
47745 2010-07-26  Roland McGrath  <roland@redhat.com>
47746
47747         [BZ #11840]
47748         * configure.in (-fgnu89-inline check): Set and substitute
47749         gnu89_inline, not libc_cv_gnu89_inline.
47750         * configure: Regenerated.
47751         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47752
47753 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
47754
47755         * string/test-strnlen.c: New file.
47756         * string/Makefile (strop-tests): Add strnlen.
47757         * string/tester.c (test_strnlen): Add a few more test cases.
47758         * string/tst-strlen.c: Better error reporting.
47759
47760         * sysdeps/x86_64/strnlen.S: New file.
47761
47762 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
47763
47764         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47765         lower-latency instructions.
47766
47767 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
47768
47769         * string/test-strcasestr.c: New file.
47770         * string/test-strstr.c: New file.
47771         * string/Makefile (strop-tests): Add strstr and strcasestr.
47772         * string/str-two-way.h: Don't undefine MAX.
47773         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47774
47775 2010-07-21  Andreas Schwab  <schwab@redhat.com>
47776
47777         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47778         strcasestr-nonascii.
47779         (CFLAGS-strcasestr-nonascii.c): Define.
47780         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47781         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47782         Remove unused attribute.
47783
47784 2010-07-20  Roland McGrath  <roland@redhat.com>
47785
47786         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47787         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
47788         ld.so.cache was broken.  With it, there is no way to disable dsocaps
47789         like LD_HWCAP_MASK can disable hwcaps.
47790
47791 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47792
47793         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47794
47795 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
47796
47797         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47798         call in strcasestr.
47799         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47800         __strcasestr_sse42_nonascii.
47801         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47802         strcasestr-nonascii.c.
47803         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47804
47805 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
47806
47807         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47808         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47809         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47810         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47811
47812 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
47813
47814         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47815         fcntl.
47816
47817 2010-07-06  Andreas Schwab  <schwab@redhat.com>
47818
47819         [BZ #11577]
47820         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47821         dl_signal_cerror.
47822
47823 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
47824
47825         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47826         _PC_PIPE_BUF using F_GETPIPE_SZ.
47827
47828 2010-07-05  Roland McGrath  <roland@redhat.com>
47829
47830         * manual/arith.texi (Rounding Functions): Fix rint description
47831         implicit in round description.
47832
47833 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
47834
47835         * elf/Makefile: Fix linking for a few tests to make recent linker
47836         happy.
47837
47838 2010-06-30  Andreas Schwab  <schwab@redhat.com>
47839
47840         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47841         $(common-objpfx)libc_nonshared.a.
47842
47843 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
47844
47845         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47846         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47847         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47848         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47849         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47850         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47851         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47852         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47867         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47868         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47869         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47870         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47871         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47872         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47873         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47874         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47875         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47876         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47877         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47878         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47893
47894 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
47895
47896         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47897         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
47898         * string/memmove.c (memmove): Renamed to ...
47899         (MEMMOVE): ...this.  Default to memmove.
47900         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47901         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47902         (END_CHK): Define.
47903         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47904         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47905         mempcpy-ssse3-back memmove-ssse3-back.
47906         * sysdeps/x86_64/multiarch/bcopy.S: New file .
47907         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47908         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47909         * sysdeps/x86_64/multiarch/memcpy.S: New file.
47910         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47911         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47912         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47913         * sysdeps/x86_64/multiarch/memmove.c: New file.
47914         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47915         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47916         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47917         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47918         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47919         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47920         Define.
47921         (index_Fast_Copy_Backward): Define.
47922         (HAS_ARCH_FEATURE): Define.
47923         (HAS_FAST_REP_STRING): Define.
47924         (HAS_FAST_COPY_BACKWARD): Define.
47925
47926 2010-06-21  Andreas Schwab  <schwab@redhat.com>
47927
47928         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47929         Restore proper fallback handling.
47930
47931 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
47932
47933         [BZ #11701]
47934         * posix/group_member.c (__group_member): Correct checking loop.
47935
47936         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47937         OOM in getpwuid_r correctly.  Return error number when the caller
47938         should return, otherwise -1.
47939         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47940         call returning > 0 value.
47941         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47942
47943 2010-06-07  Andreas Schwab  <schwab@redhat.com>
47944
47945         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47946         libc_nonshared.a from targets in modules-names.
47947
47948 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
47949
47950         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47951         requires it.
47952
47953 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
47954
47955         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47956         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47957         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47958         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47959
47960 2010-06-02  Andreas Schwab  <schwab@redhat.com>
47961
47962         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47963
47964 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
47965
47966         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47967         and F_GETPIPE_SZ.
47968         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47969         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47970         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47971         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47972         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47973         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47974
47975 2010-06-14  Roland McGrath  <roland@redhat.com>
47976
47977         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47978
47979 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
47980
47981         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47982         __REDIRECT followed by __THROW.
47983         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47984         * posix/getopt.h (getopt): Likewise.
47985
47986 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47987
47988         * hurd/lookup-at.c (__file_name_lookup_at): Accept
47989         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
47990         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47991         in AT_FLAGS.
47992         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47993         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47994
47995 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
47996
47997         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47998
47999 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
48000
48001         [BZ #11640]
48002         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48003         Properly check family and model.
48004
48005 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
48006
48007         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48008
48009 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
48010
48011         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48012
48013 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
48014
48015         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48016         symbol reference.
48017
48018 2010-05-19  Andreas Schwab  <schwab@redhat.com>
48019
48020         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48021         symbol reference.
48022
48023 2010-05-21  Andreas Schwab  <schwab@redhat.com>
48024
48025         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48026         and internal_recvmmsg.
48027         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48028         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48029         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48030         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48031
48032         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48033         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48034         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48035
48036 2010-05-20  Andreas Schwab  <schwab@redhat.com>
48037
48038         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48039
48040 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
48041
48042         POWER7 optimizations.
48043         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48044         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48045
48046 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
48047
48048         * version.h: Update for 2.13 development version.
48049
48050 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
48051
48052         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48053         exceptions.  Return 0.
48054
48055 2010-05-07  Roland McGrath  <roland@redhat.com>
48056
48057         * elf/ldconfig.c (main): Add a const.
48058
48059 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
48060
48061         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48062         (args_options): Add no-idn option.
48063         (ahosts_keys_int): Add idn_flags to ai_flags.
48064         (parse_option): Handle 'i' option to clear idn_flags.
48065
48066         * malloc/malloc.c (_int_free): Possible race in the most recently
48067         added check.  Only act on the data if no current modification
48068         happened.
48069
48070 See ChangeLog.17 for earlier changes.